With pdfLaTeX I prevent downsizing of printouts with \pdfcatalog{/ViewerPreferences<</PrintScaling/None>>}.
Now how to use this with LuaLaTeX? I tried:
{\pdfextension catalog=/ViewerPreferences<</PrintScaling/None>>}
and get the error message
Missing { inserted.
<to be read again>
=
l.2 {\pdfextension catalog=
/ViewerPreferences<</PrintScaling/None>>}
Texlive 2019 on Linux.
MWE:
{\pdfextension catalog=/ViewerPreferences<</PrintScaling/None>>}
\documentclass{article}
\usepackage{fontspec}
\usepackage{lmodern}
\begin{document}
Text.
\end{document}
I've seen this question: Prevent scaling of printout of PDF without using hyperref, but loading luatex85 seems a bit outdated, or am I wrong?
\usepackage{pdfbase}, but shouldn't slow down compilation and works across all engines/drivers:\ExplSyntaxOn\pbs_pdfcatalog:n{/ViewerPreferences<</PrintScaling/None>>}\ExplSyntaxOff. – AlexG Sep 05 '19 at 08:57