Mission Impossible: 1:1 PDF printing via GUI

Matthias Urlichs <[email protected]> Thu, 27 Feb 2025 21:37:07 +0100
Newsgroups gmane.linux.debian.printing,gmane.linux.debian.devel.gtk-gnome,gmane.linux.debian.devel.qt-kde
Message-ID <[email protected]>
Hello,

apparently it is impossible to print a PDF from the GUI without it 
getting scaled, shifted, or otherwise mutilated.

I generated a PDF file that needs to get printed 1:1 and fed that to an 
IPP laser printer (Brother DCP, nothing special). This worked perfectly 
… with "lpr -o print-scaling=none".

It did not work with Gnome/evince (refused to not scale the output).

It did not work with KDE/okular (didn't scale, but shifted the content 
to the right).

Yes, I did select "no scaling" in both GUI's print dialogs. Yes, the PDF 
in question has full-page content boxes.

I don't think that printing labels is *that* esoteric an endeavour …

I did file upstream bugs, but evince and okular both have >200 open 
issues, which doesn't exactly inspire confidence that this will get 
solved "on its own" so to speak …

I might be a DD, but unfortunately that doesn't mean that I have 
sufficient knowledge of the "how the heck does printing a PDF from 
Gnome/KDE even work" kind. So I'd appreciate if somebody with such 
knowledge could collaborate with me on fixing this …

Proof (i.e. the PDF in question, as well as somewhat-blurry photographic 
evidence) attached, assuming the list manager lets them through. They're 
small enough …

-- 
-- regards
-- 
-- Matthias Urlichs
misprint.jpg (image/jpeg, 14.7 KB) - not displayed
moat.pdf (application/pdf, 1.9 KB) - not displayed
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEr9eXgvO67AILKKGfcs+OXiW0wpMFAmfAzPQFAwAAAAAACgkQcs+OXiW0wpMX
PBAA3ByZbcREK1XTdhclzi+RSr6xx3vCaZDAgE8+z7ZoFQMaBtFOA+33ntXT4FPUAsa+R7TEajGj
el2IXGeStg6Poo0YimCdiVvteYD2fGxInqiWK+4gBw2xC86AN5CYL1r3zQyct0aTP5Yt193wkzHx
pe7izcvfDK5O4MxkjIeTFx3zT0SgO+56+1gkVK8I39P5+IIInOHu7M9lPB0vdKVumkDrhXwjsKn1
AA+7HfGFGXj9KNa9H5j2tUvnrOkx1SmPvCgAcrDJPTIte01SzRrlMCmaRRqtnb6ty3BzutuxAscT
QuLoXGhReCOqyGFNCupr31hha8ILcFwLFgplRyM8K0oc2s87WNwOTtvgYrdRZ1nYCH5jOPpI2B74
YTdY4cHL5ymXU699xq7xPHnh1oKcPoLxncNXCyBWGu5Sz45FFdYu5mQGdr/juRmYwTM1zEjiZO2k
N5m38DvsOtEPtDkrqRVWzt4Tc9nVNd2J8o9+XyfFklLR4cOrXqpGsdEWBzu0Rzr85BEnEC4BX8cM
VrBOB798sVvUPqM2npBaWYmr7vff+7/eYwYGGvDpsfbW+WKrXSH37X7Ri4+rMOPPlNtUFDUnZdSw
9/6PISfwoSwRuKV4Sfq9dtyYXRKMtD5cqnjL0J8+XYgcyQ2SZ8RceanklOpzjoBvnARTbfwLU/5N
knw=
=kM/2
-----END PGP SIGNATURE-----