Hi Jeremy, Yes, WP USE PAGE SETUP is called after INVOKE ACTION. //Also remember that the 4D Write Pro area must have the focus when INVOKE ACTION is called. Therein may lie the problem. The document is being created in memory - it isn't on a form. So I guess it does not have the focus. So ... how do I apply settings to the document?
PB On 22 March 2018 at 20:23, Jeremy French via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi Pat, > > Have you tried calling the command WP USE PAGE SETUP *after* INVOKE ACTION? > > That is, the following call sequence works: > > INVOKE ACTION > WP USE PAGE SETUP > WP PRINT > > Also remember that the 4D Write Pro area must have the focus when INVOKE > ACTION is called. > > Best regards, > Jeremy > > > On Mar 22, 2018, at 8:25 AM, Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > *INVOKE ACTION*("pageOrientation?value=landscape") > > > > *INVOKE ACTION*("pageMode?value=page";ak current form) > > > > and they don't have any effect. > > > > ********************************************************************** > 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:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** > -- ************************************************* 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: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************