fonts too thick if printing from Openoffice on HP inkjet (PPD misses '*TTRasterizer: Type42' line)

Bug #270612 reported by Superkatze
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned
hplip (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: hplip

Ubuntu 8.10:

Steps to reproduce:
-----------------------------
Start Openoffice
select some truetype font (e.g. Bitstream Vera Sans)
write some text
print

Result:
-----------------------------
Fonts on printout are much thicker than if you export the document to pdf before printing and printing this pdf file.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

This can also be a problem of OpenOffice.org. Do you have a printer named "PDF" in your printing dialogs? If you print to this printer, you get PDF files in the PDF/ subdirectory of your home directory. Try the two methods of printing your OpenOffice.org file again, but print on this "PDF" printer. Do you get the same results?

Revision history for this message
Superkatze (superkatze) wrote :

No Sir. I don't have a PDF printer. How do I create one? (I'm using KDE 4.1 as my desktop).

Revision history for this message
Superkatze (superkatze) wrote :

Ah, I think I found it out: I just created a PDF printer using "spadmin" and after printing to this printer the fonts in the resulting PDF are as thick as if printed to my printer directly.

So do you think this is a problem of OpenOffice.org?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Yes. It seems that the printing function produces too thick fonts and "Export to PDF" works correctly.

Moving to OpenOffice.org ...

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

I can reproduce this as well.

A

Revision history for this message
Superkatze (superkatze) wrote :

What Printer do you own Aaron?

This is a strange bug. I just installed OOo 2.4.1 from www.openoffice.org on Debian Etch 4.0r4 and it works.

But if I install OOo 2.4.1 from www.openoffice.org on Ubuntu 8.10 Alpha 6 it doesn't.

So this has probably something to do with other packages.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

I tested this with a Deskjet 6540. I work on the HP Linux Imaging and Printing project and I have access to a large number of printing devices.

A

Revision history for this message
Chris Cheney (ccheney) wrote :

A note, printing using Bitstream Vera Sans from OOo and converting to PDF then printing from Evince looks exactly the same with a HP LaserJet MFP 3310. So this appears to be something wrong with the printer driver. Or else this bug has been fixed in OpenOffice.org since it was initially reported...

Revision history for this message
Superkatze (superkatze) wrote :

Any news?

Please try to fix this bug as I use Openoffice.org on a daily basis.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

For me Bitstream Vera Sans comes out normally on a PostScript printer or a printer using Gutenprint and also somewhat thicker on a printer using the HPIJS driver. So it seems really to be a problem of the HPIJS driver.

Note that PDF is fed into Ghostscript here as Intrepid uses a PDF-based printing workflow.

Changed in cupsys:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Superkatze (superkatze) wrote :

Please please please provide a fix for this. Otherwise I cannot install 8.10 like I could not install 8.04 because it is affected by this bug too.

Revision history for this message
Vincent Tschanz (fogia) wrote :

I also have the same problem with a HP Deskjet 940c

Changed in hplip:
status: New → Confirmed
Revision history for this message
Lee Boynton (lboynton) wrote :

I appear to be having this issue with OO 3.01 RC2, from a PPA. At least to me the text looks quite thick though I haven't compared it with a PDF print out. Any news on this bug?

Revision history for this message
Lee Boynton (lboynton) wrote :

That should be OO 3.01 RC1, actually. The printer is also an HP Deskjet 5150

Revision history for this message
Lee Boynton (lboynton) wrote :

I'm still getting this bug with Jaunty with latest updates including hplip 3.9.2

Revision history for this message
Nicolas T (nico.nc) wrote :

Same issue for me with OOo 3.0.1 in Jaunty and an HP Deskjet 930c printer (HPLIP or CUPS+Gutenprint driver, same issue). I can print normaly with other applications, and the issue is the same with a new user account.

Revision history for this message
ubeagle (fun-stuff) wrote :

Same problem for me - and only in OpenOffice. I always had this problem since I began using Ubuntu (I think 8.04)...now it's still there in 9.04 (OOo 3.0.1). My printers: DeskJet 930c and OfficeJet J6424.

Revision history for this message
Rynn (lord-of-the-rynn) wrote :

I believe this could be a problem inherent in OpenOffice.org, or how OpenOffice.org interacts with HP drivers. I had the same problem when printing documents from OpenOffice.org 3.1 in _WINDOWS_. I printed to an HP printer, with the latest drivers installed. I have noticed that if you export your documents to PDF and then print them, they print just fine. This is true for both Windows and Ubuntu, at least as far as I've tested.

Revision history for this message
Jacob van der Meulen (jacob-vd-meulen) wrote :

Same problem for me - and only in OpenOffice. I use an HP K5400 printer on Ubuntu 9.0.4 and OO 3.0.1. I got some hints on https://bugzilla.redhat.com/show_bug.cgi?id=505146. Especially:

>>This presumably is because those HP .ppds don't support Type42, i.e. no
>>*TTRasterizer: Type42
>>line

and

>>Ok, I found out that it seems to work if I download the PPD file from
>>linuxprinting.org and install it with system-config-printer-kde.

So I downloaded the PPD file from linuxprinting.org and replaced the content of /etc/cups/ppd/Officejet-Pro-K5400.ppd with the content of the downloaded file (this file contains the TTrasterizer line). Now restart cups:

   sudo /etc/init.d/cups restart

Problem solved!!!!

It seems that the cups PPD compiler has selected the wrong PPD file as I found a line:
   *FoomaticIDs: "HP-Business_Inkjet_1000 hpijs"
in the original ppd.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thank you for finding this out!

All PPDs generated by Foomatic have the TTRasterizer line, and therefore the problem does not occur for most non-PostScript printers. HP once decided to switch to CUPS DDK for generating the PPDs, though they use foomatic-rip as filter. It seems that some (or all) of the HPLIP PPDs did not have the TTRasterizer line any more and cause the problem.

I have checked two of my HPLIP PPDs and they have a TTRasterizer line. I use HPLIP 3.9.6b in Karmic, perhaps the problem is already fixed there.

Anyone at HP, can you please check whether all HPLIP PPDs get the "*TTRasterizer: Type42" line? It is needed for all non-PostScript printers (where the input goes through Ghostscript).

Changed in hplip (Ubuntu):
status: Confirmed → Triaged
summary: - fonts too thick if printing from Openoffice on HP Deskjet 6540 (hplip)
+ fonts too thick if printing from Openoffice on HP inkjet (PPD misses
+ '*TTRasterizer: Type42' line)
Revision history for this message
David Suffield (david-suffield) wrote :

I added the TTRasterizer attribute to the hpijs.drv file. PPDs generated from hpcups.drv already had the TTRasterizer
attribute set.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

Should be fixed in the next release of HPLIP.

Aaron

Changed in hplip:
status: Confirmed → Fix Committed
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

Fix committed upstream in HPLIP.

A

Changed in hplip (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Aaron, as we cannot accept the next HPLIP release into Ubuntu, as we have Feature Freeze this Thursday, I want to ask you whether you could attach a patch for HPLIP 3.9.8 to this bug report. Thanks in advance.

Revision history for this message
David Suffield (david-suffield) wrote :

Till, the TTRasterizer attribute is already in HPLIP 3.9.8.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

OK, then this bug should be fixed, both upstream and in Ubuntu.

Changed in hplip:
status: Fix Committed → Fix Released
Changed in hplip (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.