We are using the Doc2Any component in one of our applications. We are making a call to convert a report to PDF through the a pinvoke method within your library using the following declaration: __declspec(dllexport) int WINAPI DocToAnyRunCmd(const char *lpszCmdLine);
On the first call to the API, Doc2Any attempts to create a PostScript printer for the purpose of converting the document to PDF. During the creation of the printer, Doc2Any causing the following Windows Error: "Operation could not be completed (error 0x00000705). Windows cannot locate a suitable printer driver. Contact your administrator for help locating and installing a suitable driver." The error occurs on more than one machine. In fact, second Windows 7 machine we attempted a report conversion causing the installation of 2 PostScript printers. For some reason the second printer was bound to the LPT1 port.
It is urgent we resolve this issue as soon as possible since the release of the software depends on this component. We have purchased a license.
==================================================
Attached is the Windows Error Message:
Binary Versions used within the application.
DOC to Any Converter Command Line Version: 2.2.0.1
VeryPDF Advanced PDF Tools Version: 2.5.1.1
cimage.dll Version: 5.9.9.1
==================================================
We suggest you may use Administrator privilege to run PDF to Vector SDK to try again, the Administrator privilege will work better for you.
==================================================
We are running as an administrator with UAC disable. After the error occurs, the printer does appear and seems to work on some machines but not others.
What printers need to be present in order for the Doc2Any to work correct?
==================================================
We are look for following drivers on Windows system, if your system has one of following drivers, our pdf2vec.exe will work properly,
"HP Color LaserJet 4550 PS", //good on WinXP, support zero margin, paper size
"HP Color LaserJet 2800 Series PS", //good on Win 7
"MS Publisher Color Printer", //good on Vista
"HP Color LaserJet 8500 PS",
"HP Color LaserJet 8550-PS",
"Gestetner MP 8000 PS",
==================================================
If the "MS Publisher Color Printer" is used for Vista Machines, why does Doc2Any use this driver on Windows 7? Shouldn't Doc2Any be using the "HP Color LaserJet 2800 Series PS" driver instead? This seems like an issue within your software.
It there a way of manual installing this driver? How does Doc2Any determine which printer driver to use? We need to get this issue resolved ASAP!!
==================================================
Thanks for your message, you can manual install a Postscript Printer Driver based on "HP Color LaserJet 2800 Series PS" first, and rename it to "VeryPDF Postscript Writer", when you run doc2any.exe to convert DOC file to PDF file again, doc2any.exe will use your installed Postscript Printer Driver automatically.