pdfprint can not find printer when run it from Local System user account

Hello,

I have a problem with pdfprint...

When I call pdfprint.exe with this command from the command - line:

C:\programme\pdfprint_cmd\pdfprint.exe "-$" "XXXXXXXXXXX" -winfont -debug -printer "G11009960_SAP_HPLJM452_TST1" -printtofile c:\jobs\xout1.txt c:\jobs\x.pdf

the program works fine, no problem.

When I start the program from a other program, I receive the message:

Can't locate the ""G11009960_SAP_HPLJM452_TST1"" printer in this computer, please double check the printer name and to try again.
returning with exit code 0xfffffffc

The pdfprint version is 3.80 and is running on a Windows Server 2016.

The same combination (calling program / called program) works on Windows 2008 R2 without any problem, but with version 3.50.

I don't think that is a problem from pdfprint, but perhaps you have an idea what the problem could be.

Thank you for your help.

Regards
Customer
---------------------------------------------------

image

https://www.verypdf.com/app/pdf-print-cmd/index.html

Maybe your calling program ran inside "Local System" user account, please arrange pdfprint.exe run inside an normal user account, because some printers are not work properly inside the "Local System" user account, you have to run pdfprint.exe from an interactive user account to locate all printers properly.

VeryPDF
---------------------------------------------------
Hello,

that was the solution, now it works.

Thank you for your help.
Customer

School See Also:

How do I call pdfprint from Windows Service or Local System to print the PDF file to network printer?
https://www.verypdf.com/wordpress/201109/how-do-i-call-pdfprint-from-windows-service-or-local-system-to-print-the-pdf-file-to-network-printer-2310.html

How to run pdfprint.exe from PHP and Windows Service on a dedicated server? pdfprint command line can not be run from Local System User Account,
https://www.verypdf.com/wordpress/201609/how-to-run-pdfprint-exe-from-php-and-windows-service-on-a-dedicated-server-pdfprint-command-line-can-not-be-run-from-local-system-user-account-43029.html

Privileges required to print PDF files from Local System or Local Service accounts,
https://www.verypdf.com/wordpress/201602/privileges-required-to-print-pdf-files-from-local-system-or-local-service-accounts-42230.html

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!