Re: Mission Impossible: 1:1 PDF printing via GUI

Soren Stoutner <[email protected]> Thu, 27 Feb 2025 14:50:01 -0700
Newsgroups gmane.linux.debian.devel.qt-kde,gmane.linux.debian.printing,gmane.linux.debian.devel.gtk-gnome
Organization Debian
Message-ID <1794869.X513TT2pbd@soren-desktop>
Matthias,

On Thursday, February 27, 2025 1:37:07 PM MST Matthias Urlichs wrote:
> 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).

I am able to get it to print correctly in Okular using the following settings (see attached 
screenshot).  Note that when setting the scale mode to None, it automatically selects 
"Force rasterization”, but you can turn it back off.

Side note, I only have letter paper, but I was able to recreate a version of your document in 
Letter for testing (I print this way a lot, but it has been a while since I actually tested, so I 
wanted to make sure something hadn’t changed).  Also, my printer doesn’t print edge-to-
edge, so in my test document it cuts off the edges of the boxes, but if you have an edge-
to-edge printer it should work).

-- 
Soren Stoutner
[email protected]
Printer Settings.png (image/png, 105.5 KB) - not displayed
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmfA3gkACgkQwufLJ66w
tgO0PxAArHm287WVeRE4xQVo6RzUEU4VmN2Fx8Dxych6Uo1soX8IjeO9bbSGjJA0
eY06jhRBBra408MShqx3tDklA7TTgPgZH5uAvVbSICXOcE6v2fGt00B4HnmZNnDj
Ebm6KTq9eSFy7Q1hbOlrNoXBgRS6ADzZnHTsxThHUDhSHM+I9Ghij0nByJpT4K3g
m6WmuM4V2RBnWjb0nicbPIPpLRlRkcF67IWtfqFrL5pjQ6TLZq3EYsEGfDwN+PH9
VtSWcOcIb+wvwrO5+AkGss183sq7qw0gF5Ujs7pljldhv6eg9fAfDoL5x/zs/b2A
mS4zrngeSjZGnzzfuw9cr6dBEBsIETT+0FCQ7Ue+Cm9UdRzmsOLuGQNKOrMiMIw9
7whSJmWm7RaTZNDm2LiccB/oRcCFPc5LRWOHPMP0dZRke3rfO/lBJsEZ/F8pk6JL
KLOeLflD7zyKEfjOmj8W3wkg7xdsXItqjLWAazpM/Jt4VpOILdJUA6Q1bUR0s4dB
Oi8U/Q+yW84INDHABFUqlBb/fDXOdYJH9JSGD4C1kFNKrYGROfF+O4XBetygXFXC
NiUnug5L0dFsIVQBF6ZFn/DPYZft+bfUoRTrYH5AwgM/JGj9I/+meP1eMw6k8iHN
RVk3ITMIHb0HZVnrdL4MDdrx+eE0uw4Cz9R8Et7CM476/DHR/+I=
=AXd9
-----END PGP SIGNATURE-----