I have installed a Brother printer for a friend. The printer is currently connected by wireless to their laptop running Ubuntu. The problem is that when I print, the pages are cut off at the top and bottom margins. What I mean is that the printer (or printing driver) seems to have increased the top and bottom margins on its own without being told to by the computer.
- Ubuntu 18.04.3 LTS
- Brother MFC-J470DW printer
- PPD file shows FormatVersion 4.3 and FileVersion 2.2
- Printer connected wirelessly
- All the documents I'm printing are formatted as Letter (8.5"x11").
- I've tried printing from various apps; all have the same problem.
- Printing from another device on the network (e.g. iPad) is fine.
- The physical paper in the printer is Letter.
- The little physical menu display on the front of the printer is set to Letter.
- The printer settings in Ubuntu are also set to Letter. This applies to both [Settings > Printers > Brother_MFC_J470DW > Gear icon > Printing Options > Media size] and [Settings > Printers > Additional Printer Settings > Brother_MFC_J470DW > Properties > Job Options > Media]
I've prepared a single-page, letter-sized document in LibreOffice with a simple black border around the whole page and using default margins. When I print this page, rather than seeing the whole rectangular border, I only see the two sides of the rectangle. (Print preview is fine, but the physical print is cut off.) Here's a picture to illustrate:
It really feels to me like something in the printing pipeline in Ubuntu is applying an A4 paper size, but I can't figure out where. I say this because A4 paper is longer and narrower than Letter, so it would make sense that something in the printer driver is applying incorrect margins or printable area.
I'm able to workaround the problem using the "Scale to fit" checkbox in Job Options from the dialog path I specified above. But this option causes the whole document to be shrunk down, which is not ideal.
I read elsewhere about PPD files having a manifest of all the supported paper sizes and margins, printable areas, etc.
So I tried editing mine and tweaking those:
I found this line:
These seem to be X/Y coordinates forming a rectangle within the boundaries of the full letter paper size, which is defined elsewhere as:
So I changed the ImageableArea line to this:
This reduces the Y offsets and makes the printable area longer. And it worked! The prints are no longer cut off. I'm not sure if this is a great solution (or what units are used in this manifest - maybe points?) but it's better than shrinking everything that is printed out.