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: signature.asc
Description: This is a digitally signed message part.

Reply via email to