Use the default UNIX lpstat commands to view the available printers, the status of print requests, and to cancel print requests. For example, assuming the queue name of the shared PC printer is dopey1_laser,
To print to a shared printer when it is not the default, enter:
lp -d dopey1_laser
To view print requests sent to the shared PC printer, enter:
lpstat -p dopey1_laser
To cancel a print request sent to the shared PC printer, enter:
cancel job-ID
The job-ID is the first field in the response from the lpstat -p command.