Printer autoconfigured, but LPR prints with to wide font/cpi setting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Debian) |
Fix Released
|
Unknown
|
|||
cups (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned | ||
ttf-freefont (Ubuntu) |
Fix Committed
|
High
|
Unassigned | ||
Karmic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: system-
Switched on my HP PSC 750 (USB) and it was automatically added to the system. COOL! :)
Tried to do a test print:
fdisk -l /dev/sda | lpr
Print did come out, but part of the text is missing. There are about 50 characters per line. Very wide and large characters.
I was expecting courier 10/11 to print at least 72 characters per line and perhaps line wrapping by default..
ProblemType: Bug
Architecture: amd64
Date: Sat Oct 10 14:10:02 2009
DistroRelease: Ubuntu 9.10
Lpstat: device for PSC-750: hp:/usb/
MachineType: Sony Corporation VGN-FZ38M
NonfreeKernelMo
Package: system-
Papersize: a4
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
PpdFiles: PSC-750: HP PSC 750 hpijs, 3.9.8
ProcCmdLine: User Name=UUID=
ProcEnviron:
LANGUAGE=
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: system-
Uname: Linux 2.6.31-13-generic x86_64
dmi.bios.date: 12/21/2007
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: R2110J7
dmi.board.
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: VGN-FZ38M
dmi.product.
dmi.sys.vendor: Sony Corporation
Related branches
tags: |
added: verification-done removed: verification-needed |
Changed in cups (Debian): | |
status: | Unknown → Fix Released |
Changed in ttf-freefont (Ubuntu): | |
status: | Confirmed → Fix Committed |
I have the same problem. The CUPS documentation says the default cpi is 10, but it looks like the cpi scaling is off.
If I print with lpr using default settings, I get 6 characters per inch.
If I print with lp -o cpi=10, I get 6.25 characters per inch.
If I print with lpr -o cpi=17, I get 10 characters per inch.
If I print with lpr -o cpi=20, I get 11.8 characters per inch.
So it's not just some scaling factor. But in any case, if you want the old 10 characters per inch, try lpr -o cpi=17. Maybe you can use lpoptions to set this as a default for every printer you have.
lpoptions doesn't seem to be able to set systemwide options (at least, the man page doesn't mention it). man lpoptions says options are set in /etc/cups/ lpoptions, but that file doesn't exist on my karmic system. Nothing under /etc/cups seems to have "cpi" in it. Where is the default supposed to be set?