HP DeskJet 7xxC, 820C or 1000C does not work out of the box
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cdebconf (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
pnm2ppa (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
Binary package hint: pnm2ppa
Several people have reported that their HP DeskJet 710C, 712C, 720C, 722C, 820C or 1000C did not work in Ubuntu.
I searched for the cause for this problem by debugging foomatic-rip and looking at the command line that is generated:
renderer command: gs -q -dNOPAUSE -dPARANOIDSAFER -dBATCH -r600 -sDEVICE=ppmraw
-sOutputFile=- - | pnm2ppa -v 1000 -B 2 -t 10 -b 150 -l 10 -r 10 -x 160 -y 50
-i - -o -
We see that the model is selected with v switch depending on the PPD we used, in this case -v 1000 (meaning HP DeskJet 1000C).
pnm2ppa is a filter converting pnm images to ppa data for a specific printer model.
I did some tests with pnm2ppa filter using a pnm image and found what the problem is, see table and explanation below.
Command that I used to test:
$ pnm2ppa -v 1000 -B 2 -t 10 -b 150 -l 10 -r 10 -x 160 -y 50 -i ~/Desktop/test.pnm -o ~/Desktop/
/etc/pnm2ppa.conf: version 0 | version 710,712,
=======
no -v | empty ppa file | ppa output for 7xx*, 820 or 1000 | no ppa file
-v 710,712,
* The generated ppa output for 710, 712, 720 and 722 is identical
The problem is that the Ubuntu package pnm2ppa has a default configuration /etc/pnm2ppa.conf that contains a blanc version line (version <unknown> in the table). This results in no ppa output being generated so nothing is printed. Therefore the default /etc/pnm2ppa.conf should be altered to contain version 0 or version <modelnumber>, enabling the above mentioned printer models to work out of the box, without initial user configuration, with the foomatic PPDs. The default upstream pnm2ppa.conf contains a version 0 line. Please change this so these printers work out of the box, which is the expected behaviour.
I'm going to mark the different bugs reported for this problem as duplicates of this one.
Changed in cdebconf: | |
status: | Confirmed → Fix Released |
More readable table with pnm2ppa test results.