Hi,
i'm trying to save invoices to PDF file with the EPSendDocument object.
But i can't find a way to set the printer. When the makeDocument method is called, i get a "printer is not installed" infolog error.
Here's my code:
EPSendDocument sendDocument;
CustInvoiceJour custInvoiceJour;
Filename filename;
;
select firstonly custInvoiceJour;
filename = WinAPI::getTempPath() +’MyInvoice.pdf’;
sendDocument = new EPSendDocument(custInvoiceJour);
sendDocument.parmOriginal(true);
sendDocument.parmFileName(filename);
sendDocument.makeDocument();
Thank you in advance
ciao
*This post is locked for comments