Error initializing print options. Error code:0

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF PrintManager for .NET (v3)  /  Error initializing print options. Error code:0

DynamicPDF PrintManager for .NET (v3) Forum

Hi,

We get Error initializing Print Options to print to a networked printer, but the error appears at first connection, after a few attemps it works normallu;

PrintJob printJob = new PrintJob("printserver\\printer");

What may be the cause of the error?

Thanks in advance.
Posted by a ceTe Software moderator
Hello,

DynamicPDF PrintManager uses the Microsoft Win32 API to set or retrieve the printer properties programmatically. It looks like the printer driver you specified in the code is not active or responding to the PrintManager API, when it tries to retrieve the default printer settings. This might be the reason for this error.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 10:10 PM.