Developer Document Converter - Timeout after EnablePrinter

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
rkkis
Posts: 1
Joined: Thu Aug 14 2003

Developer Document Converter - Timeout after EnablePrinter

Post by rkkis »

Our Problem:

Case 1:
PDFDriverInit ..
EnablePrinter with Developer Evaluation Key

Application works for supply of the data < 20 seconds
->printing -> ok

Case 2:
PDFDriverInit ..
EnablePrinter with Developer Evaluation Key

Application works for supply of the data > 20 seconds
->printing -> cannot open printer !!!

Is the printer put back automatically or wthats the problem?

Bye
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hi,

The enableprint() function should be called each time you send output to the Pdf Converter.

Ex: if you are printing in a loop, you should call the enableprinter function in the loop.

Hope this helps.
MarkXssl
Posts: 10
Joined: Fri Aug 15 2003
Location: UK

Post by MarkXssl »

I had a similar problem to this where the same report would sometimes create a PDF file and sometimes not depending on how long the querying of data took between doing the EnablePrint and the first output to the printer.

I got round it by moving the EnablePrint so that it was called after the data query and before the printing started.

Regards,

Mark Laybourne
Post Reply