[cups] cupsaddsmb: No PPD file for printer "HP_LaserJet_Professional_P_1102w"

Helge Blischke helgeblischke at web.de
Wed May 27 14:44:50 PDT 2015


> Am 27.05.2015 um 23:01 schrieb Florian Erfurth <f.erfurth at verbavoice.de>:
> 
> Hi Helge,
> I think its best to tell first how our setup looks like:
> printer <USB> Raspian <CUPS-Share> Ubuntu <Samba> Win7-Machines
> 
> printer = HP LaserJet Professional P1102W
> Raspian = Raspberry with ARM-CPU (Unfortunatelly here HPLIP is not working but either RAW or foo2zfs is working, I believe its because of ARM-Architecture, but who knows...)
> Ubuntu = central Samba-Printserver with x64-Architecture (this is place where I want to share printer driver too and here cupsaddsmb failed with "No PPD file for…")
That is because the only PPD for this printer is an integral part of the HPLIP package.
Tghe printer itself is a so called „GDI printer“.
> 
> In short, all Printers are connected to Raspberry by USB and there is only CUPS installed. Then we have one Printserver with Ubuntu and CUPS+Samba installed which works as Master-Printserver. There on Ubuntu-Server I can see all printers connected to Rapsberries. If I add printer to Win7 Machine and install driver by myself on client-side, everything works as charm.
> 
> The only big trouble is, we need GPO because we don't want install on 50+ clients but deploy once on WindowsServer (its Windows Server 2008 R2). For that we need driver shared on SambaServer (Ubuntu). It would be great if cupsaddsmb just could tell me *why* no ppd file is found for that printer.
> When I tried this issue at first time, I thought I could just copy driver from CD to /var/lib/samba/printers but it didn't help. Should this be working?
> 
> cu Floh
> 
> ________________________________________
> Von: cups-bounces at cups.org [cups-bounces at cups.org]" im Auftrag von "Helge Blischke [helgeblischke at web.de]
> Gesendet: Mittwoch, 27. Mai 2015 21:42
> An: The CUPS user discussion list.
> Betreff: Re: [cups] cupsaddsmb: No PPD file for printer "HP_LaserJet_Professional_P_1102w"
> 
> In a CUPS environment, this printer must be installed using HPLIP. The printer may be connected using
> USB 2.0 or WiFi (don’t know the details for this, though).
> If the printer is installed on a Win7 box, you need to share the printer on the Win7 side
> and configure the printer on the Linux (or whatever system your CUPS is running on) side
> using the HPLIP package and the smb (aka smbspool) backend to access the printer.
> If you have difficulties with the smb backend, let me know – I have a backend script
> that uses smbclient to access the printer and permits a printer specific authentication
> up to a limited extent.
> 
> Helge
> 
>> Am 27.05.2015 um 20:41 schrieb Florian Erfurth <f.erfurth at verbavoice.de>:
>> 
>> Hi,
>> thank you for your reply. I didn't know its for WinXP. We're using Windows 7 64Bit here. Well... how can I accomplish this for Win7. I'm confused since the tuts tells to use cups6-files and on that page it says its for Win2000 upwards. Like here:
>> http://blog.encomiabile.it/2010/02/17/samba-cups-and-windows-32-64-bit-drivers/
>> There it says: "it’s important that it’s running Windows 2000 or newer"
>> 
>> I believe I'm doing somehow wrong here.
>> 
>> cu Floh
>> ________________________________________
>> Von: cups-bounces at cups.org [cups-bounces at cups.org]" im Auftrag von "Helge Blischke [helgeblischke at web.de]
>> Gesendet: Mittwoch, 27. Mai 2015 18:58
>> An: The CUPS user discussion list.
>> Betreff: Re: [cups] cupsaddsmb: No PPD file for printer "HP_LaserJet_Professional_P_1102w"
>> 
>> What Windows version do you use? As far as I know, Windows XP (which is no longer supported by M$)
>> was the last Windows version the cups6 driver package could be used with.
>> 
>> Helge
>> 
>>> Am 27.05.2015 um 14:57 schrieb Florian Erfurth <f.erfurth at verbavoice.de>:
>>> 
>>> Hi,
>>> I'm pulling my hair out of my head. Well... I'm using cups 1.5.3 and trying to use driver push. I installed printer with following driver "Local Raw Printer" as described everywhere if I want use samba.
>>> 
>>> I tried different pages but they seems be old (e.g. 2009) so not sure if its still working:
>>> http://blog.encomiabile.it/2010/02/17/samba-cups-and-windows-32-64-bit-drivers/
>>> 
>>> Also I downloaded x64-driver from there and moved datas to /var/lib/cups/driver/x64:
>>> https://bitbucket.org/oherrala/puppet/src/933249d58d25/cups/files/drivers/x64/
>>> 
>>> I'm trying 'cupsaddsmb -a -v' but I got:
>>> cupsaddsmb: No PPD file for printer "HP_LaserJet_Professional_P_1102w" - Nicht gefunden
>>> 
>>> ("Nicht gefunden" means "not found.) So whats wrong. :(
>>> 
>>> My smbd.conf contains as following:
>>> [global]
>>> workgroup = WORKGROUP
>>> server string = %h server (Samba, Ubuntu)
>>> dns proxy = no
>>> 
>>> log file = /var/log/samba/log.%m
>>> max log size = 1000
>>> syslog = 0
>>> panic action = /usr/share/samba/panic-action %d
>>> security = user
>>> encrypt passwords = true
>>> passdb backend = tdbsam
>>> obey pam restrictions = yes
>>> unix password sync = yes
>>> passwd program = /usr/bin/passwd %u
>>> passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
>>> pam password change = yes
>>> map to guest = bad user
>>> 
>>> load printers = yes
>>> printing = cups
>>> printcap name = cups
>>> 
>>> usershare allow guests = yes
>>> 
>>> [printers]
>>> comment = All Printers
>>> browseable = yes
>>> path = /var/spool/samba
>>> printable = yes
>>> guest ok = no
>>> read only = yes
>>> create mask = 0700
>>> writeable = yes
>>> 
>>> [print$]
>>> comment = Printer Drivers
>>> path = /var/lib/samba/printers
>>> browseable = yes
>>> read only = yes
>>> guest ok = no
>>> write list = root, @lpadmin
>>> 
>>> Please help. :/
>>> Cu Floh
>>> _______________________________________________
>>> cups mailing list
>>> cups at cups.org
>>> https://www.cups.org/mailman/listinfo/cups
>> 
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups




More information about the cups mailing list