Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

How do I use formfeed on an email?

by Anonymous Monk
on May 23, 2000 at 16:54 UTC ( [id://14358]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

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.

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: How do I use formfeed on an email?
by schweini (Friar) on Feb 15, 2003 at 11:04 UTC
    if you're directly talking to the printer, sending a "\f" (formfeed) should do the trick.
Re: How do I use formfeed on an email?
by chromatic (Archbishop) on Jun 06, 2000 at 02:58 UTC
    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.
Re: How do I use formfeed on an email?
by comatose (Monk) on May 23, 2000 at 17:55 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://14358]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found