[Samba] Jobs hanging printer after printing

Richard Stanton richard.stanton1 at ntlworld.com
Mon Nov 17 12:24:03 GMT 2003


Hi,

I wonder if anyone can help me out here.  I have an apple laserwriter
(postscript) printer attached to the network via ethertalk.  I have the
printer set up in cups, using the pap backend found here
(http://users.phg-online.de/tk/CUPS/backend/pap).  I then set the printer up
through samba so that windows (XP) users can print to it.  However if I
print a test page from windows, the job prints but then hangs the printer.
The printer status is listed as 'idle' but no-one can print to it.  If I
look at the printer status in the cups web interface the job which just
printed is listed as processing still.  It doesn't clear until I power cycle
the printer.  However if I send test prints directly from the linux server,
via the cups web interface, I can send multiple jobs and they print & clear
properly without hanging the printer - hence me believing that the problem
lies either with a samba setting, or with a setting in the windows printer
driver.  The linux server is yellow dog 3.

Any offers?  Here's my smb.conf:

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/11/17 12:06:25

# Global parameters
[global]
	workgroup = I&I
	netbios name = RICH_SERVER
	server string = Samba Server
	security = SHARE
	encrypt passwords = Yes
	obey pam restrictions = Yes
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
	unix password sync = Yes
	log file = /var/log/samba/%m.log
	max log size = 0
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	hosts allow = xxx.xxx.xxx.xxx
	hosts deny = All
	printing = cups

[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0664
	directory mask = 0775
	hosts allow = 127.0.0.1
	browseable = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[med2f15]
	comment = Apple laserwiter
	path = /var/spool/samba
	read only = No
	guest ok = Yes
	printable = Yes
	printer name = med2f15
	use client driver = Yes
	oplocks = No

[Shared Drive]
	path = /SharedDrive
	read only = No
	guest ok = Yes
	hosts allow = 127.0.0.1, xxx.xxx.xxx.xxx

[Med3F03]
	path = /var/spool/samba
	read only = No
	guest ok = Yes
	printable = Yes
	printer name = Med3F03
	oplocks = No







More information about the samba mailing list