Error initializing print options. Error code:1392

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

DynamicPDF PrintManager for .NET (v4) Forum

We are getting the below error for a specific printer. The issue is happening randomly so we are not sure any issue is with the printer.

ceTe.DynamicPDF.Printing.PrintingException: Error initializing print options. Error code:1392    
at ceTe.DynamicPDF.Printing.PrintJobPrintOptions..ctor(PrintJob )    
at ceTe.DynamicPDF.Printing.PrintJob..ctor(String printerName, String pdfFileName)    
PrintingException: Error initializing print options. Error code:1392

Printer details
Canon iR-ADV 4045/4051 Class Driver (version 10.0.14393.0)
Posted by a ceTe Software moderator
Hi,

The error code 1392 indicates that, a file or directory is corrupted and unreadable. It could be due to bad sectors on a hard drive, or the driver installation could be corrupted.  Try reinstalling the printer driver and see it resolves issue on your end.

PrintManager sends the printjobs to locally installed printer driver and it is up to the spooler to handle the printing. It seems like the spooler malfunction is causing PrintManager to error out. The spooler could malfunction due to various reasons like print driver or OS issues etc. 

If you continue facing an issue, please send over the following information to support@dynamicpdf.com so we can look into it further.

1.        Code sample which uses static data to recreate error.
2.        Full error message along with stack trace.
3.        Are you getting error while printing a specific PDF?
4.        Send over a problematic PDF.
5.        Printer information: Name, version of printer driver and a link to download this specific printer driver will help us to test this issue.
6.        Exact version and build number of the DynamicPDF PrintManager DLL file used in your application. You can get this information by right clicking on the PrintManager DLL file>>Properties>>Details tab>>Product version. Take a screenshot of Details tab and send it over to us.
7.        Try printing the PDF on another printer and let us know the result.

Thanks,
ceTe Software Support Team
Please find the details below

1. We are not getting error for a specific PDF. This is happening
randomly
2. Same PDF is getting printed if we try reprinting.
3. Printer is a canon printer. Please find the driver details below
Canon iR-ADV 4045/4051 Class Driver (version 10.0.14393.0)

ceTe.DynamicPDF.Printing.40.x64  (Version 2.0.2.27188)

 
Posted by a ceTe Software moderator
Hello,

After look into the information you provided, it looks like the issue is caused by the printer or its driver and is not due to a bug in the PrintManager.

PrintManager is passing on the error it received from the spooler (while creating the PrintJob) to your application.  It seems like a spooler malfunction is causing PrintManager to error out as well. The Spooler could malfunction due to various reasons like print driver or OS issues etc. However, it is highly unlikely that PrintManager is causing the error.

Also please try using the latest version and see it resolves your issue. You can download latest version from NuGet (Package ID: ceTe.DynamicPDF. Printing.NET) or from our website here.

Thanks,
ceTe Software Support Team

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