filePro pdf printing
Kenneth Brody
kenbrody at spamcop.net
Mon Nov 16 08:40:50 PST 2015
On 11/16/2015 11:07 AM, Richard Kreiss wrote:
> Ken, Thanks for getting back to me.
>
> Might I suggest a corrected set of instructions go out with regard to the
> orientation instruction error.
This was just recently found. I'm not sure what support did to let people
know about it.
> Also some coding examples of how to accomplish various formatting options.
>
> Also, could not <page size="letter" orient="landscape"> be put into the
> fpml print table and inserted as a print code?
Absolutely.
> See my responses below.
[...]
>>> What am I doing wrong? Any assistance will be greatly appreciated.
>>
>> The docs had a mistake, and the attribute was "orient", not "orientation".
>> Newer versions of filePro will take both. However, given that you then
>> explicitly set the page height and width, that should be irrelevant here.
>> (Is there a reason you are sending both?)
>
> As the first wasn't working, I tried setting the orientation and page
> size as this could be 8 1/2 X 11 or 8 1/2 X 14.
I thought that might have been the case.
>> What, exactly, do you get for a page size on output?
>
> My output is portrait 8 1/2x11.
Okay.
>> Is there enough room on the form to contain both "or" and "sz"?
>
> The 2 dummy fields are located in the header and are not printable. Does
> this make a difference as these 2 fields are undefined?
What do you mean by "not printable"?
>> If you send the output to a file, without the "PDF:" prefix, filePro will output the
>> raw FPML code. Do you see the tags you placed?
>
> Checked and sz was there but not or.
Perhaps you didn't leave enough room for "or"?
>> Finally, note that if you are always putting these codes on the form, why not
>> just put them on the form itself, rather than in fields placed on the form?
>
> I have not done this before. If not that, how does one "put them on the form"?
>
> I did set "allow embedded FPML on form to Y.
Simply put the FPML code on the form itself.
For example, I have an invoice form that has this as the first two lines:
=====
<page size="A4" orientation='portrait'>
<image file="invoice.png" x="center" y="center" height="792" width="612">
=====
I also have this in the middle of the form:
=====
<image height="100" width="scale" file="images/*10 ">
=====
> I put <page size="letter" orient="landscape"'> In the header instead of
> *or and this worked fine except I needed to move my heading down one line
> and reset my tabs.
Okay.
> I just started working with this option and am trying to figure this out
> how to handle using the PDF print function.
>
> With the correction suggested, pdf was created in landscape. However,
> there are no page breaks. Do I need to count output lines and then
> force a page break? I realize that modern page printers will handle page
> breaks but they won't necessarily be where I want them.
Are you saying you ended up with just a 1-page PDF, with the text going "off
the bottom"?
--
Kenneth Brody
More information about the Filepro-list
mailing list