cupsaddsmb does not find my ppds

Helge Blischke H.Blischke at srz-berlin.de
Mon Aug 2 04:47:04 PDT 2004


petterei at idi.ntnu.no wrote:
> 
> Hi,
> 
> I use Debian sid with samba 3.0.5 and Cups 1.1.20 which work just fine  when printing from linux with lpr.
> 
> But when i try to add printerdrivers to Samba as root:
> 
> 'cupsaddsmb -U petterei -v tex'
> 
> i get the following errormessage:
> 
> 'Warning: No PPD file for printer "tex" - skipping!'
> 
> and /var/log/cups/error_log shows the following:
> 
> D [01/Aug/2004:01:05:49 +0200] AcceptClient: 5 from luci:631.
> D [01/Aug/2004:01:05:49 +0200] ReadClient: 5 POST / HTTP/1.1
> E [01/Aug/2004:01:05:49 +0200] get_printer_attrs: resource name '/printers/tex' no good!
> D [01/Aug/2004:01:05:49 +0200] Sending error: client-error-not-found
> D [01/Aug/2004:01:05:49 +0200] ProcessIPPRequest: 5 status_code=406
> D [01/Aug/2004:01:05:49 +0200] CloseClient: 5
> 
> Anyone know what that can be wrong?
> [...]

cupsaddsmb exports _printers_, not PPDs alopne. You must first add and
configure
the printer on your CUPS server (using lpadmin or the webinterface)
before you
can export it to samba.

Helge



-- 
H.Blischke at srz-berlin.de
H.Blischke at srz-berlin.com
H.Blischke at acm.org




More information about the cups mailing list