[Samba] Samba & LPRng: Printer Status in Windows
Russ Ward
russ at engr.msstate.edu
Fri Nov 8 01:07:00 GMT 2002
I know this question has been answered here a while back, but I have not been able to find the mailing with the posts on it.
-----==========-----
I have a redhat server that I am using as a file/print server for student use. I am using samba to help the users with Windows. The problem I have is that when using printing a user can submit a print job, and it prints fine, but cannot see the status of the printer.
When you click on the printer icon you get: "Status: Opening"
When you double click to open the printer status window you get: "$Printer Failed to open, retrying"
What is needed to enable to the users to be able to see the printer status?
-----==========-----
Config:
Redhat 8.0
Samba 2.2.6pre2
LPRng 3.8.9
-----==========-----
smb.conf:
[global]
workgroup = COESTUDENTS
netbios name = STUDENTS
netbios aliases = students
server string = COE Student File & Print Server [%v]
security = user
encrypt passwords = yes
restrict anonymous = yes
domain admin group = root @root
domain logons = yes
os level = 100
preferred master = yes
domain master = yes
wins server = XXX.XXX.XXX.XXX
wins proxy = yes
dns proxy = yes
#hosts allow = XXX.XXX.
load printers = no
printer admin = root @root @adm
printing = lprng
print command = /usr/bin/lpr -P%p -r %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
lppause command = /usr/sbin/lpc hold %p %j
lpresume command = /usr/sbin/lpc release %p %j
queuepause command = /usr/sbin/lpc -P%p stop
queueresume command = /usr/sbin/lpc -P%p start
share modes = No
log file = /var/log/samba/%m.log
max log size = 512
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
case sensitive = no
preserve case = yes
short preserve case = yes
default case = lower
mangle case = no
# use client driver = yes #tried with no success
[ME_Lab]
printer = ME_Lab
path = /tmp
browseable = yes
public = no
writeable = no
printable = yes
# valid users = @ME
-----==========-----
printcap:
ME_Lab:
:sd=/var/spool/lpd/ME_Lab
:af=/var/spool/lpd/ME_Lab/acct
:lf=/var/spool/lpd/ME_Lab/log
:cd=/var/spool/lpd/ME_Lab
:lp=130.18.196.88%9100
:ifhp=model=hp5,trace,pagecount=pjl,debug=0,status
:filter=/usr/libexec/filters/ifhp
:as=|/usr/bin/perl /appl/lpd_quota.pl start
:ae=|/usr/bin/perl /appl/lpd_quota.pl end
-----==========-----
Thanks
Russ
#####################################################
# Russ Ward: ##
##################################################### #
# Mississippi State University: College of Eng. # #
# email: russ at engr.msstate.edu # #
# phone: 662.325.0151 # #
# icq: 7703575 # #
# aim, yahoo, jabber, slashdot: russward662 ##
#####################################################
More information about the samba
mailing list