Cups permission problems

Gerry Doris gdoris at rogers.com
Wed Dec 17 00:33:43 UTC 2003


On Tue, 16 Dec 2003, Andy Green wrote:

> Examine the cups and samba logs.  I had the same problem, the final part of 
> the solution was that something needed setting up to accept raw type data 
> from the Windows machine.  
> 
> Here is my working /etc/smb.conf fragment for the printer
> 
> [E740]
> 	comment = Linux Epson 740
> 	path = /var/spool/lp
> 	read only = No
> 	guest ok = Yes
> 	printable = Yes
> 	printing = cups
> 	print command = cupsdoprint -P'%p' -oraw %s
> 	lpq command = lpq.cups -P'%p'
> 	lprm command = lprm.cups -P'%p' %j
> 	printer name = E740
> 	use client driver = Yes
> 
> Permissions on the spool path at the server
> 
> drwxrwxrwx    2 root     root         4096 Dec  8 13:17 /var/spool/lp
> 
> I also added user nobody to the lp group.
> 
> I hope this partial set of hints is some kind of help!
> 
> - -Andy


Thanks for the hint.  I checked my cups logs and there were complaints 
about unsupported raw data.  I added the one line below to smb.conf and 
all is well.  

 	print command = cupsdoprint -P'%p' -oraw %s

-- 
Gerry

"The lyfe so short, the craft so long to learne"  Chaucer





More information about the fedora-list mailing list