printing an utf8-file from gedit causes some wrong letters

Bug #718201 reported by ZeroBeat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: cups

Printing an utf8-file from gedit causes some wrong letters
Best regards
Mike

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cups 1.4.4-6ubuntu2.3
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Feb 13 16:30:34 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007.1)
Lpstat: device for Hewlett-Packard-HP-Color-LaserJet-CP1515n: hp:/net/HP_Color_LaserJet_CP1515n?ip=192.168.0.254
Lsusb:
 Bus 002 Device 002: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 003: ID 04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC Webcam / CNF7129
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK Computer Inc. K50IN
Papersize: a4
PpdFiles: Hewlett-Packard-HP-Color-LaserJet-CP1515n: HP Color LaserJet CP1510 Series Postscript (recommended)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-25-generic root=UUID=bb3dfc28-7704-4bad-be36-7584297944d3 ro
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: cups
dmi.bios.date: 01/22/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 222
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: K50IN
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr222:bd01/22/2010:svnASUSTeKComputerInc.:pnK50IN:pvr1.0:rvnASUSTeKComputerInc.:rnK50IN:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr:
dmi.product.name: K50IN
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.

Revision history for this message
ZeroBeat (zerobeat) wrote :
Revision history for this message
ZeroBeat (zerobeat) wrote :

This ist what i expected

Revision history for this message
ZeroBeat (zerobeat) wrote :

And this is what i got instead.
Maybe it's not a bug in cups, but a bug in gedit.

Best Regards
Mike

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Why are you using the HP Color LaserJet CP1510 Series Postscript (recommended) driver?
Same problem if you use the specific printer driver for your printer: drv:///hpijs.drv/hp-color_laserjet_cp1515n-hpijs-pcl3.ppd HP Color LaserJet cp1515n hpijs pcl3, 3.10.6 ?

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

ZeroBeat, please follow the instructions of the sections "CUPS error_log" and "Capturing print job data" on https://wiki.ubuntu.com/DebuggingPrintingProblems.

Pascal, for a PostScript printer (as the HP Color LaserJet CP1510) the PostScript PPD of the manufacturer is generally the best driver. "HP Color LaserJet CP1510 Series Postscript (recommended)" is HP's PostScript PPD. But on the other side one should also test the PCL mode of the printer (via "HP Color LaserJet cp1515n hpijs pcl3, 3.10.6") as the problem can also be a bug in the printer's PostScript interpreter or in the pdftops filter.

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

ZeroBeat, I have an additional question. Does the file print if you print from the command line:

lpr file.txt

Revision history for this message
ZeroBeat (zerobeat) wrote :

Hi Till.
Thank's for your reply.
Printing from command-line works fine.
Next i tried to capture print job data (see attached file) - everything is ok.

Revision history for this message
ZeroBeat (zerobeat) wrote :

Finaly I tried to print something from geany. Same problems with wrong letters. See attached file.
As you can see, instead of the 't' from 'cet' there's a wrong letter.

I did several captures, but the captures are allways ok.

By the way - printing from OpenOffice writer is always ok.
Best regards
Mike

Revision history for this message
ZeroBeat (zerobeat) wrote :

Hi Pascal.
First i will try HP Color LaserJet CP1510 Series Postscript (recommended) driver, because nearly everything (except gedit and geany) works fine (On my other machine runs lucid. Printing from geany and gedit are ok - next i'll try is natty).
If this wont work, i'll try the ppd.

Best regards
Mike

Revision history for this message
ZeroBeat (zerobeat) wrote :

Printing in natty is also ok. I tested geany and gedit and got what i expected (like in lucid before). It seems, bug is only in maverik.
Best regards

Mike

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

On Maverick I tried the following commands to resemble the filter chain:

cupsfilter -m application/vnd.cups-postscript -p /etc/cups/ppd/hp.ppd -o PageSize=A4 printout-lp718201.pdf > out.ps
sudo su lp -c '/usr/sbin/cupsfilter -m application/vnd.cups-postscript -p /etc/cups/ppd/hp.ppd -o PageSize=A4 printout-lp718201.pdf' > out.ps

The PPD file is of an HP PostScript color laser printer and in the second command line all filters run with the privileges of the "lp" system user (CUPS executes print jobs as this user). Both command lines produce a correct out.ps. I have checked by displaying via

gs out.ps

Please try the above commands on your Maverick box using the PPD file of your printer (in /etc/cups/ppd/). If the result shows the bug, try the following commands:

cupsfilter -m application/vnd.cups-pdf -p /etc/cups/ppd/hp.ppd -o PageSize=A4 printout-lp718201.pdf > out.pdf
sudo su lp -c '/usr/sbin/cupsfilter -m application/vnd.cups-pdf -p /etc/cups/ppd/hp.ppd -o PageSize=A4 printout-lp718201.pdf' > out.pdf

and display the output file with

evince out.pdf

after each command. Does the problem also show here?

Revision history for this message
ZeroBeat (zerobeat) wrote :

Hi Til.
I did the above commands, but the results doesnt' shows the bug. Everything works fine (except printing from gedit and geany).
Bye
Mike

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
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.