lpr prints text too large, can only fit 47 characters per line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups
Release: Ubuntu 9.10
cups version 1.4.1-5ubuntu2.1
I expected lpr to print 80 characters per line, but it only prints 47 (plus a small sliver of the next character) per line. Also, lines still wrap after the 80th character, but only the first 47 characters are printed on the first line.
To test the problem, I tried printing /etc/passwd. My passwd file contains the line (without the quotes)
"speech-
On paper, the line is printed as (without the quotes)
"speech-
"sh"
I have attached the diagnostic output from the printer troubleshooting dialog.
ProblemType: Bug
Architecture: i386
Date: Fri Nov 20 00:59:03 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Lpstat: device for Brother-HL-5280DW: parallel:/dev/lp0
MachineType: Dell Computer Corporation Dimension 4550
Package: cups 1.4.1-5ubuntu2.1
Papersize: letter
PpdFiles: Brother-HL-5280DW: Brother HL5280DW for CUPS
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: cups
Uname: Linux 2.6.31-14-generic i686
dmi.bios.date: 09/23/2003
dmi.bios.vendor: Dell Computer Corporation
dmi.bios.version: A08
dmi.board.name: 0M0321
dmi.board.vendor: Dell Computer Corp.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Computer Corporation
dmi.modalias: dmi:bvnDellComp
dmi.product.name: Dimension 4550
dmi.sys.vendor: Dell Computer Corporation
I can confirm the bug, with the same ppd on dapper, hardy, jaunty, karmic:
CUPS_SERVER= cups-karmic lpr .profile
print 48 chars per / line, 49-79 are cut off, 80- chare wrapped to the next line.
CUPS_SERVER= cups-jaunty lpr .profile
print 79 char/line, 80+ chars wrapped to next line. That how cups worked
in dapper, feisty, hardy, jaunty. But not in karmic.
My karmic installation is a plain server install without any tasks selected.
After installation I've added