I resolved my previous error with Samba File Server with copy to C: the source file and so I generate correctly the pdf.
But now, I have another customer with this configuration :
- PCs with Windows 98 and 2000 with IE6.0SP1
- Amyuni PDF Converter 2.10e
- Others PDF generator : 5D PDF and Apple PDF Writer
- Source file on C: local disk
- LPT1 connect to Share Printer Queue
On every PC I have StartDoc error with this code (return FALSE):
Code: Select all
...... PDFDriverInit & DriverInit & EnablePrinter .....
...... Setting of hDevMode with OpenPrinter & GetPrinter .....
HDC hDevice = CreateDC("Amyuni Document Converter 2.10","MyPrinter","LPT1:",&hDevMode);
if (hDevice == NULL)
return FALSE;
DOCINFO hDocInfo;
ZeroMemory(&hDocInfo,sizeof(DOCINFO));
hDocInfo.cbSize = sizeof(hDocInfo);
hDocInfo.lpszDocName = szBuffer;
EnablePrinter(hPDFPrinter,"MyCompany","MyCode");
return (StartDoc(m_hDevice,&hDocInfo) > 0);
Any suggestion?!?
Thanks
Fabrizio Lovison