Printer Status
You can use the following commands to have information and printer status displayed or copied to a file.
Use the lpq or lpstat command to display the status of the printer or information about print jobs.
Use the rsh, rcp or ftp commands to get more detailed information from the printer.