Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CUPS/Samba printing troubles

Status
Not open for further replies.

TonyGroves

Programmer
Aug 13, 2003
2,389
IE
I'm having trouble printing via Samba/CUPS.

The first "printer" I've set up on my Debian server is CUPS-PDF. I can "print" to it (it creates a PDF file in ~/cups-pdf ) at the server no problem. The printer is also accessible from Samba clients, but when I try to print to it from a Samba client, I always get "access denied" messages.

I can write to my home directory (including ~/cups-pdf) from a Samba client no problem, and my Samba and CUPS permissions are wide open, as far as I can see.

The relevant parts of the relevant config files are shown below, so I wonder can anybody see anything wrong there?

Thanks a lot.

smb.conf said:
printing = cups
printcap name = cups
cups options = raw
load printers = yes

[printers]
path = /var/spool/samba
public = yes
printable = yes
guest ok = yes
writable = yes

[print$]
path = /var/lib/samba/printers
browsable = yes
guest ok = yes
writable = yes

cupsd.conf said:
<Location />
Order Allow,Deny
Allow From All
Deny From None
</Location>

printers.conf said:
<DefaultPrinter AutoEmailPDF>
DeviceURI cups-pdf:/
State Idle
Accepting Yes
</Printer>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top