General
cancel
Showing results for 
Search instead for 
Did you mean: 

HP Photosmart 7150 USB printing on RH 7.3 with LP/CUPS

Karl Miller_1
Occasional Visitor

HP Photosmart 7150 USB printing on RH 7.3 with LP/CUPS

Hello, All.
I am trying to print to my 7150 from a RH73 installation. I've installed CUPS and HPIJS 1.02. A lsusb does show the printer is attached (/dev/usb/lp0). I can't get any print from CUPS to it. Printing to my Laserjet 6P works fine (parallel). Info is attached.

TIA,
Karl

cups-1.1.14-15.2
cups-drivers-1.1-0.20020313.3
cups-drivers-hpijs-1.1-0.20020313.3
cups-drivers-pnm2ppa-1.1-0.20020313.3
cups-libs-1.1.14-15.2
hpijs-1.0.2-8


Bus 001 Device 007: ID 03f0:3a02 Hewlett-Packard
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x03f0 Hewlett-Packard
idProduct 0x3a02
bcdDevice 1.00
iManufacturer 1 hp
iProduct 2 photosmart 7150
iSerial 3 MY27T460PD2F
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
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 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: (length=4)
0409 English(US)
If common sense were sold at WalMart, would anyone notice?
1 REPLY
Iain F. Brown
Valued Contributor

Re: HP Photosmart 7150 USB printing on RH 7.3 with LP/CUPS

Info from http://hpinkjet.sourceforge.net/patchfix.php#rh7273

Redhat 7.2, 7.3 fix
Use the following instructions to update hpijs on RH7.2 and RH7.3. This will allow printconf-gui to recognize all the latest hpijs printer support.

1. Follow install instructions for hpijs and GNU Ghostscript at http://hpinkjet.sourceforge.net/install.php steps 1-5.

2. Download and extract the latest foomatic database at http://www.linuxprinting.org/download/foomatic/foomatic-2.0-current.tar.gz .

3. In the foomatic directory created from the tar ball, run the following commands. This will replace the RH foomatic database with the latest support for hpijs.

#./configure --prefix=/usr
# make foomatic-combo-xml
# rm -rf /usr/share/foomatic/db/source
# make data-generators
# make install-db
# cp foomatic-combo-xml /usr/bin/

4. Delete the following directories.

# rm -rf /var/cache/foomatic/*/*

5. Run printconf-gui and delete any old print queue(s) and then add them back with the new button.

The update is now complete and ready to print from the spooler.

Iain