Chapter 21 . Working (Graphic web design) with Words and Images

Chapter 21 . Working with Words and Images 577 Removing Print Jobs If you have ever printed a large document by mistake, you understand the value of being able to remove a print job from the queue. Likewise, if a printer is going to be down for a while and everyone has already printed their jobs to another printer, it s sometimes nice to be able to clear all the print jobs when the printer comes back online. Remove print jobs using lprm. For example, to remove all jobs for the user named bill (assuming you are either bill or the root user), type the following: $ lprm bill The root user can remove all print jobs from the queue. To do this, you add a dash (-) to the lprm command line, as follows: $ lprm - You can also remove queued print jobs for a particular printer (-Pprinter) or for a particular job number by just adding the job number to the lprm command line. Checking Printer Status Sometimes nothing comes out of a printer, and you have no idea why. lpc is a printer status command that might give you a clue about what s going on with your printer. It is intended for administrators, so it may not be in your default PATH. To start the lpc command, type the following: # /usr/sbin/lpc When the command returns the lpc> prompt, type the word status: lpc> status hp: printer is on device lpd speed -1 queuing is enabled printing is enabled no entries daemon present lpc> This example shows the status of printer hp: queuing and printing are enabled, the printer shows no problems, and no print jobs are waiting. To quit the lpc command, type exit at the lpc> prompt.
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.

Leave a Reply