OK so for anybody's who's interested ...
It currently isn't possible to set these options in this way (i.e., when
creating a document entirely in code). A workaround would be to do
something like open a window containing a layout that contains a WritePro
area, apply the modifications to that area,
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
Hello,
WP PAGE SETUP over writes all current print settings with that of the write pro
document, for the next print job. you should NOT use it when you are using
regular SET PRINT OPTION to specify the paper and orientation.
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
Nope ... as you pointed out, it's not a printing issue. It's a "saving the
specified settings" issue. INVOKE ACTION isn't used at all in that HDI
example.
On 22 March 2018 at 15:02, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com>
wrote:
> perhaps the HDI demos might help:
>
> http://download.4d
perhaps the HDI demos might help:
http://download.4d.com/Demos/4D_v16/
HDI_4DWP_Print.zip
> 2018/03/22 13:25、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> のメール:
> Is there something additional I need to do?
**
4D Internet Us
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
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-actio
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 stil
9 matches
Mail list logo