public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] What can cause printer to crop top of page?
Date: Thu, 21 Dec 2017 18:28:30 +0000	[thread overview]
Message-ID: <26105987.Fy8a8pjiRY@dell_xps> (raw)
In-Reply-To: <JYG3657N.N4OJ5WVO.SKFP3RWE@QRXGSDAB.5YMGLHS4.WC22RRZN>

[-- Attachment #1: Type: text/plain, Size: 4118 bytes --]

On Thursday, 21 December 2017 17:01:09 GMT Jack wrote:
> On 2017.12.21 09:20, Mick wrote:
> > I've been using a Brother "HL-3140CW" model with the
> > net-print/brother- hl3140cw-bin-1.1.4 driver from the brother-overlay.
> > 
> > Since I moved to profile 17.0 (I think) pages are being cropped at
> > the top when printing from various applications (LOWriter, Okular,
> > etc.) on different PCs.
> > 
> > In LOWriter I had to set a 35mm margin at the top, to be able to get
> > just 13mm at the top of the physical A4 paper, before the top line of
> > text is printed.
> > 
> > I have used the Plasma systemsettings5 for printers as well as the
> > http GUI of the printer to see if anything is amiss, but I can't find
> > anything I can change to restore the page alignment as it was a
> > couple of weeks ago.
> > 
> > The OEM online help pages suggest to adjust the margins on the
> > application you're are printing from.
> > 
> > Any idea what has brought about this change and how I may be able to
> > revert it?  Have you noticed anything similar?
> 
> It sounds to me like a possible A4/USLetter issue.  Can you confirm
> that both LOWriter (and other apps) and cups (or whatever is driving
> the printer) are both set to A4?
> 
> Jack

Yes, CUPS and all desktop applications show A4 as the default paper size.  
CUPS reports:

$ lpoptions -p 'HL-3140CW' -l 
PageSize/Media Size: *A4 Letter Legal Executive A5 A6 B5 JISB5 JISB6 EnvDL 
EnvC5 Env10 EnvMonarch Br3x5 FanFoldGermanLegal EnvPRC5Rotated Postcard 
EnvYou4 EnvChou3 210x270mm 195x270mm 184x260mm 197x273mm
BRInputSlot/Paper Source: *AutoSelect Tray1 Manual
BRResolution/Print Quality: *600dpi 600x2400dpi
BRMonoColor/Color / Mono: Auto FullColor *Mono
BRMediaType/Media Type: *Plain Thin Thick Thicker BOND Env EnvThick EnvThin 
Recycled Label Glossy PostCard
BRColorMatching/Color Mode: *Normal Vivid None
BRGray/Improve Gray Color: OFF *ON
BREnhanceBlkPrt/Enhance Black Printing: *OFF ON
BRTonerSaveMode/Toner Save Mode: OFF *ON
BRImproveOutput/Improve Print Output: *OFF BRLessPaperCurl BRFixIntensity
BRSkipBlank/Skip Blank Page: *OFF ON
BRBrightness/Brightness: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 
-6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRContrast/Contrast: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 
-5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRRed/Red: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 
-1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRGreen/Green: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 
-3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRBlue/Blue: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 
-2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BRSaturation/Saturation: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 
-6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


However, looking inside /etc/cups/ppd/HL-3140CW.ppd I see some strange things:

*%==== Media Selection ======================
*OpenUI *PageSize/Media Size: PickOne
*OrderDependency: 11 AnySetup *PageSize
*DefaultPageSize: A4
[snip ...]

*OpenUI *PageRegion: PickOne
*OrderDependency: 12 AnySetup *PageRegion
*DefaultPageRegion: A4
[snip ...]

BUT ... then I noticed this:

*DefaultImageableArea: Letter    <==What the ...?!
*ImageableArea A4/A4:                                                   "12 12 
583 830"
*ImageableArea Letter/Letter:                                   "12 12 600 
780"
*ImageableArea Legal/Legal:                                             "12 12 
600 996"
[snip ...]

AND ....

*%==== Information About Media Sizes ========
*DefaultPaperDimension: Letter    <==Should this be here ...?!
*PaperDimension A4/A4:                                                  "595 
842"
*PaperDimension Letter/Letter:                                  "612 792"
*PaperDimension Legal/Legal:                                    "612 1008"


Are the above ppd entries correct, or am I misinterpreting the ppd logic?

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-12-21 18:28 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-21 14:20 [gentoo-user] What can cause printer to crop top of page? Mick
2017-12-21 15:16 ` tuxic
2017-12-21 18:00   ` Mick
2017-12-21 17:01 ` Jack
2017-12-21 18:28   ` Mick [this message]
2017-12-21 21:18     ` Mick
2017-12-21 21:24       ` Jack
2017-12-21 22:35         ` Mick
2017-12-21 22:46           ` Jack
2017-12-21 23:01           ` Walter Dnes
2017-12-21 23:20             ` Mick
2017-12-22 16:30               ` Mick
2017-12-27 19:45                 ` [gentoo-user] Re: [was: What can cause printer to crop top of page?] /etc/papersize is ignored Mick
2017-12-27 23:53                   ` Mick
2017-12-28  6:14                   ` Taiidan
2017-12-29 13:51                     ` Mick
2017-12-29 13:57                       ` Alan Mackenzie
2017-12-29 14:30                         ` Peter Humphrey
2017-12-29 15:01                           ` Mick
2017-12-29 16:13                           ` Alan McKinnon
2017-12-29 16:45                             ` Wols Lists
2017-12-30  0:44                               ` Peter Humphrey
2017-12-30 12:55                                 ` Alan McKinnon
2017-12-30 14:32                                   ` Wols Lists
2017-12-30 15:33                                     ` Neil Bothwick
2017-12-31  2:26                                     ` Peter Humphrey
2017-12-31 10:34                                       ` Neil Bothwick
2017-12-31 11:11                                         ` Wols Lists

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26105987.Fy8a8pjiRY@dell_xps \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox