Upgrade driver

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
mrtflv
Posts: 21
Joined: Tue Apr 20 2004

Upgrade driver

Post by mrtflv »

The PdfDriverInit will install a new printer if it doesn't exist.
Today my applications are using the cdintf version 2.10i-8.
If i change my programs to use the new cdintf 2.50, what have i to do to upgrade all the client workstation, without using the install -u.
If i copy all the new dll and run on a pc without the 2.10i the new 2.50 will be installed with the call to PdfDriverInit, but if a version 2.10i exist on the pc the 2.50 won't install.
Do you have any idea ?
Thanks
Flavio
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Here is how PDFDriverInit works:

When you call: PDFDriverInit "My Printer", this function will search for a printer called "My Printer" on your system, if found it will try to attach to it, if no found it will try to install it.

To upgrade to version 2.50, you need to remove version 2.10 first than install the new 2.50.
To this you can either use Install -u from the command prompt or you can write a batch file that calls Install -u and then calls PDFDriverInit and DriverInit so the printer stays on the system and is not removed when you close your application.

Hope this helps.
mrtflv
Posts: 21
Joined: Tue Apr 20 2004

Post by mrtflv »

Will it be possible in a future that the PdfDriverInit will upgrade the driver related to the printer that it's' trying to install whenever a new driver is available and not only install the first time.
For now i have solved registering the release of the cdintf in the user registry and whenever a new cdint is available i will call
PDFDriverInit followed by DriverEnd this will remove the old Printer and the next PdfDriverInit will install the new drivers.
Post Reply