Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

How do I use formfeed on an email?

( #14358=categorized question: print w/ replies, xml ) Need Help??
Contributed by Anonymous Monk on May 23, 2000 at 16:54 UTC
Q&A  > input and output


Description:

I want to print an email, but after a certain amount of lines, i want the printer to continue on a new page. There is preprinted things on the paper that i dont want printed on.

Answer: How do I use formfeed on an email?
contributed by schweini

if you're directly talking to the printer, sending a "\f" (formfeed) should do the trick.

Answer: How do I use formfeed on an email?
contributed by chromatic

If you use a format, the special variable $= (or, if you use English, $FORMAT_LINES_PER_PAGE) can be set to the page length you want. Default is 60.

Answer: How do I use formfeed on an email?
contributed by comatose

I may be totally wrong here, but to me this would depend on your printer (if you're talking directly to the printer device) or your print driver (if you're talking to the driver or something else in between).

Like line breaks (\r\n vs. \n vs. \r), Perl doesn't define how this would work, your hardware or operating system would.

Please (register and) log in if you wish to add an answer



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (11)
    As of 2014-12-26 21:33 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (176 votes), past polls