lp margin settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
lp seems not to obey margin settings as expected.
Description: Ubuntu 18.04.1 LTS
Release: 18.04
CUPS 2.2.7-1 ubuntu2.1
Sending a fairly dense text file using
lp -P1 <filename>
gives output on my HP OfficeJet 6310 with top margin 0.5”, left margin 0.14”, right margin 0.5”, bottom margin 0.5”
/etc/cups/
*ImageableArea A4/A4 210x297mm: "18 36 577.440002441406 805.679992675781"
*HWMargins: 18 36 18 36
so top and bottom are ok, but left and right margins aren’t.
Sending the same file with options set in ~/.cups/lpoptions
Default HP-Officejet
Dest Officejet 6300 ColorModel=KGray MediaType=Plain OutputMode=Draft outputorder=reverse page-bottom=36 page-left=36 page-right=36 page_top=54 PrintoutMode=
has no effect whatsoever.
Sending the same file with options set in the commandline,
lp-o page-left=36 -o page-right=36 -o page_top=54 -o page-bottom=36 -P1 <filename>
gives top margin of 0.5” (no change!), left margin of 0.4”(less than expected), right margin 0.7” (more than expected), and bottom margin of 0.5”.
There is no /etc/cups/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cups 2.2.7-1ubuntu2.1
ProcVersionSign
Uname: Linux 4.15.0-32-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Thu Aug 30 14:47:17 2018
InstallationDate: Installed on 2017-03-09 (538 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Lpstat:
device for HP-Officejet: hp:/net/
device for HP-z-Fax: socket:
MachineType: Dell Inc. Inspiron 5767
Papersize: a4
PpdFiles:
Error: command ['fgrep', '-H', '*NickName', '/etc/cups/
grep: /etc/cups/
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/30/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.9
dmi.board.name: 0PH0G6
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Inspiron
dmi.product.name: Inspiron 5767
dmi.sys.vendor: Dell Inc.