Thanks Tim,
That is exactly what we did to make it work!
Thank you for your help!

On Wed, Oct 16, 2019 at 8:12 AM Tim Nevels <[email protected]> wrote:

> On Oct 15, 2019, at 2:00 PM, Denis Mikheev wrote:
>
> > Has anyone encountered the issue with pdf generation on Windows Server
> 2016?
> >
> > Issue:  "WR PRINT" opens up a dialog to save a pdf instead of the
> > generation of PDF silently.
> >
> > OS: Windows Server 2016
> > 4D v15 R2
> > 4D Running as a service
> > Printer: " Microsoft Print To PDF"
> >
> > The same logic/code works for Windows Server 2012 and PDFCreator173
>
> There is a difference in how PDFCreator and Microsoft Print to PDF drivers
> are configured when using the SET PRINT OPTION command.
>
> Microsoft Print To PDF uses: SET PRINT OPTION(Destination Option;2)
>
> PDFCreator uses: SET PRINT OPTION(Destination Option;3)
>
> macOS also uses: SET PRINT OPTION(Destination Option;3)
>
> If you specify SET PRINT OPTION(Destination Option;3) and try to print to
> Microsoft Print To PDF you will see the save as file dialog box.
>
> Are you using "WR SET PRINT OPTION(wr destination option;3;…”  to enable
> printing to a PDF? If so, I would try switching to “2”.
>
> If you are using SET PRINT OPTION and OPEN PRINTING JOB with the WR PRINT
> command, change the SET PRINT OPTION to use “2”.
>
> Tim
>
> *****************************************
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> [email protected]
> *****************************************
>
>

-- 

Denis Mikheev

Development Team Lead


Storman

A Division of Global Payments

p: +64 9 280 3393 (x906)

w: storman.com e: *denis.mikheev*@storman.com <[email protected]>

-- 
This is an email from Ezidebit Pty Ltd. The email and any attachments may 
be confidential, legally privileged and/or subject to copyright. If you are 
not the intended recipient, you must not disclose or use the information 
contained in this e-mail. If you have received this email in error, please 
notify us immediately and delete the email and all copies. We do not 
guarantee that this email and any attachments are free from virus or other 
errors. We will not be responsible for loss or damage resulting (either 
directly or indirectly) from any such virus or error. We will only be 
responsible for a change to a document if we made the change. The content 
of and opinions expressed in non-business emails are not that of Ezidebit 
Pty Ltd and are that of the sender.
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to