Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I've another PDF::Template question. I see in 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

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2021-12-08 01:43 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (34 votes). Check out past polls.