[cups] brother MFC-7840w has incorrect page margins

Ram Bhamidipaty ram at ramandgita.com
Sat Mar 2 21:03:09 PST 2019


On 3/2/19 6:17 PM, Ram Bhamidipaty wrote:
> Hi,
>
> I'm using cups 2.2.10 with a Brother MFC-7840w, this is on arch linux.
>
> The problem is that the margins are off. For example the "Print Test
> Page" operation results in the outer bounding box shifted down and
> slightly to the right, so that the bottom and right lines are off the page.
>
> I suspect that some of the filter programs are generating an expected
> offset, what kinds of steps should I follow to debug/troubleshoot this
> problem?

I managed to manually run some of the filter programs. The pdftops
filter returned this output:

DEBUG: pdftops - copying to temp print file "/tmp/038d55c7eefe5"
DEBUG: Printer make and model: Brother Brother MFC7840W series
DEBUG: Switching to Poppler's pdftops instead of Ghostscript for
Brother, Minolta, Konica Minolta, Dell, and Apple LaserWriter 16/600,
4/600, 12/640, 12/600, 12/660 to work around bugs in the printer's PS
interpreters
DEBUG: Running command line for pstops: pstops 1 ram  1
DEBUG: Using image rendering resolution 600 dpi
DEBUG: Running command line for pdftops: pdftops -level3 -origpagesizes
-nocenter -r 600 /tmp/038d55c7eefe5 -
DEBUG: Started filter pdftops (PID 14550)
DEBUG: Started filter pstops (PID 14551)
DEBUG: Page = 612x792; 18,12 to 594,780
DEBUG: slow_collate=0, slow_duplex=0, slow_order=0
DEBUG: Before copy_comments - %!PS-Adobe-3.0
DEBUG: %!PS-Adobe-3.0
DEBUG: %Produced by poppler pdftops version: 0.74.0
(http://poppler.freedesktop.org)
DEBUG: %%Creator: cairo 1.10.2 (http://cairographics.org)
DEBUG: %%LanguageLevel: 3
DEBUG: %%DocumentSuppliedResources: (atend)
DEBUG: %%DocumentMedia: Letter 612 792 0 () ()
DEBUG: %%BoundingBox: 0 0 612 792
DEBUG: %%Pages: 1
DEBUG: %%EndComments
DEBUG: Before copy_prolog - %%BeginProlog
DEBUG: Before copy_setup - %%BeginSetup
DEBUG: Before page loop - %%Page: 1 1
DEBUG: Copying page 1...
DEBUG: pagew = 576.0, pagel = 768.0
DEBUG: bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
DEBUG: PageLeft = 18.0, PageRight = 594.0
DEBUG: PageTop = 780.0, PageBottom = 12.0
DEBUG: PageWidth = 612.0, PageLength = 792.0
DEBUG: Wrote 1 pages...
DEBUG: PID 14551 (pstops) exited with no errors.
DEBUG: PID 14550 (pdftops) exited with no errors.

Is there anything there that would suggest incorrect page margins? This
is when printing to US-LETTER paper.




More information about the cups mailing list