Re: Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Robert McKeever via 4D_Tech
This is what I do: SET CURRENT PRINTER(<>FormPrinter)` where <>FormPrinter is "Microsoft Print to PDF" SET PRINT OPTION(Destination option;2;$FileName) SET PRINT OPTION(Orientation option;2) Then, I just print. To print a patient chart, I open a print job, and print forms, images, PDF’s

Re: Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Chuck Miller via 4D_Tech
You don’t specify but what version of 4D.I think you may have rot use PDF center 1.2 to make this work. I also don’t see in your code any new area command so perhaps that is the problem Regards Chuck

Re: Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Bill Hutten via 4D_Tech
On Fri, Mar 1, 2019, at 1:16 PM, Koen Van Hooreweghe via 4D_Tech wrote: > I think the OPEN/CLOSE PRINTING JOB is not needed and perhaps causing > problems with 4D Write. Interestingly enough if those are removed the code does not print anything - no PDF file is created. They're used in a 4D

Re: Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Koen Van Hooreweghe via 4D_Tech
Hi Bill, I think the OPEN/CLOSE PRINTING JOB is not needed and perhaps causing problems with 4D Write. HTH Koen > Op 1 mrt. 2019, om 18:01 heeft Bill Hutten via 4D_Tech <4d_tech@lists.4d.com> > het volgende geschreven: > > It works, in that a PDF is created, with the right $fname, at the

Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Bill Hutten via 4D_Tech
Hi all - Apologies in advance - if this has been discussed and I'm just missing it, please point me to the archives. I need to print 4D Write docs (not 4D Write Pro), on Windows 10, to PDF, using the built-in "Microsoft Print to PDF" printer. This is the code I curently have, cobbled togeather