malama% lp -dps outfile.ps
In this case, the ``ps'' (PostScript) queue was specified.
To find out what is already in the queue, use lpstat. If you wish to delete a job, use lpstat to find out its job number, and then cancel to remove it. See the man pages on these two commands for more details. Many more options can be used with lp as well, all of which are described in man lp. This is especially important when printing on PostScript printers. When using these, you should always use the JAC shell script psprint. A description of psprint is can be found with man psprint. psprint recognizes Postscript, text, and .dvi files and sets the correct options in the lp command to print these files on a Postscript printer.
When using lpn use ``lp -dps filename'' for Postscript files and ``lp -dtext filename'' for regular text files. ``lp -dcolor'' will print color Postscripts files on the color printer.
Special commands for printing on some JAC printers are described in Part II under Printers.
truein