Printing from a UNIX workstation to the printer

You don’t need any special software to use the printer. On most UNIX systems, you use either the lpr or lp command to print documents over a TCP/IP network to the printer.

Your printer administrator will generally set up two print queues for the printer—one to print text files (which must have a carriage return appended to the end of each line) and the other to print all other files, including PostScript and PCL files. The names of the print queues typically reflect which sort of document they’re for.

Examples for lpr

lpr -PGarysLW_text plain.txt lpr -PGarysLW_raw postscript.file

Examples for lp

lp -d GarysLW_text plain.txt

lp -d GarysLW_text postscript.file

The way you print and choose printing options can differ from one application program to another. To find out more about printing from your application programs, read the documentation that came with the programs.

254Chapter 9

Page 279
Image 279
Apple 12/640PS manual Printing from a Unix workstation to the printer, Examples for lpr