Hello

Some PPDs in HPLIP 1.6.6a contain "1284DeviceId" which must
be "1284DeviceID" because PPD parsing tools need keywords
which match excatly to the PPD specification.

This error is detected by the new CUPS 1.2 cupstestppd.

The following PPDs contain "1284DeviceId":
HP_Business_Inkjet_2250.ppd
HP_Business_Inkjet_2280.ppd
HP_Business_Inkjet_2600.ppd
HP_Business_Inkjet_2800.ppd
HP_Business_Inkjet_3000.ppd
hp_business_inkjet_2300.ppd
hp_officejet_9100_series.ppd

By the way:
Here all what I correct in your PPDs in my RPM spec file for HPLIP:
---------------------------------------------------------------------
# Correct or remove non-working PPDs:
# Several HP PPDs contain "600x600x2dpi" which is not allowed
# according to the Adobe PPD specification section 5.9
# and which can be simply replaced by "600x1200dpi"
# because "600x1200dpi" is not used elsewhere in the PPD.
# Some PPDs contain a "*cupsFilter: ... hppostprocessing" line
# which cannot work because there is no "hppostprocessing" filter.
# Some PPDs contain "1284DeviceId" which must be "1284DeviceID".
for p in *.ppd
do perl -pi -e 's/600x600x2dpi/600x1200dpi/;' $p
   perl -pi -e 's/1284DeviceId/1284DeviceID/;' $p
   grep -q '^\*cupsFilter:.*hppostprocessing' $p && rm -v $p
done
# HP_LaserJet_5Si.ppd works only when this printer has the
# optional PostScript module:
sed -i -e '/^\*NickName:/s/ (recommended)//' HP_LaserJet_5Si.ppd
sed -i -e '/^\*ModelName:/s/5Si/5Si MX/' HP_LaserJet_5Si.ppd
# HP_LaserJet_5MP.ppd works only for the model with the
# built-in PostScript module ("MP"):
sed -i -e '/^\*ModelName:/s/5P/5MP/' HP_LaserJet_5MP.ppd
---------------------------------------------------------------------
I didn't test if there are still PPDs in HPLIP 1.6.6a which
contain "600x600x2dpi" or a "*cupsFilter: ... hppostprocessing"
line so that those test may have become obsoltete - I simply keep
them because I am lazy ;-)
Regarding the HP_LaserJet_5Si.ppd and HP_LaserJet_5MP.ppd see
https://bugzilla.novell.com/show_bug.cgi?id=164991


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: [EMAIL PROTECTED]
90409 Nuernberg, Germany                    WWW: http://www.suse.de/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

Reply via email to