[Samba] can't pause a samba shared printer from w2k pc

daniel.jarboe at custserv.com daniel.jarboe at custserv.com
Wed Aug 7 06:51:03 GMT 2002


Running samba installed from rpm 2.2.5-1 on rh 7.2 system... 
security=domain with winbind to NT pdc, LPRng

Trying to pause printing without specifying a queuepause command I get:
You do not have permissions to modify the settings for this printer.  If 
you need to change the settings, contact your network administrator.

With
   queuepause command = /usr/sbin/lpc stop %p
   queueresume command = /usr/sbin/lpc start %p
I do not get that error, but nothing happens... a lpc status for that 
printer shows printing and spooling still enabled, and the status from 
w2k still shows Ready.

What am I doing wrong?

Applicable parts of my smb.conf:

[global]
  printing=lprng
  printcap name = /etc/printcap
  load printers = yes
...

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = yes
   printer admin = "MY_DOMAIN+jarboed, MY_DOMAIN+user2"

[HPLJCov]
   comment = Cover Page HP LaserJet IIISi
   printable = Yes
   printer = HPLJCov
   printer driver = HP LaserJet IIISi
   printer admin = "MY_DOMAIN+jarboed, MY_DOMAIN+mcginnig"
   path = /var/spool/samba
   queuepause command = /usr/sbin/lpc stop %p
   queueresume command = /usr/sbin/lpc start %p

Thanks,
Daniel




More information about the samba mailing list