The compatibility package contains five printing commands that are not in the default SunOS 5.x release: lpr, lpq, lprm, lpc, and lptest. This is how they compare with the base commands:
Table 2-1 Printing Commands
SunOS 4.1 Command |
SunOS 5.x Equivalent |
---|---|
lpr |
lp |
lpq |
lpstat |
lprm |
cancel |
lpc |
no equivalent |
lptest |
no equivalent |
Here is an overview of some important features:
There are no SunOS 4.1 commands for administration, maintenance, or accounting of printers; you must use SunOS 5.x schemes. The exception is the lpc command, which is included.
The SunOS 4.1 printcap file does not exist. The printer information is now contained in the files in the directories /etc/lp and /etc/lp/printers/printer-name. You can change this information using the lpadmin command. For more information on this command, refer to lpadmin(1M) in the Solaris 8 Reference Manual Collection.
Printing spooling commands do not depend on the lpd daemon, as in SunOS 4.1. Instead, they use an HPI (High Performance Interface) with the SunOS 5.x printing daemon, lpsched.