I've another PDF::Template question. I see in PageDef.pm that if both the page_width and page_height pagedef attributes are set, a user defined page size can be created. Unfortunately, I can't get it to work. Does anyone see anything with this template? I'm using PDFlib Lite 7.02 and the latest version of PDF::Template.
<pdftemplate h="8"> <pagedef page_width="5000" page_height="700" margins="1i"> <font face="Courier" size="12"> <header header_height="1i" /> <row h="10"> <textbox w="136.8" text="Date/Time" /> <textbox w="79.2" text="Search Time" /> <textbox w="28.8" text="Qual" /> <textbox w="79.2" text="User" /> <textbox w="79.2" text="Origin/Dest" /> <textbox w="64.8" text="Commodity" /> <textbox w="50.4" text="Service" /> <textbox w="64.8" text="Acct Code" /> <textbox w="50.4" text="Results" /> <textbox w="50.4" text="Carrier" /> <line /> </row> <footer footer_height="1i"> <row> <textbox w="100%" justify="right">Page <var value="__PAGE__" +/></textbox> </row> </footer> </font> </pagedef> </pdftemplate>

In reply to PDF::Template page_width/page_height by mhearse

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.