Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [was: What can cause printer to crop top of page?] /etc/papersize is ignored
Date: Fri, 29 Dec 2017 14:00:53
Message-Id: 20171229135731.GC15274@ACM
In Reply to: Re: [gentoo-user] Re: [was: What can cause printer to crop top of page?] /etc/papersize is ignored by Mick
1 Hello, Mick.
2
3 On Fri, Dec 29, 2017 at 13:51:01 +0000, Mick wrote:
4 > On Thursday, 28 December 2017 06:14:23 GMT Taiidan@×××.com wrote:
5 > > For the record I would also like to add that using the duplexer on some
6 > > poorly designed printers cuts off the bottom or top of the page without
7 > > any type of notification.
8
9 > Debugging cups and trying all conceivable combos of settings didn't get me
10 > anywhere. Then I decided to start looking around the brother driver files
11 > installed under /opt/brother/Printers/hl3140cw/, where I found ./inf/
12 > brhl3140cwrc and ./inf/brhl3140cwfunc both specifying Letter instead of A4 as
13 > paper size.
14
15 > So, I've set "PageSize=A4" in brhl3140cwrc and it now prints correctly aligned
16 > pages once more.
17
18 > I'm not sure if this is the default path for these files across distros, or if
19 > some symlink from /usr/libexec/cups/filter/ or /usr/share/cups/model/ is not
20 > working as it should. In any case, the bug seems to be that using the cups
21 > GUI interface doesn't have any effect on the driver configuration files which
22 > are by default set to PageSize=Letter and also messes up the created ppd file
23 > used by cups.
24
25 I think the bug is that "A4" has to be set in so many places, where "so
26 many" means more than one. In a well designed printing system, there
27 would be just one place to set it.
28
29 > I'm posting this here to save others time, should they come across the same
30 > problem.
31
32 I've been luckier with printing, but thanks all the same. Who knows
33 when I might no longer be so lucky.
34
35 > --
36 > Regards,
37 > Mick
38
39 --
40 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] Re: [was: What can cause printer to crop top of page?] /etc/papersize is ignored Peter Humphrey <peter@××××××××××××.uk>