Linux Queue on Print Manager
Steve Litt
slitt at troubleshooters.com
Wed Dec 22 12:26:33 GMT 1999
Try a *really big* print file >100K, and see if it shows up in print
manager. I find that with 5 page print jobs, it's past the print managager
"immediately" because writing to Samba's queue directory is so much faster
than writing to a printer. I believe you can control the printer via Unix
print queue commands, and these can be accessed via a contrived print
command= in a phony balony Samba printer.
Steve Litt
At 11:00 AM 12/22/1999 +1100, David Hamilton wrote:
>I'm using Samba 2.0.5a on Debian Linux. I'm capable of printing through
>Samba to the jet direct card of my HP LaserJet 4si, It prints
>flawlessly, but I never see anything in the Print Manager on my NT
>workstation, not so much as a flicker. I'd like to completely stop
>using NT as a print server, but I can not do that until we have easy
>control of the print queue.
>
>clip from printcap:
>
>lp|test2|HP LaserJet 4:\
> :lp=/dev/null:\
> :sd=/var/spool/lpd/test2:\
> :rm=128.123.32.62:\
> :rp=text:\
> :sh:\
> :pw#80:\
> :pl#66:\
> :px#1440:
> :mx#0:\
> :af=/var/log/lp-acct:\
> :lf=/var/log/lp-errs:
>
>clip from smb.conf
>
>[global]
> workgroup = MY_DOMAINNAME
> netbios name = MY_NETBIOS_NAME
> server string = %h server (Samba %v)
> security = DOMAIN
> encrypt passwords = Yes
> password server = MY_NT_PDC
> passwd program = /usr/bin/passwd %u
> max log size = 1000
> socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
>SO_RCVBUF=4096
> dns proxy = No
> wins server = XXX.XXX.XXX.XXX
> invalid users = root
> create mask = 0751
>
>[bclab-se]
> comment = bclab tech printer
> path = /tmp
> print ok = Yes
> printing = lprng
> print command = lpr -h -P%p %s
> queuepause command = lpc stop -P%p
> queueresume command = lpc start -P%p
> printer name = test2
>
>--
>David Hamilton
>Service Manager
>Business Computer Services
>Business Administration
> and Economics
>(505) 646-5353
>
More information about the samba
mailing list