[Samba] Printing not working after upgrading to 3.0.4

Skip Morrow skip-samba at pelorus.org
Sun May 23 10:47:12 GMT 2004

> >
> > I read your mail, but I don't see anything that could cause
> > your problem.
> >
> > Please re-post with a few more details.
> >
> > Tell us about your printer type(s), the driver(s) you use on
> > the Win clients, which Samba version you was using previously,
> > what the settings of your smb.conf are (please strip comments),
> > which CUPS version you use, which OS version your Samba is
> > installed on, etc.
> >
I have an HP, 2100M printer.  The driver that I have loaded in Windows is "HP 
Laserjet 2100 Series PS"  Unfortunately, I don't have any more information 
about the driver becasue I can't print the test page.  Here are the pertinent 
setting from smb.conf:

	netbios name = PELORUS
	server string = samba server
	interfaces =
	bind interfaces only = yes
	encrypt passwords = yes
	log file = /var/log/samba/%m.log
	max log size = 0
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	dns proxy = No
	hosts allow = 192.168.0. 127.
	printing = cups
	load printers = yes
	security = SHARE
	printcap name = cups
	guest ok = yes

	comment = All Printers
	path = /var/spool/samba
	browseable = no
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = skip, suzanne, sfm, root, @ntadmin, smorrow

I do not remember what version of Samba I had before.  I installed it so long 
ago, and it worked fine for so long, I really didn't think about it too much.

I am using CUPS version 1.1.20

<DefaultPrinter HP_LJ_2100M>
Info HP LaserJet 2100M
Location Pelorus
DeviceURI parallel:/dev/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0

ServerName localhost
Classification none
DefaultCharset UTF-8
DefaultLanguage en
Printcap /etc/printcap
PrintcapFormat BSD
RemoteRoot remroot
SystemGroup sys
ServerCertificate /etc/cups/ssl/server.crt
ServerKey /etc/cups/ssl/server.key
<Location />
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From
Allow From 192.168.0.*
<Location /admin>
AuthType Basic
AuthClass System
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From
HostnameLookups On
KeepAlive On
KeepAliveTimeout 60
MaxClients 100
MaxRequestSize 0m
Timeout 300
Listen *:631
AccessLog /var/log/cups/access_log
ErrorLog /var/log/cups/error_log
PageLog /var/log/cups/page_log
MaxLogSize 1m
LogLevel debug2
PreserveJobHistory On
PreserveJobFiles No
AutoPurgeJobs No
MaxJobs 0
MaxJobsPerPrinter 0
MaxJobsPerUser 0
User lp
Group sys
RIPCache 80m
FilterLimit 0
DataDir /usr/share/cups
DocumentRoot /usr/share/cups/doc
RequestRoot /var/spool/cups
ServerBin /usr/lib/cups
ServerRoot /etc/cups
TempDir /var/spool/cups/tmp
Browsing On
BrowseProtocols CUPS 
BrowsePort 631
BrowseInterval 30
BrowseTimeout 300
BrowseAddress @IF(eth1)
BrowseOrder allow,deny
ImplicitClasses On
ImplicitAnyClasses Off
HideImplicitMembers Yes
BrowseShortNames Yes

# "$Id: mime.convs,v 1.17 2002/08/09 00:00:54 mike Exp $"
application/pdf		application/postscript	33	pdftops
application/postscript	application/vnd.cups-postscript	66	pstops
application/vnd.hp-HPGL	application/postscript	66	hpgltops
application/x-cshell	application/postscript	33	texttops
application/x-perl	application/postscript	33	texttops
application/x-shell	application/postscript	33	texttops
text/plain		application/postscript	33	texttops
text/html		application/postscript	33	texttops
image/gif		application/vnd.cups-postscript	66	imagetops
image/png		application/vnd.cups-postscript	66	imagetops
image/jpeg		application/vnd.cups-postscript	66	imagetops
image/tiff		application/vnd.cups-postscript	66	imagetops
image/x-photocd		application/vnd.cups-postscript	66	imagetops
image/x-portable-anymap	application/vnd.cups-postscript	66	imagetops
image/x-portable-bitmap	application/vnd.cups-postscript	66	imagetops
image/x-portable-graymap application/vnd.cups-postscript	66	imagetops
image/x-portable-pixmap	application/vnd.cups-postscript	66	imagetops
image/x-sgi-rgb		application/vnd.cups-postscript	66	imagetops
image/x-xbitmap		application/vnd.cups-postscript	66	imagetops
image/x-xpixmap		application/vnd.cups-postscript	66	imagetops
image/x-xwindowdump	application/vnd.cups-postscript	66	imagetops
image/x-sun-raster	application/vnd.cups-postscript	66	imagetops
image/gif		application/vnd.cups-raster	100	imagetoraster
image/png		application/vnd.cups-raster	100	imagetoraster
image/jpeg		application/vnd.cups-raster	100	imagetoraster
image/tiff		application/vnd.cups-raster	100	imagetoraster
image/x-photocd		application/vnd.cups-raster	100	imagetoraster
image/x-portable-anymap	application/vnd.cups-raster	100	imagetoraster
image/x-portable-bitmap	application/vnd.cups-raster	100	imagetoraster
image/x-portable-graymap application/vnd.cups-raster	100	imagetoraster
image/x-portable-pixmap	application/vnd.cups-raster	100	imagetoraster
image/x-sgi-rgb		application/vnd.cups-raster	100	imagetoraster
image/x-xbitmap		application/vnd.cups-raster	100	imagetoraster
image/x-xpixmap		application/vnd.cups-raster	100	imagetoraster
image/x-xwindowdump	application/vnd.cups-raster	100	imagetoraster
image/x-sun-raster	application/vnd.cups-raster	100	imagetoraster
application/octet-stream	application/vnd.cups-raw	0	-

# "$Id: mime.types,v 1.25 2002/11/24 22:32:01 mike Exp $"
application/msword		doc string(0,<D0CF11E0A1B11AE1>)
application/pdf			pdf string(0,%PDF)
application/postscript		ai eps ps string(0,%!) string(0,<04>%!)
application/vnd.hp-HPGL		hpgl string(0,<1B>&)\
				string(0,<1B>E<1B>%0B) \
				string(0,<1B>%-1B) string(0,<201B>)\
				string(0,BP;) string(0,IN;) string(0,DF;) \
				string(0,BPINPS;) \
				(contains(0,128,<1B>%-12345X) + \
				 (contains(0,1024,"LANGUAGE=HPGL") \
				  contains(0,1024,"LANGUAGE = HPGL")))

image/gif			gif string(0,GIF87a) string(0,GIF89a)
image/png			png string(0,<89>PNG)
image/jpeg			jpeg jpg jpe string(0,<FFD8FF>) &&\
				(char(3,0xe0) char(3,0xe1) char(3,0xe2) char(3,0xe3)\
				 char(3,0xe4) char(3,0xe5) char(3,0xe6) char(3,0xe7)\
				 char(3,0xe8) char(3,0xe9) char(3,0xea) char(3,0xeb)\
				 char(3,0xec) char(3,0xed) char(3,0xee) char(3,0xef))
image/tiff			tiff tif string(0,MM) string(0,II)
image/x-photocd			pcd string(2048,PCD_IPI)
image/x-portable-anymap		pnm
image/x-portable-bitmap		pbm string(0,P1) string(0,P4)
image/x-portable-graymap	pgm string(0,P2) string(0,P5)
image/x-portable-pixmap		ppm string(0,P3) string(0,P6)
image/x-sgi-rgb			rgb sgi bw icon short(0,474)
image/x-xbitmap			xbm
image/x-xpixmap			xpm ascii(0,1024) + string(3,"XPM")
image/x-xwindowdump		xwd string(4,<00000007>)
image/x-sun-raster		ras string(0,<59a66a95>)

#image/fpx			fpx
image/x-alias			pix short(8,8) short(8,24)
image/x-bitmap			bmp string(0,BM) && !printable(2,14)

text/html			html htm printable(0,1024) +\
				(string(0,"<HTML>") string(0,"<!DOCTYPE"))
application/x-cshell		csh printable(0,1024) + string(0,#!) +\
				(contains(2,80,/csh) contains(2,80,/tcsh))
application/x-perl		pl printable(0,1024) + string(0,#!) +\
application/x-shell		sh printable(0,1024) + string(0,#!) +\
				(contains(2,80,/bash) contains(2,80,/ksh)\
				 contains(2,80,/sh) contains(2,80,/zsh))
text/plain			txt printable(0,1024)

application/vnd.cups-command	string(0,'#CUPS-COMMAND')
application/vnd.cups-form	string(0,"<CUPSFORM>")
application/vnd.cups-postscript	contains(0,128,<1B>%-12345X) + \
				(contains(0,1024,"LANGUAGE=POSTSCRIPT") \
				 contains(0,1024,"LANGUAGE = Postscript") \
				 contains(0,1024,"LANGUAGE = POSTSCRIPT"))
application/vnd.cups-raster	string(0,"RaSt") string(0,"tSaR")
application/vnd.cups-raw	(string(0,<1B>E) + !string(2,<1B>%0B)) \
				string(0,<1B>@) \
				(contains(0,128,<1B>%-12345X) + \
				 (contains(0,1024,"LANGUAGE=PCL") \
				  contains(0,1024,"LANGUAGE = PCL")))


I sure hope this helps.


More information about the samba mailing list