Documents remain in print queue after PDF is created

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
Michael Reye
Posts: 1
Joined: Wed Jan 29 2003

Documents remain in print queue after PDF is created

Post by Michael Reye »

Using the ActiveX interface, I am able to create a separate printer instance and create my PDF file.

But after the document is created, I noticed that the default Amyuni PDF Converter printer driver has the document queued in its list.

My code calls both the driverend and setdefaultprinter functions when the pdf is created. How can I get rid of these residual copies?
[/code]
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello Michael,

When printing ends you need to set the FileNameOptions to 0 and call DriverEnd.
Why are you calling SetDefaultPrinter? This function should be called when initializing the printer to set it as default.

Are you creating a different instance of the PDF Printer for each print job? Please note that if you are installing the PDF Printer by calling PDFDriverInit, this function should be called once, when launching your application and not each time you print.

Hope this helps.
Post Reply