Hello,
I upgraded to PDF Converter Version 2.10b (Developer) and I follow all the steps from Common Driver Interface 2.10 but when I try to use the DriverInit method, this fails and I get no error.
Dim printer As New CDIntfEx.CDIntfEx
Dim hPrinter As Long
hPrinter = printer.DriverInit("Consolidate PDF Printer")
If hPrinter = 0 Then
MsgBox printer.GetLastErrorMsg
End If
I tried to use the Visual C++ 6.0 but when I include "CDIntf210.h" I get this error:
error C2733: second C linkage of overloaded function 'SetDefaultPrinterA' not allowed
cdintf210.h(91) : see declaration of 'SetDefaultPrinterA'
Could you please advise,
thank you.
Regards,
Aurelian Georgescu
DriverInit problems in Developer Version
Hello,
You can run Install "Consolidate PDF Printer" to install this printer on your system.
Then you can right click on the printer and choose Printing Preferences than click on the square with 3 dots on it to activate the printer using the license to and Activation code you have.
Concerning the failing of DriverInit, please check that a printer called "Consolidate PDF Printer" exists on your system and is activated before calling DriverInit.when I try to use the DriverInit method, this fails and I get no error.
You can run Install "Consolidate PDF Printer" to install this printer on your system.
Then you can right click on the printer and choose Printing Preferences than click on the square with 3 dots on it to activate the printer using the license to and Activation code you have.
Please use SetDefaultPrinter and not SetDefaultPrinterAerror C2733: second C linkage of overloaded function 'SetDefaultPrinterA' not allowed