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

Van Sickler, Jim vansickj-eodc at Kaman.com
Wed Aug 7 08:57:02 GMT 2002


Daniel,

  Try remarking out (#) the printer admin line,
and see what happens.

  Don't forget to restart the samba services after
you make the change.

Jim

> -----Original Message-----
> From: daniel.jarboe at custserv.com [mailto:daniel.jarboe at custserv.com]
> Sent: Wednesday, August 07, 2002 6:50 AM
> To: samba at lists.samba.org
> Subject: [Samba] can't pause a samba shared printer from w2k pc
> 
> 
> 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
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 



More information about the samba mailing list