Bug 643073

Summary: InstallPrinterDrivers interface needs MFG and MDL keys, not MANUFACTURER and MODEL
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jfrieben, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-printer-1.2.5-6.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-22 22:14:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 633227    

Description Tim Waugh 2010-10-14 15:18:44 UTC
Description of problem:
Although valid IEEE 1284 Device IDs can contain MANUFACTURER and MODEL keys, these must be replaced with MFG and MDL when using the InstallPrinterDrivers interface.

How to test:
1. Create /usr/lib/cups/backend/test:

==>
#!/bin/bash
cat <<"EOF"
direct test://foo "HP LaserJet 4000" "HP LaserJet 4000"
"MANUFACTURER:Hewlett-Packard;MODEL:HP LaserJet 4000
Series;COMMAND SET:PJL,MLC,PCL,PCLXL,POSTSCRIPT;"
EOF
exit 0
<==

2. Remove hpijs, gutenprint-cups, and foomatic-db-ppds packages

3. Using system-config-printer, add a queue for the dummy device

Should get prompted to install drivers.

Comment 2 Joachim Frieben 2010-10-14 16:07:15 UTC
Automatic driver detection works correctly for HP LaserJet 4000 after ugrading to system-config-printer-1.2.5-3.fc14. Retrieved packages include:

foomatic-4.0.5-1.fc14.x86_64
foomatic-db-4.0-20.20100819.fc14.noarch
foomatic-db-filesystem-4.0-20.20100819.fc14.noarch
foomatic-db-ppds-4.0-20.20100819.fc14.noarch
foomatic-filters-4.0.5-1.fc14.x86_64
gutenprint-5.2.6-1.fc14.x86_64
gutenprint-cups-5.2.6-1.fc14.x86_64
hpijs-3.10.9-1.fc14.x86_64
net-snmp-5.5-21.fc14.x86_64

system-config-printer then automatically defaults to driver hp-laserjet_4000_series-ps.ppd.

Comment 3 Fedora Update System 2010-10-15 11:44:02 UTC
system-config-printer-1.2.5-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-3.fc13

Comment 4 Fedora Update System 2010-10-15 11:45:58 UTC
system-config-printer-1.2.5-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-3.fc14

Comment 5 Fedora Update System 2010-10-17 04:53:48 UTC
system-config-printer-1.2.5-3.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-printer'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-3.fc13

Comment 6 Fedora Update System 2010-11-16 23:23:43 UTC
system-config-printer-1.2.5-6.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-11-22 22:13:24 UTC
system-config-printer-1.2.5-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.