Printing from UNIX: LPD and FTP • 194
Deleting
To delete a print job, use the lprm command.
Example
To delete a print job (Job ID 123) on the okiprinter_lp
# lprm –PCprinter_lp 123
Printer Status
Verify the printer status using the lpq command.
• The result of lpq may not be displayed correctly depending on the
UNIX operating system specification.
• While the short format of lpq is a UNIX-compatible format, the
long format is unique to the OkiLAN print server.
Example of the short format: # lpq –PCprinter_lp
Example of the long format: # lpq –l -PCprinter_lp
LPD Printing: System V-based UNIX
Printing
Print using the lp command:
# lp –d Cprinter_lp test.prn
Deleting
Delete a print job using the cancel command.
Example
To delete a print job (Job ID 456) in the printer_lp
# cancel Cprinter_lp -456