CoolUtils Logo
Welcome! Log In Create A New Profile

Advanced

Total PDF Printer X hangs when called from service

Posted by Fritz Walter 
Hey there

I'd like to use Total PDF Printer X from a Windows Service. The application is started, but the process hangs without printing anything. Am I doing something wrong?

I tried the same piece of code from a console application and everything works as expected. I guess it has something to do with being in a service application, but as I've seen it from the page, it should be used in services.

Any help is appreciated

Thanks, Fritz


PS.: System is Window 7 64bit, but i also tested to run the service as 32bit application without success.
Re: Total PDF Printer X hangs when called from service
February 03, 2012 10:07AM
Dear Fritz Walter,

Thank you for inquiry!

Could you, please, inform whether axPDFPrintDev.exe works or not?

Please, also send us the example of the file which you are trying to print. Our e-mail address is support@coolutils.com.

Thank you in advance.

--
Best regards,
Mary Thorton
CoolUtils Support
www.coolutils.com
support@CoolUtils.com
Hi

Thanks to the axPDFPrintDev.exe, I could find the problem. Issue solved.

Thanks
Hi,

I've the same problem when running PDFPrinter.exe from a window service.
What's that axPDFPrintDev.exe? I don't see it installed on my pc.

Thanks,
Sander
Re: Total PDF Printer X hangs when called from service
April 20, 2012 03:22PM
Dear Sander Geuting,

You need Total PDF Printer X: [www.coolutils.com]

Feel free to contact me with any questions or concerns about CoolUtils
tools. I will be glad to help you.

Follow us on Twitter to get latest updates [twitter.com]

--
Best regards,
Mary Thorton
CoolUtils Support
www.coolutils.com
support@CoolUtils.com
URGENT

I've exactly the same issue. We're using PDFPrinterX dll library . Below is our code. Process just hangs at pPrinter.print

Dim printer As String = "SHARP MX-4500N PCL6"
Dim pPrinter As New PDFPrinter.PDFPrinterX
pPrinter.Print(exportPDF, printer, "-rn 1 -bn 1"winking smiley
pPrinter.Print(exportPDF, printer, "-rn 2-6 -bn 2"winking smiley

The same code is used in a win form app, and the printing was great.
axPDFPrintDev.exe also printed without any errors.

Please advice!!!

Thanks
Re: Total PDF Printer X hangs when called from service
May 30, 2012 06:51AM
Dear Johnson,

Thank you for inquiry!

Please, add the followong option:

-log c:\log\log.txt

and send us a log file. Our e-mail address is support@coolutils.com

Thank you in advance.

--
Best regards,
Mary Thorton
CoolUtils Support
www.coolutils.com
support@CoolUtils.com
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: