Don't ask to ask, just ask | |
PerlMonks |
RE: Re: print to memory?by spudzeppelin (Pilgrim) |
on Sep 10, 2000 at 19:11 UTC ( [id://31794]=note: print w/replies, xml ) | Need Help?? |
Generally, \x0c (that's ctrl-L or ^L) is a page-feed to most printers. I've written ofs in perl for the lpd before, it's not a difficult task :) However, I'd strongly recommend using the lpd (or at least, one of the new non-spooling print programs, such as pdq) rather than trying to write raw text to the hardware device. Spud Zeppelin * spud@spudzeppelin.com
In Section
Seekers of Perl Wisdom
|
|