Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Use UNIX command from terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use UNIX command from terminal
Authored by: asher on Feb 16, '06 03:16:21PM

lpstat -t is a display only command you can run anytime. Try it from terminal. Shows you all printers and printer jobs.
Then you can cancel all or a single job by
cancel PrinterName-JobNumber
where PrinterName and JobNumber come from the output of the lpstat command.
If your connection to the printer is fast or the printer has a large buffer you may find the printer continues to print from its buffer. So I just turn the printer off to clear the buffer.

[ Reply to This | # ]