Access cdintf300.dll

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
tomywu
Posts: 13
Joined: Fri Jul 04 2008

Access cdintf300.dll

Post by tomywu »

Dear,

How can a restricted user access the ActiveX component cdintf300.dll? Our application got error when a restricted user call the initial printer driver function.

Please help. Thanks!

Regards,
Tomy
tomywu
Posts: 13
Joined: Fri Jul 04 2008

Re: Access cdintf300.dll

Post by tomywu »

Dear,

I figure out the root cause of the problem and found out that Window XP restricted user cannot add a new printer. So I suppose need to use DriverInit and point it to "Amyuni PDF converter" instead of using PDFDriverInit. However, I found that when I use Driverinit/PDFDriverinit function and point it to "Amyuni PDF converter", the pdf content is distorted. (No problem found when I use PDFDriverInit and point it to a new printer)

Please help.

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

Re: Access cdintf300.dll

Post by Joan »

Hello,

You can not use DriverInit/PDFDriverInit

PDFDriverInit will install a printer for the time your application is running and the printer is removed when you application closes while DriverInit will attach to an existing printer.

You can install the printer using our Installer and then in your application call DriverInit() once when launching your application (and not each time you print).

This should work.
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
tomywu
Posts: 13
Joined: Fri Jul 04 2008

Re: Access cdintf300.dll

Post by tomywu »

Hi Joan,

Thanks for your reply.
I have tried to install the install.exe file and attach the printer "Amyuni PDF converter". However, when I tried to generate PDF file with DriverInit, the file size get much larger and the PDF is full of unrecognized characters. I didn't have such issue with PDFDriverInit attach with a new printer.

Pls help. Thanks
tomywu
Posts: 13
Joined: Fri Jul 04 2008

Re: Access cdintf300.dll

Post by tomywu »

Hi,

I found that the PDF file properties are different between using DriverInit and PDFDriverInit. May I know what properties should I set with DriverInit in order to get the properties of PDFDriverInit? I am using 3.02 version and develop with PowerBuilder.


Thanks and Regards,
Tomy
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Access cdintf300.dll

Post by Joan »

The file settings are the same whether you use PDFDriverInit or DriverInit.

When using PDFDriverInit() you are installing a new printer, configuring it and printing to it.

When using DriverInit() you are using an already installed printer, you may configure it or you may be using its existant configuration and then printing to it.

When using DriverInit() make sure to set the settings you want and to call SetDefaultConfig() for these settings to take effect.

Hope this helps.
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