foomatic *.xml to cups *.ppd does not work with <arg_max>/<arg_min> values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
foomatic-filters (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: foomatic-filters
Find details at:
https:/
rick@rick-vbox:~$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
rick@rick-vbox:~$ apt-cache policy foomatic-filters
foomatic-filters:
Installed: 4.0.3-0ubuntu2
Candidate: 4.0.3-0ubuntu2
Version table:
*** 4.0.3-0ubuntu2 0
500 http://
100 /var/lib/
This works on Fedora 10 with cups-1.
It does not work with Fedora 11 and later with cups-1.
F10:
f10# grep "foo2hp2600-wrapper " /var/log/messages
Oct 26 19:15:33 localhost foo2hp2600-wrapper: foo2hp2600-wrapper -z0 -b1 -p1
-s7 -m1 -d1 -n1 -Oc=0 -Om=0 -Oy=0 -Gdefault
f10# grep "foo2hp2600-wrapper " /var/log/
D [26/Oct/
-b1 -p1 -s7 -m1 -d1 -n1 -Oc=0 -Om=0 -Oy=0 -Gdefault
D [26/Oct/
"foo2hp2600-wrapper -z0 -b1 -p1 -s7 -m1 -d1 -n1 -Oc=0 -Om=0 -Oy=0
-Gdefault "
D [26/Oct/
-z0 -b1 -p1 -s7 -m1 -d1 -n1 -Oc=0 -Om=0 -Oy=0 -Gdefault "
F11:
f11# grep "foo2hp2600-wrapper " /var/log/messages
Oct 27 06:28:04 localhost foo2hp2600-wrapper: foo2hp2600-wrapper -z0 -b1 -p1
-m1 -s7 -d1 -Gdefault
f11# grep "foo2hp2600-wrapper " /var/log/
D [27/Oct/
"foo2hp2600-wrapper -z0 -b1 -p1 -m1 -s7 -d1 -Gdefault "
Note the lack of "-Oc=0 -Om=0 -Oy=0" in the foo2hp2600-wrapper line!
I think is it because the XML using <arg_max>
<arg_min>
doesn’t get translated to a (possibly depracated?) *.ppd syntax (HP-
Color_LaserJet_
I note that the lx5000 and others are the same way...
foo2hp-
<option type="int" id="opt/
<!-- A multilingual <comments> block can appear here, too;
it should be treated as documentation for the user. -->
<arg_
</option>
HP-Color_
{snip}
*OpenGroup: Alignment (in rows)/Alignment (in rows)
*OpenUI *alignc/Alignment Offset Cyan: PickOne
*FoomaticRI
*FoomaticRI
*FoomaticRI
*OrderDepen
*Defaultalignc: 0
*FoomaticRI
*alignc -100/-100: "%% FoomaticRIPOpti
*alignc -98/-98: "%% FoomaticRIPOpti
*alignc -96/-96: "%% FoomaticRIPOpti
*alignc -94/-94: "%% FoomaticRIPOpti
{snip}
*CloseUI: *alignc
{snip for magenta and yellow)}
Repeat By:
$ wget -O foo2zjs.tar.gz http://
$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs
$ make
$ ./getweb 2600n # Get HP Color LaserJet 2600n .ICM files
$ su
$ make install
Use
and
$ touch ~/prn
$ su
# grep File /etc/cups/
FileDevice Yes
if you don't have a HP CLJ 1600/2600/CP1215 printer.
Should be fixed in foomatic-filters 4.0.4 which is uploaded to Lucid now.