Thanks - there are so many places to look for commands that affect WritePro
areas, I sometimes forget about that one :)

is your question about the checkmark missing in the contextual popup menu?
Yes, that is one part of the question.

Unfortunately this still doesn't work.
I am creating documents entirely in code. A template document is opened and
modified. Once the doc has been created it is printed as a PDF and also
saved in a new record in the database.

None of the "invoke action" options seem to stick. The document size and
other settings such as page orientation are always the same as the WritePro
template that was used as the basis for the new document.

I tried adding some additional actions - e.g.:

*INVOKE ACTION*("pageOrientation?value=landscape")

*INVOKE ACTION*("pageMode?value=page";ak current form)

and they don't have any effect.

Is there something additional I need to do?

Thanks!

Pat

On 22 March 2018 at 10:27, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hello,
>
> the commands
>
> is your question about the checkmark missing in the contextual popup menu?
>
>
> SET PRINT OPTION is a printing command,
> to change the document size of the Write Pro doc itself,
> I think you need to INVOKE ACTION
>
> http://doc.4d.com/4Dv16R5/4D/16-R5/Using-4D-Write-Pro-
> standard-actions.200-3494557.en.html
>
> e.g.
>
> INVOKE ACTION("pageSize?index=1";ak current form)
>
> > 2018/03/21 19:30、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >
> > I use
> >
> > SET PRINT OPTION(Paper option;"A4")
> >
> > to set the page size to A4.
> >
> > But this doesn't seem to work.
> > If I view the document that was created, go to
> > Document->Page size
> >
> > No page size is selected.
> > I choose A4 and the page size changes accordingly.
> >
> > BTW if I go again to Document->Page size, it still doesn't show which
> page
> > size is selected.
> >
> > Likewise, SET PRINT OPTION(Orientation option;2) doesn't seem to have any
> > effect.
> >
> > Am I doing this the wrong way?
> >
>
>
>
>
> **********************************************************************
> 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
**********************************************************************

Reply via email to