Nope - just DBBMAIN6.PDF
 
 
David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261
----- Original Message -----
Sent: Tuesday, July 13, 2004 7:44 PM
Subject: [RBG7-L] - Re: Problems printing to PDF

David,
Leave the .pdf out of the file name.
It will append pdf to it.
I wonder if your actual file name is DBBmalNV66.pdf.pdf
Bernie Lis
----- Original Message -----
Sent: Monday, July 12, 2004 2:32 PM
Subject: [RBG7-L] - Problems printing to PDF

The following code prints a PDF file of an invoice in 7.1.  The PDF file gets created, I can open the file successfully here with both Adobe 5.1 and 6.0 readers, and with Adobe Acrobat 6.0. However, Acrobat can't convert it to RTF giving this error:
 
Bad PDF: could not read page structure (bad page contents)
 
Many people I've sent these files to cannot open the file at all withe Adobe reader.
 
The code:
 
SET VAR vFileName = ('C:\Documents and Settings\David Blocker\My Documents\'+
+'DB'+.vCPID+'INV'+CTXT(.vINV#)+'.'+'PDF')
 
SET VAR vOptions = ('Filename'&.vFileName)
PRINT INVOICE WHERE CPID = .vCPID AND BILL IS NULL ORDER BY InvoiceDate T# +
OPTION PDF|.vOptions
It creates a file like "DBBmaINV66.PDF"
 
Any suggestions?
 
David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261

Reply via email to