1801 Err from inside VB6.0

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
cedwards105
Posts: 1
Joined: Thu Sep 11 2008

1801 Err from inside VB6.0

Post by cedwards105 »

We are using PDF Converter from inside of Visual Basic 6.0 to create PDF documents from our reports and documents.

Inside our application we create the printer driver, on the fly as needed, and remove when finished. This works great on all computers where we have manually installed pdfdrv300.exe.

We are now trying to distribute our Visual Basic Application to our first client.

When we package and distribute our application, including CDINTF300.DLL, we get a printer error 1801 when using AmyUni functionality from inside our application. Even after we install our application and try and manually REGSVR32 CDINTF400.DLL, we still have the problem.

On a test computer, inhouse, the only way to get past this problem seems to be install PDFDRV300.EXE and manually provide our licence information, manually, through the AmyUni install process.

What are we missing?

Thanks
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: 1801 Err from inside VB6.0

Post by Joan »

I will add here the answer you got from our support team in case some other users are facing the same issue.

"The error code 1801 message occurs when installing a printer for the first time and/or the printer name does not exist in the printer's folder. This should be considered as a notification and not an error message.

Also as a recommendation, the installing/uninstalling of the PDF Converter should not be done on each print job (lost of performance) but rather when your application first loads. We would suggest that you permanently install the PDF Converter on the user system and replace the PDFDriverInit() call in your application with the DriverInit() call. The DriverInit() will not install a printer driver but rather will give you access to the printer handle."
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply