As discussed in a previous section, you can continue to use SunOS release 4 print commands if you have the SunOS/BSD Source Compatibility Package. Table 11-1 shows the basic user print command equivalents.
Table 11-1 User Print Command Equivalents
SunOS release 4 |
SunOS release 5.7 |
Function |
---|---|---|
|
Print a file to the default printer |
|
lpr -P printer filename |
lp -d printer file |
Print a file to a specific printer |
Look at a list of the files waiting to print on the default printer |
||
lpstat -d |
Determine which is the default printer |
|
Check /etc/printcap
|
lpstat -a |
Determine which printers are available |
|
|
Cancel a print job on the default printer |