Posted by a ceTe Software moderator
Hi,
The error code 5 is a windows error and indicates permission issues. The printer to which you are trying to print is not accessible to the application.
Please make sure the printer to which you are printing is accessible by the application. Also install the respective printer driver on the system or the server where in application is running.
You can get the list of printers to which you can print using GetLocalPrinters method. Please refer to the documentation on getting list of installed printers
here.
Please note that it is not possible to print the PDF documents on client's machine using our DynamicPDF PrintManager product. The DynamicPDF PrintManager component will only print on the server side if it is used in web application as it has no access to the client's printer.
Thanks,
ceTe Software Suppprt Team