Controlling unix print queues from PC
Clarke, Mike
Mike.Clarke at spgl.siemens.co.uk
Wed May 26 09:20:52 GMT 1999
I'm running Samba 2.0.3 from the pre-built binary
(ftp://sunsite.org.uk/packages/samba/Binary_Packages/solaris/samba-2.0.3
-sunos-4.1.3.tar.Z) on a Sun IPX with SunOS 4.1.3_U1.
I've defined a printer in smb.conf, from a PC (NT 4.0) I can send prints
to it and view the queue OK but I can't manage the queue in any way.
Attempts to cancel prints and stop or start the queue from the PC have
no effect - not even any messages in the logs.
The unix print queue is set up OK and reacts to local lpc, lpq, lpr and
lprm commands just fine.
This is what I have in smb.conf:
[blackhole]
comment = Dummy printer for testing
path = /var/spool/samba
print ok = Yes
print command = /usr/ucb/lprm -P%p %s
lpq command = /usr/ucb/lpq -P%p
lprm command = /usr/ucb/lprm -P%p %j
queuepause command = /usr/etc/lpc stop %p
queueresume command = /usr/etc/lpc start %p
printer name = blackhole
Any suggestions what I'm doing wrong?
--
Mike Clarke
Systems Support Engineer
Siemens Power Generation Limited.
Tel: +44 191 275 2224 Fax: +44 191 275 2205
More information about the samba
mailing list