Page orientation in PDF cfreation with FPML not working (Add'l info)
Kenneth Brody
kenbrody at spamcop.net
Tue Apr 4 07:45:38 PDT 2017
On 4/3/2017 7:25 PM, Mike Schwartz via Filepro-list wrote:
> I'm doing some PDF print testing with the filePro fpml PDF printer
> driver (filePro 5.7.03.03 running on SCO Openserver 6).
[...]
> However, the FPML command <page size="letter" orientation="landscape">
> doesn't seem to work to change the PDF format to "Landscape". I've tried
> adding the command <page height="396" width="612">, but that still doesn't
> change the resulting reports to "Landscape mode. The reports come out in
> "Portrait" mode no matter what I do.
[...]
> By the way, since I am using the older filePro 5.7.03, I did try
> "Orient=" instead of "Orientation="
I am not aware of any issues with portrait/landscape, aside from "orient"
rather than "orientation" in 5.7.
> After finding an old email from Richard Kriess, I tried putting thius
> line into the output processing:
>
> qt(1,*)=chr("34"); or(50,*)="<page orient=" {qt {"landscape" {qt <">"
Note that you can use single-quotes in addition to double-quotes for
attribute values, so this could be simplified to:
or(50,*) = "<page orient='landscape'>"
[...]
> *****
>
> <page orient="landscape">
>
> 04/03/17 Test Company Page 1
>
> OPEN PAYABLES REPORT
>
> *****
Did you make sure to set "allow embedded FPML on form" in the F8/Options
dialog for that format?
> What do I have to do to get the FPML print driver to turn the page to
> Landscape Mode?
--
Kenneth Brody
More information about the Filepro-list
mailing list