Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2372  / 1 Year ago, sun, february 19, 2023, 2:16:18

I have a really nasty problem when printing with Ubuntu 12.04 x64: Text resolution is wrong. Bitmaps and vector graphics print perfectly at 2400 or 600 dpi, but text does not. It looks ugly, resolution feels really low.



When using Inkscape, turning texts into paths before printing solves the problem (of course, this is not a suitable workaround for everyday use).



The printer, a Brother HL4150CDN, is used with CUPS, connected to ethernet port, and fails whatever network address (LPD or IPP) is configured in CUPS. I can print from anywhere (Firefox, Inkscape, Evince), but it still fails with texts.



Printer test page outputs successfully



The problem depends on the font used: Arial goes wrong, but Nimbus Roman feels right (some fonts are probably substitued by the printer ?), that is probably why Courier text within the printer test page is correctly printed.



I tried to reproduce this problem with previous versions of Ubuntu without success. I tried fresh installs of Ubuntu 11.10 and 12.04 desktop amd64 with updates, and with the Brother driver: the problem is always there on 12.04, never on 11.10.



The currently installed driver is the official Brother driver with PPD files, and the ia32-libs dependency:



 hl4150cdnlpr-1.1.1-5.i386.deb
hl4150cdncupswrapper-1.1.1-5.i386.deb


Here is a scan of a really poor quality aliased text output with quality settings at 2400x600 dpi. Grid lines are spaced 0,1 in (printed from Inkscape) and i can count about 10 pixels between the lines, so the effective resolution is about 100 dpi:



pixelated A



I captured data exchanged between computer and printer with wireshark, to compare the working version, with the buggy one. The headers are the same, but binary data are different ; here is a screenshot using kdiff:



screenshot, binary data



This probably affects other printers. However, print to pdf and HP deskjet 920C are not affected by this.



Questions are:




  • How to investigate such a problem?

  • Where can I find different settings explaining this terrible result when using Ubuntu 12.04, when compared to 11.10?

  • Which files can I compare or edit to fix this kind of problem?



P.S: couldn't find a launchpad bug related to this problem (will probably submit one; but I am willing to investigate this)


More From » 12.04

 Answers
6

There is an example of workaround for Brother printers in https://bugs.launchpad.net/ubuntu/+source/cups/+bug/984082


[#38707] Monday, February 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lotceptin

Total Points: 374
Total Questions: 106
Total Answers: 118

Location: The Bahamas
Member since Tue, Apr 27, 2021
3 Years ago
;