HP Color Laser 150a problem Print on Ubuntu 20.04

Asked by Fabio on 2020-06-09

Hello,

I have a problem with a printer HP Color Laser 150a, because it doesn't print on Ubuntu 20.04 and for this system the printer is not recognize.

I look foward for your answer for this problem for have a solution for this problem.

Thanks a lots.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Fabio
Solved:
2020-06-17
Last query:
2020-06-17
Last reply:
2020-06-15
brian_p (claremont102) said : #1

You have a USB-only printer and USB is treated in a different fashion
on Ubuntu 20.04 from previously. Of course, this isn't necessarily the
problem, Please give the outputs of

  lpinfo -v
  lpstat -a

--
Brian.

Fabio (xxfabio40xx) said : #2

Hello,

Thank you very much for your answer, I have a USB only printer.
In ubuntu 18.04 I could print with the printer HP Color Laser 150a only in monocromatic color, not at color, but not with the driver for the printer HP color laser 150a, because the driver for Ubuntu for this printer there isn,t on the HP web site . I could printer only in monocromatic color, inserting the driver for the printer Samsung C620 foomatic.
When I upgrated Ubuntu from version 18.04 to version 20.04 the printer is not recognized with nothing driver and I can't print with the print HP Color Laser 150a in Ubuntu 20.04.

Can you help me for resolve this problem?

I look foward for en early reply.

Thanks a lots.

brian_p (claremont102) said : #3

> Can you help me for resolve this problem?

I think so.

First of all - the issue has nothing to do with any USB changes on Ubuntu 20.04.
I wasn't thinking clearly at the time! Please see how you go on after reading

  https://wiki.debian.org/CUPSPrintQueues#hpuld

Fabio (xxfabio40xx) said : #4

Hello,

Thanks a lots for the URL, so I have could install correctly the driver HP_Color_Laser_15X_Series.ppd in Ubuntu 20.04 for the printer HP Color Laser 150a, but yet I don't print, because when I have added the print in Graphical Pannel the printer yet don't print. I push print but don't print.
I think that the problem is in the URL device in the configuration printer when I add the printer, becuase in the URL device I don't know what put before the follow path: /opt/hp/printer/share/ppd/HP_Color_Laser_15x_series.ppd.
I have tried to insert these path in the follow URL device but I can't print with these URL:

cups-brf:/opt/hp/ptinter/share/ppd/HP_Color_Laser_15x_Series.ppd
usb://opt/hp/ptinter/share/ppd/HP_Color_Laser_15x_Series.ppd

Can you help me?

I look foward for en early reply.

Thanks a lots.

Fabio (xxfabio40xx) said : #5

The printer HP Color Laser 150a is USB, but if I execute the command

lpinfo -v the printer is not matched.

Fabio (xxfabio40xx) said : #6

Can you help me for resolve this problem?

I look foward for en early reply.

Thanks a lots.

shivani mandora (shivani1708) said : #7

Hi,

Your problem in ubuntu 20 regarding printing is not about URI.

Please refer below link for your issue:

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1879206

Fabio (xxfabio40xx) said : #8

Hello,

Sorry but in the link https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1879206 that you have suggested I didn't find anythimg concerning my problem for HP color laser 150a; the driver HP_Color_Laser_15x_Series.ppd has been correctly installed from terminal panel, but the printer is not recognized, because I don't know what I must put in the "properties" panel which is to be filled after the printer name has been added to the others printers.
For the printer installation I have successfully followed the procedure at the link https://wiki.debian.or/CUPSPrintQueues#hpuld, but after completing the point 5 of the procedure I need to follow specific steps for Ubuntu 20.04 (because the procedure described in the link concern instead the debian distribution).
I realize that my previous answer, sent yesterday, was not clear enough, and I apologize for that.

I look forward for en early reply.

Thanks a lots..

brian_p (claremont102) said : #9

Does 'lsusb' show the printer? Give what you get for 'lpinfo -v'.

Fabio (xxfabio40xx) said : #10

The two commands "lsusb" and "lpinfo -v" don't show the printer HP Color Laser 150a; which is swicthed on. It's clear that it is not recognized as usb printer.
How can I resolve this problem?

Thanks a lots.
Fabio.

brian_p (claremont102) said : #11

'lsusb' not showing the presence of a USB device is a big problem. Try a different cable and/or a different USB port.

Fabio (xxfabio40xx) said : #12

Hello,

The cable USB connected to my printer HP Color Laser 150a was defective; after having replaced it, the command lsusb returns

lsusb

Bus 001 Device 009: ID 03f0:ea2a HP, Inc HP Color Laser 150a
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

where my printer is listed.

And the command lpinfo -v gives:

lpinfo -v

network https
network http
serial serial:/dev/ttyS0?baud=115200
network beh
network lpd
network ipps
file cups-brf:/
network socket
network ipp
direct hp
direct hpfax

Where I didn't find my printer name.
After that I have opened the cups panel administration at http://localhost:631 and added the printer as CUPS-brf; but the test page is still not printed.
However, I couldn't insert the correct URl (because I don't know it) in the requested line of the adding printer panel.

Thanks so much.
Fabio.

brian_p (claremont102) said : #13

> The cable USB connected to my printer HP Color Laser 150a was defective;
> after having replaced it ...

Good.

cups-brf is for braille printers. It is useless to you as a URI. However, there isn't
a "direct usb" line. Let us investigate a possibility why not. Do

  lsusb -v > log

and give the output of

  grep "bInterfaceProtocol.*4" log

Fabio (xxfabio40xx) said : #14

Hello,

The output of the command lsusb -v > log is the following (limited to the part of interest):

Bus 001 Device 007: ID 03f0:ea2a HP, Inc HP Color Laser 150a
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x03f0 HP, Inc
  idProduct 0xea2a
  bcdDevice 1.00
  iManufacturer 1 HP Inc.
  iProduct 2 HP Color Laser 150a
  iSerial 3 CNB3M6VFY9
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 0x0065
    bNumInterfaces 2
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 2mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x02 EP 2 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 10
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 4
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x02 EP 2 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 10
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 4
      bInterfaceProtocol 1
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x06 EP 6 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 10
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x85 EP 5 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 4
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x06 EP 6 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 10
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x85 EP 5 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 10
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0001
  Self Powered

By executing the command: grep "bInterfaceProtocol.*4" the output log is the following:

bInterfaceProtocol 4
bInterfaceProtocol 4

Thanks so much.
Fabio.

brian_p (claremont102) said : #15

 > bInterfaceClass 7 Printer
 > bInterfaceSubClass 1 Printer
 > bInterfaceProtocol 4

Your device is a USB-over-IPP printer. I will explain the significance later
if my advice works out.

For the moment, remove ippusbxd:

  apt purge ippusbxd

Stop and restart the printer device and then try 'lpinfo -v' again.

Fabio (xxfabio40xx) said : #16

Dear Brian,

With your essential help, I have finally solved the problem on my printer HP Color Laser 150a; now it works.

You are a treasure for the Ubuntu's users like me, and It would be nice to thank you personally. You have always answered my mails in a very short time.

However, now I know that I can rely on you for Ubuntu's problems.

Thanks so much.
Fabio

brian_p (claremont102) said : #17

Thank you for your kind words, Fabio, and for sticking with it. You may now mark
the issue as solved. It would help other users.

Cheers,

Brian.

Fabio (xxfabio40xx) said : #18

Hello Brian,

Thanks so much still.
Fabio.