Hi Jeremy,
Try
SET PRINT OPTION ( option ; value1 {; value2} )
http://doc.4d.com/4Dv16R4/4D/16-R4/SET-PRINT-OPTION.301-3318228.en.html
HTH
Pat
On 26 November 2017 at 17:42, Jeremy French via 4D_Tech <
[email protected]> wrote:
> I would like to programmatically set the Write Pro's page size to legal.
>
> The command WP USE PAGE SETUP retrieves the print settings stored in the
> WP Document. That is, the command synchronizes the current printer page
> settings with the 4D Write Pro document page settings.
>
> See:
> http://doc.4d.com/4Dv16R5/4D/16-R5/WP-USE-PAGE-SETUP.301-3494573.en.html
>
> But I don't want to retrieve the Write Pro document print settings. I want
> to programmatically set the Write Pro document's print setting.
>
> So how do I programmatically specify a legal page size for a 4D Write Pro
> document?
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ: http://lists.4d.com/faqnug.html
> Archive: http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
--
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************