Unscaled printing is offset by 5mm for driverless HP DeskJet 3700
I have an HP DeskJet 3700. Whenever I print any PDF to this printer from Evince, the printed document is offset by 5mm towards the top of the physical page. I am using Document Viewer 3.36.10 on Ubuntu 20.04.2. I am printing with all the scaling and rotation options turned off.
When I use any of the other Print Scaling options (Automatic, Auto-fit, Fill, Fit), it seems to scale the page but still print it offset by 5 mm towards the top of the physical page.
I initially concluded that this was a bug somewhere in CUPS, so I filed this bug. But I've now tested further, and found that if I print the same PDFs using lp
or from Firefox, I do not see this issue. This suggests the problem is unique to Evince or one of the libraries it depends on.
Having said that, when I print the same documents to a different printer (a Brother MFC-9335CDW), I don't see this issue.
At first I thought this might be related to the print margins of the printer, but the offset is always exactly 5 mm, and the HP printer's top print margin is 3 mm.
The CUPS web interface lists the printer make and model as ‘HP DeskJet 3700 series, driverless, cups-filters 1.27.4’.
A quick Google search reveals that other people have had this issue using this printer, but I did not find any solutions.