|
Bugzilla – Full Text Bug Listing |
| Summary: | Default HP LaserJet 5Si printer setup results in raw Postscript output. | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Bernie Hoefer <SuSE-User02> |
| Component: | Printing | Assignee: | Johannes Meixner <jsmeix> |
| Status: | RESOLVED FIXED | QA Contact: | Johannes Meixner <jsmeix> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | joop.boonen, suse-beta, SuSE-User02 |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Has your "HP LaserJet 5Si" built-in PostScript support? I assume it hasn't. But even LinuxPrinting.org lists it as PostScript printer: http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_5Si The PPD is for the "... MX Postscript" model version. I verified that YaST finds this PPD file even for the "normal" model. The reason is that in this PPD there is the entry: *ModelName: "HP LaserJet 5Si" YaST depends on this ModelName entry to find matching PPDs for a particular printer model, see http://en.opensuse.org/SDB:Printer_Configuration_from_SUSE_LINUX_9.1_on "General information on setting up PostScript printers" for some details how YaST works. Obviously a bug in the PPD files. Unfortunately it is now too late to be fixed for Suse Linux 10.1 so that it must wait for the version after 10.1 By the way: Regarding "filtering turned off ... does not help", see http://en.opensuse.org/SDB:CUPS_in_a_Nutshell why you need a filter, without filtering you get "raw" output. (In reply to comment #1) === > Has your "HP LaserJet 5Si" built-in PostScript support? > I assume it hasn't. === From what you wrote below, you found out the same thing I did: no, the 5Si doesn't have built-in PostScript support. One has to buy a PostScript "personality" SIMM. This SIMM is optional for the 5Si and 5Si NX, but standard on the 5Si MX. (See page 1-2 of the manual for details: <http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=25478&targetPage=http%3A%2F%2Fh20000.www2.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fbpl07288%2Fbpl07288.pdf>.) === > But even LinuxPrinting.org lists it as PostScript printer: > http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_5Si === Hmm. I'll have write them or edit their wiki to note what the 5Si manual says concerning PostScript support. === > The PPD is for the "... MX Postscript" model version. > I verified that YaST finds this PPD file even for the "normal" model. === Yep. === > Obviously a bug in the PPD files. > Unfortunately it is now too late to be fixed for Suse Linux 10.1 > so that it must wait for the version after 10.1 === OK. Thanks! === > By the way: > Regarding "filtering turned off ... does not help", see > http://en.opensuse.org/SDB:CUPS_in_a_Nutshell > why you need a filter, without filtering you get "raw" output. === Thanks also for the helpful link. We get those PPDs from HP and as far as I know HP makes also the data for LinuxPrinting. I will contact HP to inform them about this bug in their PPDs. For your information: This is the matching HP web site: http://hplip.sourceforge.net/ *** Bug 146621 has been marked as a duplicate of this bug. *** The same problem for HP Laserjet 5P, see bug #146621 We have the following PPDs for those models:
Use a command like:
for p in $( find /usr/share/cups/model | grep '\.ppd\.gz$' )
do zcat $p \
| egrep '^\*ModelName:|^\*NickName:' \
| grep -A1 -i '^\*ModelName:[^L]*LaserJet 5Si' && echo -e "$p\n"
done
LaserJet 5Si:
-------------------------------------------------------------------------------
*ModelName: "HP LaserJet 5Si"
*NickName: "HP LaserJet 5Si/5Si MX Postscript (recommended)"
/usr/share/cups/model/manufacturer-PPDs/hp/HP_LaserJet_5Si.ppd.gz
*ModelName: "HP LaserJet 5Si Mopier PS"
*NickName: "HP LaserJet 5Si Mopier Postscript (recommended)"
/usr/share/cups/model/manufacturer-PPDs/hp/HP_LaserJet_5Si_Mopier.ppd.gz
*ModelName: "HP LaserJet 5Si"
*NickName: "HP LaserJet 5Si Foomatic/hpijs"
/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_5Si-hpijs.ppd.gz
*ModelName: "HP LaserJet 5Si"
*NickName: "HP LaserJet 5Si/5Si MX Postscript (recommended)"
/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_5Si.ppd.gz
*ModelName: "HP LaserJet 5Si Mopier PS"
*NickName: "HP LaserJet 5Si Mopier Postscript (recommended)"
/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_5Si_Mopier.ppd.gz
*ModelName: "HP LaserJet 5Si"
*NickName: "HP LaserJet 5Si Foomatic/gimp-print"
/usr/share/cups/model/HP/LaserJet_5Si-gimp-print.ppd.gz
*ModelName: "HP LaserJet 5Si"
*NickName: "HP LaserJet 5Si Foomatic/lj4dith"
/usr/share/cups/model/HP/LaserJet_5Si-lj4dith.ppd.gz
*ModelName: "HP LaserJet 5Si"
*NickName: "HP LaserJet 5Si Foomatic/lj5gray"
/usr/share/cups/model/HP/LaserJet_5Si-lj5gray.ppd.gz
*ModelName: "HP LaserJet 5Si"
*NickName: "HP LaserJet 5Si Foomatic/ljet4"
/usr/share/cups/model/HP/LaserJet_5Si-ljet4.ppd.gz
*ModelName: "HP LaserJet 5Si"
*NickName: "HP LaserJet 5Si - CUPS+Gimp-Print v4.2.7"
/usr/share/cups/model/stp/pcl-5si.ppd.gz
-------------------------------------------------------------------------------
LaserJet 5P
-------------------------------------------------------------------------------
*ModelName: "HP LaserJet 5P"
*NickName: "HP LaserJet 5MP Postscript (recommended)"
/usr/share/cups/model/manufacturer-PPDs/hp/HP_LaserJet_5MP.ppd.gz
*ModelName: "HP LaserJet 5P"
*NickName: "HP LaserJet 5P Foomatic/hpijs"
/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_5P-hpijs.ppd.gz
*ModelName: "HP LaserJet 5P"
*NickName: "HP LaserJet 5MP Postscript (recommended)"
/usr/share/cups/model/manufacturer-PPDs/hplip/HP_LaserJet_5MP.ppd.gz
*ModelName: "HP LaserJet 5P"
*NickName: "HP LaserJet 5P Foomatic/gimp-print"
/usr/share/cups/model/HP/LaserJet_5P-gimp-print.ppd.gz
*ModelName: "HP LaserJet 5P"
*NickName: "HP LaserJet 5P Foomatic/lj4dith"
/usr/share/cups/model/HP/LaserJet_5P-lj4dith.ppd.gz
*ModelName: "HP LaserJet 5P"
*NickName: "HP LaserJet 5P Foomatic/ljet4 (recommended)"
/usr/share/cups/model/HP/LaserJet_5P-ljet4.ppd.gz
-------------------------------------------------------------------------------
I think I can fix both problems by simply removing (recommended)
from some PPDs in manufacturer-PPDs and in hplip.
Fixed the PPDs in manufacturer-PPDs and in hplip as follows: ------------------------------------------------------------------------------- sed -i -e '/^\*NickName:/s/ (recommended)//' HP_LaserJet_5Si.ppd sed -i -e '/^\*ModelName:/s/5Si/5Si MX/' HP_LaserJet_5Si.ppd sed -i -e '/^\*ModelName:/s/5P/5MP/' HP_LaserJet_5MP.ppd ------------------------------------------------------------------------------- Submitted manufacturer-PPDs and hplip to STABLE. Tested with YaST. It worked only after I removed /var/lib/YaST2/ppd_db.ycp then I got no longer the PostScript PPDs for this printers. For the problem "worked only after I removed /var/lib/YaST2/ppd_db.ycp" see bug #169694. |
After installing SuSE Linux 10.0 with default options, I went to add a printer. (YaST2 --> Hardware --> Printer.) Trying to print directly to the socket on my HP LaserJet 5Si printer with the default settings results in raw Postscript coming out of the printer. Name And Basic Setting Name For Printing: HP5Si Printer Description: HP LaserJet 5Si Printer Location: Office. Do Local Filtering: Yes Printer Model Manufacturer: HP Model: LaserJet 5Si PPD File: HP LaserJet 5Si/5Si MX Postscript (recommended) (manufacturer-PPDs/hp/HP_LaserJet_5Si.ppd.gz) Connection: Direct TCP port printer 5si.example.net The printer will work with the "HP LaserJet 5Si Foomatic/gimp-print (HP/LaserJet_5Si-gimp-print.ppd.gz)" PPD file, but since the other one is first in the list and has "(recommended)" in its title, it should work, too. I have also tried configuring the printer with local filtering turned off, but that does not help.