|
FAQ: Useful print commands
By Colin A. Bitterfield EX-SUN Microsystems, Inc. Contact Me
Q. How can I print from netscape to my HP Laserjet (PCL/Text Only) A. Use the following for the print command "/opt/sfw/bin/gs -q -sDEVICE=ljet4 -dNOPAUSE -sOutputFile=- - | lp " Notes:
- Must have the following packages installed: SFWgs, SFWgsfot, SFWgsfst, SFWgv
- This takes stdin and converts in to PCL laserjet 4 style.
Q. How can I print text nicely formatted 1 or 2 pages per sheet of paper. A. "cat $FILE | mp -l -o | /opt/sfw/gs -q -sDEVICE=let4 -dNOPAUSE -sOutputFile=- - | lp" Notes:
- This is where alias comes in very handy
|