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
Upgrade driver
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.
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.
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.
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.