Unable to add printer on Focal

Bug #1858848 reported by Lee Trager
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned
hplip (Ubuntu)
Incomplete
Undecided
Till Kamppeter

Bug Description

I bought a new laptop and put Ubuntu Focal 20.04 on it. I installed hplip-gui so I can use the wizard to add my HP Color LaserJet Pro MFP M281fdw. The wizard sees the printer but when I click "Add Printer" nothing happens. There are no logs or error messages, it just sits there.

Tags: focal
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you add your 'journalctl -b 0 ' log to the bug after trying to add a printer?

The problem could be due to cups-browsed being broken at the moment on focal... Till any idea there?

Changed in hplip (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Is your "wizard" hp-setup?

Please run

hp-setup --debug

in a terminal window (or if you called another program of HPLIP, run it with the "--debug" option in a terminal now).

Please go the steps which you have taken at first, when you hit the problem. When done, post the terminal output here.

I have added HPLIP upstream to this bug report.

Changed in hplip:
status: New → Incomplete
Revision history for this message
Lee Trager (ltrager) wrote :
Download full text (10.1 KiB)

Yes it is. Looks like a Python 2 code path is being used while running with Python 3.

$ hp-setup --debug

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

Copyright (c) 2001-18 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[18526]: debug: param=
hp-setup[18526]: debug: selected_device_name=None
hp-setup[18526]: debug: Using PyQt5
hp-setup[18526]: debug: Sys.argv=['/usr/bin/hp-setup', '--debug'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup[18526]: debug: Starting GUI Event Loop...
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
hp-setup[18526]: debug: 0000: 01 07 01 ec 00 00 65 6e 00 03 df 4c 00 00 01 dc 28 78 2d 68 70 2d 76 65 72 3d 30 31 29 28 78 2d ......en...L....(x-hp-ver=01)(x-
hp-setup[18526]: debug: 0020: 68 70 2d 70 72 6f 64 5f 69 64 3d 54 36 42 38 32 41 29 28 78 2d 68 70 2d 6d 61 63 3d 39 30 33 32 hp-prod_id=T6B82A)(x-hp-mac=9032
hp-setup[18526]: debug: 0040: 34 42 42 32 35 35 31 44 29 28 78 2d 68 70 2d 67 75 69 64 3d 31 30 36 32 45 35 41 42 35 42 46 39 4BB2551D)(x-hp-guid=1062E5AB5BF9
hp-setup[18526]: debug: 0060: 29 28 78 2d 68 70 2d 6e 75 6d 5f 70 6f 72 74 3d 30 31 29 28 78 2d 68 70 2d 69 70 3d 31 39 32 2e )(x-hp-num_port=01)(x-hp-ip=192.
hp-setup[18526]: debug: 0080: 31 36 38 2e 30 30 30 2e 30 32 35 29 28 78 2d 68 70 2d 68 6e 3d 4e 50 49 41 42 35 42 46 39 29 28 168.000.025)(x-hp-hn=NPIAB5BF9)(
hp-setup[18526]: debug: 00a0: 78 2d 68 70 2d 70 31 3d 4d 46 47 3a 48 50 3b 43 4d 44 3a 50 4a 4c 2c 50 4d 4c 2c 50 43 4c 58 4c x-hp-p1=MFG:HP;CMD:PJL,PML,PCLXL
hp-setup[18526]: debug: 00c0: 2c 50 57 47 5f 52 41 53 54 45 52 2c 55 52 50 2c 50 43 4c 2c 50 44 46 2c 50 4f 53 54 53 43 52 49 ,PWG_RASTER,URP,PCL,PDF,POSTSCRI
hp-setup[18526]: debug: 00e0: 50 54 3b 4d 44 4c 3a 48 50 20 43 6f 6c 6f 72 4c 61 73 65 72 4a 65 74 20 4d 46 50 20 4d 32 37 38 PT;MDL:HP ColorLaserJet MFP M278
hp-setup[18526]: debug: 0100: 2d 4d 32 38 31 3b 43 4c 53 3a 50 52 49 4e 54 45 52 3b 44 45 53 3a 48 50 20 43 6f 6c 6f 72 20 4c -M281;CLS:PRINTER;DES:HP Color L
hp-setup[18526]: debug: 0120: 61 73 65 72 4a 65 74 20 4d 46 50 20 4d 32 38 31 66 64 77 3b 4d 45 4d 3a 4d 45 4d 3d 32 31 33 4d aserJet MFP M281fdw;MEM:MEM=213M
hp-setup[18526]: debug: 0140: 42 3b 50 52 4e 3a 54 36 42 38 32 41 3b 43 4f 4d 4d 45 4e 54 3a 52 45 53 3d 36 30 30 78 38 3b 4c B;PRN:T6B82A;COMMENT:RES=600x8;L
hp-setup[18526]: debug: 0160: 45 44 4d 44 49 53 3a 55 53 42 23 66 66 23 30 34 23 30 31 3b 43 49 44 3a 48 50 4c 4a 50 44 4c 56 EDMDIS:USB#ff#04#01;CID:HPLJPDLV
hp-setup[18526]: debug: 0180: 31 3b 49 50 50 2d 45 3a 46 46 2d 30 34 2d 30 31 2c 46 46 2d 30 34 2d 30 31 2c 46 46 2d 30 39 2d 1;IPP-E:FF-04-01,FF-04-01,FF-09-
hp-setup[18526]: debug: 01a0: 30 31 2c 46 46 2d 30 39 2d 30 31 3b 65 53 43 4c 3a 46 46 2d 30 34 2d 30 31 2c 46 46 2d 30 34 2d 01,FF-09-01;eSCL:FF-04-01,FF-04-
hp-setup[18526]: debug: 01c0: 30 31 2c 46 46 2d 30 39 2d 30 31 2c 46 46 2d 30 39 2d 30 31 3b 4d 43 54 3a 4d 46 3b 4d 43 4c 3a 01,FF-09-01,FF-09-01;MCT:MF;MC...

Changed in hplip:
status: Incomplete → In Progress
Norbert (nrbrtx)
tags: added: focal
Revision history for this message
sivakumar (kavinsivak) wrote :

Can you please try with HPLIP 3.21.6

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The printing support of the newest HPLIP version (3.21.8) is also contained in the current Printer Applications (new format for printer drivers, OS-distribution-independent):

HPLIP Printer Application:
   https://snapcraft.io/hplip-printer-app

PostScript Printer Application:
   https://snapcraft.io/ps-printer-app

Note that these only support printing, not scanning.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.