RE: Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-10-11 Thread Scott Staley via 4D_Tech
I am also having a similar problem...

Code

   SET PRINT OPTION(Paper option;$t_Paper)
   SET PRINT OPTION(Orientation option;$l_Orientation)
   SET PRINT OPTION(Scale option;$l_Scale)
   SET PRINTABLE
MARGIN($l_margin_Left;$l_margin_Top;$l_margin_Right;$l_margin_Bottom)

   PRINT SETTINGS

The scale (50%) and margins (varies) are being respected but the paper
option (legal) and Orientation (landscape) are not.  

I've set the form page setup with the correct settings.  I've also set the
Print Settings in the property list.



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-10-10 Thread Keith Goebel via 4D_Tech
My only suggestion here is to ensure any Print Options calls are made after Set 
Printer, as the latter can mess up options set before that command.
HTH, Keith


> On 11/10/2019, at 2:20 am, Piotr Chabot Stadhouders wrote:
> ...
> Did you find a solution for this?
> I am working on a Windows 10 64-bit machine and have the same problem
> Whatever I do to change the paper size:
> SET PRINT OPTION(Paper option;1130;820)
> SET PRINT OPTION(Paper option;"A3")
> 
> The output to Windows Print To PDF doesn’t respect any of my settings
...
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-10-10 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Cameron,

Did you find a solution for this?
I am working on a Windows 10 64-bit machine and have the same problem
Whatever I do to change the paper size:
SET PRINT OPTION(Paper option;1130;820)
SET PRINT OPTION(Paper option;"A3")

The output to Windows Print To PDF doesn’t respect any of my settings

Gr,
Piotr

Van: Piotr Chabot Stadhouders 
Verzonden: Thursday, 10 October 2019 13:55
Aan: Piotr Chabot Stadhouders 
Onderwerp: Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

The newest versions of 4D do better if you set these options in code instead of 
a saved page setup. Try using SET PRINT OPTION to change it to landscape mode.

> On Jul 3, 2019, at 6:13 PM, Cameron Ambrose via 4D_Tech 
> <4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote:
>
> Just updated to 4D v17r4 and it appears that when using the Windows 10 (64 
> bit) PDF printer, the client is no longer honouring the PAGE SETUP definition 
> and instead just printing in portrait letter.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**