[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble setting up hplip and cups - printer ppd fails

From: ng0
Subject: Trouble setting up hplip and cups - printer ppd fails
Date: Sat, 24 Dec 2016 13:56:59 +0000

I'm having a hard time getting hplip and cups to recognize the
PPD for my printer (one of those which are not network enabled,
which is why I feel safe enough sharing the model and serial
numbers here).
Starting at
you can find the discussion adfeno and myself had about the

In addition to the output below, my user is member of lp and
lpadmin and cups webinterface complains about hpcups if I add the
printer through cups (which you should not do with HP, at least I
was told so in the past and learned that this printer does not
work with cups pdds but with hplip ppds it works):
Idle - "File 
 not available: No such file or directory"

I never was a fan of the terminal setup they have, so I'll try to
add the Qt interface next week. But this doesn't seem like the
problem here.

address@hidden ~$ sudo hp-setup -a -g -i

HP Linux Imaging and Printing System (ver. 3.16.11)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

hp-setup[9475]: debug: param=
hp-setup[9475]: debug: selected_device_name=None

Using connection type: usb

hp-setup[9475]: debug: 
DEVICE CHOOSER setup_fax=True, setup_print=True
hp-setup[9475]: debug: Cache miss: deskjet_2510_series
hp-setup[9475]: debug: Reading file: 
hp-setup[9475]: debug: Searching for section [deskjet_2510_series] in file 
hp-setup[9475]: debug: Found section [deskjet_2510_series] in file 
hp-setup[9475]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-setup[9475]: debug: Mode=0

Setting up device: hp:/usb/Deskjet_2510_series?serial=CN2A63NGG305QX

hp-setup[9475]: debug: Model=Deskjet_2510_series
hp-setup[9475]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS...
hp-setup[9475]: debug: CUPS PPD base path = 
hp-setup[9475]: debug: Foomatic PPD base path = 
hp-setup[9475]: debug: Exception: 4 (Unknown/invalid device-uri field)
hp-setup[9475]: debug: Exception: 4 (Unknown/invalid device-uri field)


hp-setup[9475]: debug: Exception: 4 (Unknown/invalid device-uri field)
Using queue name: Deskjet_2510
Locating PPD file... Please wait.
hp-setup[9475]: debug: Matching PPD list to model  deskjet_2510...
hp-setup[9475]: debug: []
hp-setup[9475]: debug: No PPD found for model deskjet_2510 using new algorithm. 
Trying old algorithm...
hp-setup[9475]: debug: 1st stage edit distance match
hp-setup[9475]: debug: Determining edit distance from deskjet_2510 (only 
showing edit distances < 4)...
hp-setup[9475]: debug: Min. dist = 9223372036854775807
hp-setup[9475]: debug: {}
hp-setup[9475]: debug: []
hp-setup[9475]: debug: []
error: No PPD found for model deskjet_2510 using old algorithm.
error: Unable to find an appropriate PPD file.

Would you like to specify the path to the correct PPD file to use (y=yes, 
n=no*, q=quit) ? y

Please enter the full filesystem path to the PPD file to use (q=quit) 
Traceback (most recent call last):
 line 560, in <module>
    desc =
TypeError: cannot use a string pattern on a bytes-like object

♥Ⓐ  ng0
PGP keys and more:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]