No difference when using OPEN PRINTING JOB.
It doesn’t appear to be related to WP PRINT specifically because I’m also
getting bad PDFs generated when trying similar code like
OPEN PRINTING JOB
PRINT SELECTION (tableptr->;*) //also tried with ;> and no 2nd
parameter
CLOSE PRINTING JOB
It fails on both a Windows 10 machine and a Windows 7 machine. No clue why.
Other PDF drivers are working fine and producing better PDFs anyhow, so I’m not
going to worry about it at the moment.
It totally appears to be an Acrobat PDF issue right now, so I’m moving on.
Thanks,
Randy
----------------------------------------------------------------------
Randy Jaynes
Senior Programmer and Customer Support
http://printpoint.com <http://printpoint.com/> • 845.687.3741 • PrintPoint, Inc
• 57 Ludlow Lane • Palisades, NY 10964
Please send all email contacts to [email protected]
<mailto:[email protected]>
> On Jun 20, 2018, at 12:38 PM, Timothy Penner <[email protected]
> <mailto:[email protected]>> wrote:
>
> It doesn’t look like you are using a printing job.
> http://doc.4d.com/4Dv15/4D/15.6/OPEN-PRINTING-JOB.301-3818590.en.html
> <http://doc.4d.com/4Dv15/4D/15.6/OPEN-PRINTING-JOB.301-3818590.en.html>
>
> Does using one make any difference?
>
> GET PRINT OPTION(Destination
> option;$saveDestination;$savePath)
> SET PRINT OPTION(Destination option;2;$tFullDocumentPath)
>
> OPEN PRINTING JOB
> WP PRINT($WriteArea;wk 4D Write Pro layout)
> CLOSE PRINTING JOB
>
> SET PRINT OPTION(Destination
> option;$saveDestination;$savePath)
>
> I am not sure if it will help with the corrupt PDF or not, but encapsulating
> the print operation in a printing job has been the suggested way of printing
> since v11.
>
> -Tim
>
>
>
>
> Timothy Penner
> Senior Technical Services Engineer
> Email: [email protected] <mailto:[email protected]>
> Web: www.4D.com <http://www.4d.com/>
> 4D Inc
> 95 S. Market Street, Suite #240
> San Jose, CA 95113
> United States
> Telephone: +1-408-557-4600
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************