To remove an individual print job (Florida web design) from the

To remove an individual print job from the queue, indicate the job number of that print job on the lprm command line. To first find out what the job number is, type the lpq command. Here s what the output of that command may look like: $ lpq Printer: lp@localhost Queue: 2 printable jobs Server: pid 4134 active Unspooler: pid 4135 active Status: waiting for subserver to exit at 18:54:05.230 Rank Owner/ID Class Job Files Size Time active root@localhost+133 A 133 /home/jake/pr1 467 18:53:49 2 root@localhost+197 A 197 /home/jake/mydoc 23948 18:54:05 The output shows two printable jobs waiting in the queue. (In this case, they’re not printing because the printer is off.) Under the Job column, you can see the job number associated with each document. To remove the first print job, type the following: # lprm 133 Controlling printers with lpc The lpc command enables you to check the status of printers, enable and disable printers, and change the arrangement of jobs in the queue. Any action you do with the lpc command can be done either to an individual printer (by indicating a printer name) or to all printers (by using the word all). To disable a specific printer (for example, one named canyonsps), use the disable option and type the following: $ lpc disable canyonsps Printer: canyonps@localhost kill server PID 4134 with User defined signal 1 canyonps@localhost.localdomain: disabled To enable a disabled printer (such as the one in the previous example), use the enable option and type the following: $ lpc enable canyonsps Printer: canyonps@localhost canyonps@localhost.localdomain: enabled When a printer is disabled, it can still continue to receive print jobs and hold them in the queue until the printer is enabled again. If you want to prevent jobs from being spooled at all, use the stop option as follows: $ lpc stop canyonsps Printer: canyonps@localhost canyonps@localhost.localdomain: stopped To start the printing daemon again and resume printing, use the start option, as follows: $ lpc start canyonsps Printer: canyonps@localhost canyonps@localhost.localdomain: started To disable a printer and kill the lpd printing daemon (so that no further jobs can be printed), use the abort option, as follows: $ lpc abort canyonsps Printer: canyonps@localhost kill server PID 4239 with Interrupt canyonps@localhost.localdomain: aborted job
You want to have a cheap webhost for your apache application, then check apache web hosting services.

Leave a Reply