Hi,
our app uses an OLE-Connection to PXCComLib7.CPXCControlEx and creates a printer with .Printer using our license key.
Some option are being set and than our document is printed using the printer name of the created printer to create the pdf.
It works without problem. We use version 9.0.352.
But on the server machine of one customer, sometimes the pdf file ist not generated.
We print with the printer name of the dynamically created printer but nothing happens and our applications runs into a timeout waiting for the pdf to be generated.
Next time started it works as intended with the same settings etc.
Is there some type of "debug" mode or a log file of the pdf-xchange printer driver, so we can find out, if the printer driver is doing something or what went wrong.
Or is there any hint, what could cause this problem.
Thanks in advance.
PDF is not generated
Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Stefan - PDF-XChange
-
- Site Admin
- Posts: 10998
- Joined: Wed Jan 03, 2018 6:52 pm
Re: PDF is not generated
Hello, Chris444
Sadly there is no inbuilt logging mechanism for the release version, but I do have a few questions from the Dev team.
1. Can you update to 10.6 and see if the issue persists in the latest version?
2. Which event specifically are you waiting for when the timeout happens? Only "OnFileSaved", or do also check for "OnError"? Any others?
Kind regards,
Sadly there is no inbuilt logging mechanism for the release version, but I do have a few questions from the Dev team.
1. Can you update to 10.6 and see if the issue persists in the latest version?
2. Which event specifically are you waiting for when the timeout happens? Only "OnFileSaved", or do also check for "OnError"? Any others?
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 10
- Joined: Tue Aug 30, 2022 11:18 am
Re: PDF is not generated
Hi,
we do not wait for a special event.
We create a dynamic printer (eg "ourprinter23") as mentioned and set some options like format, path, filename etc. Then we just print our document in our app using printername "ourprinter23". After triggering the print command we wait up to 2 minutes while checking, if the pdf file was generated in the given path. But the pdf file will not be generated. Not after two minutes and not after that time.
we do not wait for a special event.
We create a dynamic printer (eg "ourprinter23") as mentioned and set some options like format, path, filename etc. Then we just print our document in our app using printername "ourprinter23". After triggering the print command we wait up to 2 minutes while checking, if the pdf file was generated in the given path. But the pdf file will not be generated. Not after two minutes and not after that time.
-
- Site Admin
- Posts: 10998
- Joined: Wed Jan 03, 2018 6:52 pm
Re: PDF is not generated
Hello, Chris444
In that case, it would be best to open the PDFSaver utility to enable retention of Tmp files, and see if any are generated. If they are you can either check them yourself, or pass them over to us, for our devs to take a look.
This article details when to enable and locate these for our end user products, and the process should be similar for our sdk products.
Kind regards,
In that case, it would be best to open the PDFSaver utility to enable retention of Tmp files, and see if any are generated. If they are you can either check them yourself, or pass them over to us, for our devs to take a look.
This article details when to enable and locate these for our end user products, and the process should be similar for our sdk products.
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com