Bug 178716 - RFE - Add support for the HP DeviceURI
Summary: RFE - Add support for the HP DeviceURI
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-23 18:46 UTC by David Hollis
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-24 17:19:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Hollis 2006-01-23 18:46:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5

Description of problem:
With HPLIP, an 'hp' backend is available for CUPS to provide better support for HP  inkjets/multifunctions.  I have an OfficeJet 7210 multi-function which I can setup fine with s-c-p for printing, but I can not use the HP toolbox to get better support for the device (scanning, ink levels, etc).  If I use the 'hp-makeuri' command, it spits out a CUPS DeviceURI that I can then use with /etc/cups/printers.conf to get this support.  Unfortunately, if foomatic (or anything else that rebuilds the printers.conf) gets updated/installed, I'm back to a socket DeviceURI.  It looks to me like all that might be needed is a bit of code in utils/backend.py in the device_uri() subroutine, but I'm not a python guy and haven't figured out how all of the printer configuration is stored in the system.

For an idea of what the HP DeviceURI looks like:

[dhollis@dhollis-lnx ~]$ hp-makeuri 172.16.9.3

 HP Linux Imaging and Printing System (ver. 0.9.7)
 Device URI Creation Utility ver. 2.5

 Copyright (c) 2003-5 Hewlett-Packard 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.

 Creating URIs for '172.16.9.3':
CUPS URI: hp:/net/Officejet_7200_series?ip=172.16.9.3
SANE URI: hpaio:/net/Officejet_7200_series?ip=172.16.9.3

[dhollis@dhollis-lnx ~]$


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install HP inkjet or multi-function printer
2. Configure with s-c-p as JetDirect
3. Change the DeviceURI to the HP backend
4. /usr/sbin/printconf-backend --force-rebuild
5. DeviceURI is now back to socket://x.x.x.x
  

Additional info:

Comment 1 Tim Waugh 2006-01-23 22:58:24 UTC
You've reported this against 'devel' -- but are you really running rawhide? 
What does 'rpm -q system-config-printer' say?

Comment 2 David Hollis 2006-01-24 14:47:36 UTC
[dhollis@dhollis-lnx ~]$ rpm -q system-config-printer
system-config-printer-0.6.149-1


Comment 3 Tim Waugh 2006-01-24 17:19:39 UTC
Oh, are you actually editing an entry in the printers.conf file that
system-config-printer created?  You can't do that -- make a new queue using
http://localhost:631/ instead.


Note You need to log in before you can comment on or make changes to this bug.