Printing in Unix
UNIX Print Queues
The black and white laser printer queue is called laser. The colour printer queue is called plot.
At the command prompt type print followed by a space and then the file name, for example:
The print command is an alias which converts the text file to postscript (which prints better than straight text) and then sends it to the printer. This alias uses a program called a2ps. If you wish to use other settings read the manual page for this program. You can view aliased commands by typing alias at the command prompt.
Files that are already in postscript format, such as figures generated by Matlab, should be printed using the lpr command. Typically these files have a .ps extension.
At the command prompt type:
- for the black and white printer: lpr -Plaser myfile.ps
- for the colour printer: lpr -Pcolour myfile.ps