Samba Printer Queue

From: http://www.e-smith.org/bboard/read.php?v=t&f=4&i=1360&t=1284
For those who don't mind the Linux command shell, the SME server already has standard Linux print queue utilities that should help (and will allow you to pick and choose WHICH print jobs are canceled, delayed, etc):

The commands are:
lpr - This command sends a file TO the print queue (e.g., 'lpr sample.txt')
lpq - Checks the status of a print job lprm - removes a job from the print queue...

For instance, let's say you want to kill a print job sent to a printer named laserjet4:
lprm -Plaserjet 216
Tada! The print job should come to a screeching halt now. Hope this helps! (Among other sources for info on lpr, lpq, and lprm, see http://www.linuxprinting.org/man/lprm.1.html) Mike Fahy

Related Scribbles:
  • E-smith
  • Samba Notes (and SMB)
  • Linux Commands


  • ID: 202
    Author:
    leonard
    Date Updated:
    2010-01-18 16:08:08
    Date Created:
    2002-09-23 00:10:50

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> Samba Printer Queue
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.