How to display print jobs on Windows 95?
Steen Jensen
sj at kom.auc.dk
Tue Feb 17 10:53:52 GMT 1998
On Fri, 13 Feb 1998, Katie Ng wrote:
kkn> Does any one know how to get the print jobs on the samba server
kkn> displayed on Windows 95's print queue? Thanks in advance.
kkn>
kkn> The following is a sample of my smb.conf:
kkn>
kkn> [global]
kkn> printing = sysv
kkn> printcap name = /opt/samba/lib/printcap
kkn> load printers = yes
kkn> guest account = nobody
kkn>
kkn> [printers]
kkn> comment = All Printers
kkn> path = /tmp
kkn> browseable = no
kkn> printable = yes
kkn> public = yes
kkn> writable = no
kkn> create mode = 0700
kkn> print command = /usr/bin/lp -c -d %p %s;rm %s
kkn> lpq command = /usr/ucb/lpq -P%p
kkn> lprm command = /usr/bin/cancel %p-%j
You need to set 'lpq command = lpstat -o %p', it did the trick on our
Solaris 2.5 servers. I think that the default for sysv printing is 'lpstat
-o%p', but Solaris didn't like that.
Best,
Steen Jensen System & net administrator
--
Aalborg University e-mail: sj at kom.auc.dk
Institute of Electronic Systems
Department of Communication Technology
Frederik Bajers Vej 7A
DK-9220 Aalborg East - Denmark
kkn>
kkn> _____________________________________________
kkn>
kkn> Katie Ng Email: katie at odetics.com
kkn> Database Administrator/Software Specialist
kkn> Odetics Inc.,
kkn> 1515 S. Manchester Ave, Anaheim, CA 92802
kkn> 714-780-7828 (Phone)
kkn> 714-780-7995 (Fax)
kkn> _____________________________________________
kkn>
kkn>
kkn> ------------------------------
kkn>
More information about the samba
mailing list