From Fedora Project Wiki

m (Protected "Test Day:2010-03-25 Printing" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(68 intermediate revisions by 22 users not shown)
Line 24: Line 24:
* A system with a network connection (for automatic driver installation)
* A system with a network connection (for automatic driver installation)
* A printer
* A printer
* [http://fedoraproject.org/get-prerelease Fedora 13 Alpha] (or newer)
* [http://fedoraproject.org/get-prerelease Fedora 13 Alpha] (or newer; live image is fine - see below)


== How to test? ==
== How to test? ==
Line 38: Line 38:
=== '''Debugging / filing bugs''' ===
=== '''Debugging / filing bugs''' ===


Some tips on debugging printing problems can be found on [[How_to_debug_printing_problems|this wiki page]].
Some tips on debugging printing problems can be found on [[Printing/Debugging|this wiki page]].


== Testing automated driver installation ==
== Testing automated driver installation ==
Line 53: Line 53:
When the printer is connected you should be shown a prompt to install whichever packages are required for that model.  After clicking "Install" the queue should be created and a notification will be shown about it.
When the printer is connected you should be shown a prompt to install whichever packages are required for that model.  After clicking "Install" the queue should be created and a notification will be shown about it.


Note that automatic printer driver installation currently only works in GNOME.
Note that automatic printer driver installation support in KDE requires updates-testing {{package|kdebase}} and {{package|kdeutils}} packages.  See [https://bugzilla.redhat.com/show_bug.cgi?id=576615 bug #576615] and [https://bugzilla.redhat.com/show_bug.cgi?id=576660 bug #576660].


== Printing testing ==
== Printing testing ==
Line 67: Line 67:
== Device ID checking ==
== Device ID checking ==


A printer has its own model-specific Device ID, and a printer driver has a list of Device IDs for printers it can drive.  It is certainly the case that there are printer drivers with missing or incorrect Device IDs.
'''THIS IS IMPORTANT!'''
 
'''We urgently need to know the Device ID of your printer.'''
 
A printer has its own model-specific Device ID (a key:value string with MFG, MDL and CMD fields), and a printer driver has a list of Device IDs for printers it can drive.  It is certainly the case that there are printer drivers with missing or incorrect Device IDs.


A script to help fix this is provided in the system-config-printer package and can be run like this:
A script to help fix this is provided in the system-config-printer package and can be run like this:
Line 75: Line 79:
</pre>
</pre>


It will prompt you for your root password because CUPS requires administrative authentication in order to provide a list of attached devices.
{{admon/important|Please use [https://admin.fedoraproject.org/updates/system-config-printer-1.2.0-12.fc13 system-config-printer-1.2.0-12.fc13] as it contains fixes for this script.}}
 
It will prompt you for your root password because CUPS requires administrative authentication in order to provide a list of attached devices.  It will list printers physically connected to your computer, and SNMP-aware printers on the local network provided you unblock UDP port 161 using {{package|system-config-firewall}}.


You should get output like this:
You should get output like this:
Line 81: Line 87:
<pre>
<pre>
Fetching driver list
Fetching driver list
└── HP DESKJET 990C: MFG:HEWLETT-PACKARD;MDL:DESKJET 990C;
└── HP DESKJET 990C: MFG:HEWLETT-PACKARD;MDL:DESKJET 990C;CMD:MLC,PCL,PML;
     ├── drv:///hp/hpcups.drv/hp-deskjet_990c.ppd [/usr/share/cups/drv/hp/hpcups.drv]
     ├── drv:///hp/hpcups.drv/hp-deskjet_990c.ppd [/usr/share/cups/drv/hp/hpcups.drv]
     ├── foomatic:HP-DeskJet_990C-cdj550.ppd [/usr/lib/cups/driver/foomatic]
     ├── foomatic:HP-DeskJet_990C-cdj550.ppd [/usr/lib/cups/driver/foomatic]
     ├── foomatic:HP-DeskJet_990C-chp2200.ppd [/usr/lib/cups/driver/foomatic]
     ├── foomatic:HP-DeskJet_990C-chp2200.ppd [/usr/lib/cups/driver/foomatic]
     ├── foomatic:HP-DeskJet_990C-hpijs.ppd [/usr/lib/cups/driver/foomatic]
     ├── foomatic:HP-DeskJet_990C-hpijs.ppd [/usr/lib/cups/driver/foomatic]
     ├── foomatic:HP-DeskJet_990C-pcl3.ppd [/usr/lib/cups/driver/foomatic]
     └── foomatic:HP-DeskJet_990C-pcl3.ppd [/usr/lib/cups/driver/foomatic]
     ├── gutenprint.5.2://hp-dj_990c/expert [/usr/lib/cups/driver/gutenprint.5.2]
     MISSING gutenprint.5.2://hp-dj_990c/expert [/usr/lib/cups/driver/gutenprint.5.2]
     └── gutenprint.5.2://hp-dj_990c/simple [/usr/lib/cups/driver/gutenprint.5.2]
     MISSING gutenprint.5.2://hp-dj_990c/simple [/usr/lib/cups/driver/gutenprint.5.2]
</pre>
</pre>


The "MFG:...;MDL:...;" part is the Device ID for this printer and the lines below it are the drivers which have been identified for it.  The package or filename providing this driver is shown in [brackets] after it.
The "MFG:...;MDL:...;CMD:...;" part is the Device ID for this printer and the lines below it are the drivers which have been identified for it.  The package or filename providing this driver is shown in [brackets] after it.
 
If the driver which should be used for this printer is not listed, or you get a line saying "MISSING", please file a bug against that driver quoting the Device ID.  For example, the above output would indicate that the gutenprint driver ought to report that Device ID but does not.
 
If you cannot run check-device-ids.py for any reason, use this to fetch the Device ID from CUPS:


If the driver which should be used for this printer is not listed, please file a bug against that driver quoting the Device ID.
<pre>
su -c 'lpinfo --exclude-schemes=dnssd,hal -l -v'
</pre>


== Test Results ==
== Test Results ==
Line 121: Line 133:
| <references/>
| <references/>
|-
|-
| [[User:mrniranjan|mrniranjan]]
| [http://www.smolts.org/client/show/pub_c179edde-d833-48f9-bf5b-e54c3598ffb1 HP LaseJet 1018]
| TBD <ref>See {{bz|576616}}</ref>
| <references/>
|-
| [[User:Rombobeorn|Björn Persson]]
| [http://www.smolts.org/client/show/pub_88cd7ab2-c7c0-46b9-9a91-e7687128a21c HP Deskjet 845c]
| PASS
|
|-
| [[User:eagleton|eagleton]]
| HP Deskjet 959C
| PASS
| See {{bz|577022}}
|-
| [japa/fi]
| [http://www.smolts.org/client/show/pub_7eeedfe4-3190-4988-b742-6eb5d7d8800f Canon iP4000]
| FAIL
| "No printer driver for Canon iP4000"
'''Without a Device ID I cannot fix this!''' - twaugh
|-
| [[User:Till]]
| HP Laserjet 1100 using USB to parallel adapter
| PASS
|
|-
| [[User:emoret|Eric Moret]]
| HP Color LaserJet CM1312nfi MFP using USB
| FAIL <ref>See {{bz|581005}}</ref>
| <references/>
|-
! User
! User
! Smolt Profile / Printer Model
! Smolt Profile / Printer Model
Line 127: Line 171:
|-
|-
|}
|}
|


=== Printing testing ===
=== Printing testing ===
Line 168: Line 213:
| FAIL
| FAIL
| TBD
| TBD
| FAIL <ref>See {{bz|576616}}</ref>
| FAIL See {{bz|576616}} <references/>
| <references/>
|-
| [[User:jgallagher|jgallagher]]
| [http://www.smolts.org/client/show/pub_1e4bf5d1-5f62-4bd8-8e41-4a7608841bc3 HP Photosmart C3180]
| PASS (drivers downloaded/installed after running check-device-ids.py)
| PASS
| N/A
| PASS
| N/A
| N/A<references/>
|-
| [[User:Rombobeorn|Björn Persson]]
| [http://www.smolts.org/client/show/pub_88cd7ab2-c7c0-46b9-9a91-e7687128a21c HP Deskjet 845c]
| PASS
| PASS
| N/A
| PASS
| PASS (The printer '''is''' selectable for printing when unplugged or out of paper; jobs are queued and then printed when the printer becomes ready.)
|
|-
| [[User:Adamwill|Adam Williamson]]
| Samsung ML-1640 (network)
| N/A
| N/A
| PASS
| N/A
| PASS (The printer '''is''' selectable for printing when unplugged or out of paper; jobs are queued and then printed when the printer becomes ready.)
|
|-
|-
! User
! User
! Smolt Profile / Printer Model
! Smolt Profile / Printer Model
Line 185: Line 255:
=== Device IDs ===
=== Device IDs ===
To report missing or incorrect Device IDs found by using the check-device-ids script, please use the table below.
To report missing or incorrect Device IDs found by using the check-device-ids script, please use the table below.
Please note: there is no need to add entries to this table if the Device ID is present and correct in the relevant drivers.


{|
{|
Line 192: Line 264:
! Expected driver
! Expected driver
! References
! References
|-
| [[User:nmarci|nmarci]]
| [http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&fcategoryid=2610&modelid=13368 Canon PIXMA MP160]
| Canon MP160: MFG:Canon;MDL:MP160;CMD:BJL,BJRaster3,BSCCe;
|
| <references/>
|-
|-
| [[User:FasUser]]  
| [[User:FasUser]]  
Line 201: Line 279:
| [[User:dramsey|dramsey]]  
| [[User:dramsey|dramsey]]  
| [http://www.smolts.org/client/show/pub_fe3ea862-adcd-46a6-b485-5c6cf05d3f79 HP Officejet Pro L7680 Color ALL-IN-ONE]
| [http://www.smolts.org/client/show/pub_fe3ea862-adcd-46a6-b485-5c6cf05d3f79 HP Officejet Pro L7680 Color ALL-IN-ONE]
| TBD <ref>Reference data</ref>
| '''(But what's the Device ID?)''' <ref>Reference data</ref>
| TBD
| '''Which drivers need it added?'''
| <references/>
| <references/>
|-
|-
| [[User:mrniranjan|mrniranjan]]  
| [[User:mrniranjan|mrniranjan]]  
| HP LaserJet 1018
| HP LaserJet 1018
| TBD <ref>See {{bz|576616}}</ref>
| '''(But what's the Device ID?)''' <ref>See {{bz|576616}}</ref>
| hplip
| hplip
| <references/>
|-
| [[User:twaugh|twaugh]]
| [http://www.smolts.org/client/show/pub_69437d26-71fe-49dc-984b-c94b8be28f20 Epson Stylus D78]
| MFG:EPSON;MDL:Stylus D78;CMD:ESCPL2,BDC,D4,D4PX;
| gutenprint, foomatic
| <references/>
|-
| [[User:giallu|giallu]]
| HP LaserJet 2300
| MFG:Hewlett-Packard;MDL:hp LaserJet 2300 series;CMD:PJL,MLC,BIDI-ECP,PCLXL,PCL,PJL,POSTSCRIPT;
| hplip <ref>[https://bugzilla.redhat.com/show_bug.cgi?id=576928 bug #576928]</ref>
| <references/>
|-
| [[User:emoret|Eric Moret]]
| HP Color LaserJet CM1312nfi MFP using USB
| HP Color LaserJet CM1312nfi MFP (hp): MFG:Hewlett-Packard;MDL:HP Color LaserJet CM1312nfi MFP; <br> HP Color LaserJet CM1312nfi MFP (usb): MFG:Hewlett-Packard;MDL:HP Color LaserJet CM1312nfi MFP;CMD:PJL,PML,PCLXL,POSTSCRIPT,PCL;
| hpijs <ref>See {{bz|581005}}</ref>
| <references/>
| <references/>
|-
|-
Line 219: Line 315:
|}
|}


[[Category:Fedora 13 Test Days]]
=== Other bugs noted ===
 
{|
! User
! Description
! Status
! References
|-
| [[User:giallu|giallu]]
| Ink level icon hard to read <ref>[https://bugzilla.redhat.com/show_bug.cgi?id=576930 bug #576930]</ref>
| '''FIXED'''
| <references/>
|-
| [[User:twaugh|twaugh]]
| Device ID unreliable for network devices <ref>e.g. HP LaserJet 2300 using dnssd</ref>
|
| <references/>
|-
|}
 
[[Category:Fedora 13 Test Days]]

Latest revision as of 02:51, 4 September 2023

DATE TIME WHERE
Thu March 25, 2010 ALL DAY #fedora-test-day (webirc)

What to test?

Today's instalment of Fedora Test Day will focus on printing, and specifically on Automatic Print Driver Installation.

If you come to this page after the test day is completed (or even before), your testing is still valuable and you can use the information on this page to test with your printer and provide feedback.

Who's available

The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...

  • Development - Tim Waugh (IRC: twaugh) 09:00 -- 17:00 UTC
  • Development - Jiri Popelka (IRC: jpopelka) 10:00 -- 18:00 UTC
  • Quality Assurance - Yulia Kopkova (IRC: ykopkova) 11:00 -- 18:00 UTC

Prerequisite for Test Day

  • A system with a network connection (for automatic driver installation)
  • A printer
  • Fedora 13 Alpha (or newer; live image is fine - see below)

How to test?

Update your machine

If you're running Fedora 13, make sure you have all the current updates for it installed, using the update manager. If you want to try Rawhide, see the instructions on the Rawhide page on the various ways in which you can install or update to Rawhide. Or:

Live image

Optionally, you may download a non-destructive Rawhide live image for your architecture. Tips on using a live image are available at FedoraLiveCD. Live images are available for the Fedora 13 Beta 'test compose' and also daily generated live images of Fedora 13.

Debugging / filing bugs

Some tips on debugging printing problems can be found on this wiki page.

Testing automated driver installation

Start with the printer disconnected from the computer.

To test automatic printer driver installation, make sure to remove these packages first:

When the printer is connected you should be shown a prompt to install whichever packages are required for that model. After clicking "Install" the queue should be created and a notification will be shown about it.

Note that automatic printer driver installation support in KDE requires updates-testing kdebase and kdeutils packages. See bug #576615 and bug #576660.

Printing testing

Here are some things to look at:

Device ID checking

THIS IS IMPORTANT!

We urgently need to know the Device ID of your printer.

A printer has its own model-specific Device ID (a key:value string with MFG, MDL and CMD fields), and a printer driver has a list of Device IDs for printers it can drive. It is certainly the case that there are printer drivers with missing or incorrect Device IDs.

A script to help fix this is provided in the system-config-printer package and can be run like this:

python /usr/share/system-config-printer/check-device-ids.py
Please use system-config-printer-1.2.0-12.fc13 as it contains fixes for this script.

It will prompt you for your root password because CUPS requires administrative authentication in order to provide a list of attached devices. It will list printers physically connected to your computer, and SNMP-aware printers on the local network provided you unblock UDP port 161 using system-config-firewall.

You should get output like this:

Fetching driver list
└── HP DESKJET 990C: MFG:HEWLETT-PACKARD;MDL:DESKJET 990C;CMD:MLC,PCL,PML;
    ├── drv:///hp/hpcups.drv/hp-deskjet_990c.ppd [/usr/share/cups/drv/hp/hpcups.drv]
    ├── foomatic:HP-DeskJet_990C-cdj550.ppd [/usr/lib/cups/driver/foomatic]
    ├── foomatic:HP-DeskJet_990C-chp2200.ppd [/usr/lib/cups/driver/foomatic]
    ├── foomatic:HP-DeskJet_990C-hpijs.ppd [/usr/lib/cups/driver/foomatic]
    └── foomatic:HP-DeskJet_990C-pcl3.ppd [/usr/lib/cups/driver/foomatic]
    MISSING gutenprint.5.2://hp-dj_990c/expert [/usr/lib/cups/driver/gutenprint.5.2]
    MISSING gutenprint.5.2://hp-dj_990c/simple [/usr/lib/cups/driver/gutenprint.5.2]

The "MFG:...;MDL:...;CMD:...;" part is the Device ID for this printer and the lines below it are the drivers which have been identified for it. The package or filename providing this driver is shown in [brackets] after it.

If the driver which should be used for this printer is not listed, or you get a line saying "MISSING", please file a bug against that driver quoting the Device ID. For example, the above output would indicate that the gutenprint driver ought to report that Device ID but does not.

If you cannot run check-device-ids.py for any reason, use this to fetch the Device ID from CUPS:

su -c 'lpinfo --exclude-schemes=dnssd,hal -l -v'

Test Results

Please report all bugs into Bugzilla against the appropriate component:

  • For problems involving the printer status icon, the configuration tool, or automatically created queues, file bugs against system-config-printer
  • For problems using the File->Print.. dialog, file bugs against the application or (if the GTK+ print dialog is being used) against gtk2
  • For bugs in particular drivers, file bugs against them e.g. hplip, gutenprint, foomatic, cups
  • If still unsure, file bugs against cups (or ask on IRC)

Automated driver installation

User Smolt Profile / Printer Model Printer Connected References
User:FasUser HP DeskJet 990C FAIL [1]
  1. See RHBZ #12345
dramsey HP Officejet Pro L7680 Color ALL-IN-ONE TBD [1]
  1. Reference data
mrniranjan HP LaseJet 1018 TBD [1]
  1. See RHBZ #576616
Björn Persson HP Deskjet 845c PASS
eagleton HP Deskjet 959C PASS See RHBZ #577022
[japa/fi] Canon iP4000 FAIL "No printer driver for Canon iP4000"

Without a Device ID I cannot fix this! - twaugh

User:Till HP Laserjet 1100 using USB to parallel adapter PASS
Eric Moret HP Color LaserJet CM1312nfi MFP using USB FAIL [1]
  1. See RHBZ #581005
User Smolt Profile / Printer Model Printer Connected References

|

Printing testing

Please try any of the test cases you feel able to, and mark the boxes with the word PASS if everything worked perfectly or FAIL if you had problems. If you can't carry out a particular test (e.g. connect/reconnect a network printer), mark the box with N/A.

It would be useful to have extra information about what worked or what didn't -- see the example row for how to add references.

User Smolt Profile / Printer Model Local Printer Reconnect Network Printer Printing Problems References
User:FasUser HP DeskJet 990C PASS PASS N/A FAIL [1] PASS
  1. See RHBZ #12345
dramsey HP Officejet Pro L7680 Color ALL-IN-ONE TBD TBD TBD [1] TBD TBD
  1. Reference
mrniranjan HP LaserJet 1018 FAIL PASS N/A FAIL TBD FAIL See RHBZ #576616
jgallagher HP Photosmart C3180 PASS (drivers downloaded/installed after running check-device-ids.py) PASS N/A PASS N/A N/A
Björn Persson HP Deskjet 845c PASS PASS N/A PASS PASS (The printer is selectable for printing when unplugged or out of paper; jobs are queued and then printed when the printer becomes ready.)
Adam Williamson Samsung ML-1640 (network) N/A N/A PASS N/A PASS (The printer is selectable for printing when unplugged or out of paper; jobs are queued and then printed when the printer becomes ready.)
User Smolt Profile / Printer Model Local Printer Reconnect Network Printer Complex Problems References

Device IDs

To report missing or incorrect Device IDs found by using the check-device-ids script, please use the table below.

Please note: there is no need to add entries to this table if the Device ID is present and correct in the relevant drivers.

User Smolt Profile / Printer Model Device ID Expected driver References
nmarci Canon PIXMA MP160 Canon MP160: MFG:Canon;MDL:MP160;CMD:BJL,BJRaster3,BSCCe;
User:FasUser Hewson Zippatron 40XC MFG:Hewson;MDL:Zippatron; gutenprint [1]
  1. See RHBZ #12345
dramsey HP Officejet Pro L7680 Color ALL-IN-ONE (But what's the Device ID?) [1] Which drivers need it added?
  1. Reference data
mrniranjan HP LaserJet 1018 (But what's the Device ID?) [1] hplip
  1. See RHBZ #576616
twaugh Epson Stylus D78 MFG:EPSON;MDL:Stylus D78;CMD:ESCPL2,BDC,D4,D4PX; gutenprint, foomatic
giallu HP LaserJet 2300 MFG:Hewlett-Packard;MDL:hp LaserJet 2300 series;CMD:PJL,MLC,BIDI-ECP,PCLXL,PCL,PJL,POSTSCRIPT; hplip [1]
Eric Moret HP Color LaserJet CM1312nfi MFP using USB HP Color LaserJet CM1312nfi MFP (hp): MFG:Hewlett-Packard;MDL:HP Color LaserJet CM1312nfi MFP;
HP Color LaserJet CM1312nfi MFP (usb): MFG:Hewlett-Packard;MDL:HP Color LaserJet CM1312nfi MFP;CMD:PJL,PML,PCLXL,POSTSCRIPT,PCL;
hpijs [1]
  1. See RHBZ #581005
User Smolt Profile / Printer Model Device ID Expected driver References

Other bugs noted

User Description Status References
giallu Ink level icon hard to read [1] FIXED
twaugh Device ID unreliable for network devices [1]
  1. e.g. HP LaserJet 2300 using dnssd