I have a LaTeX document that is two pages long. I am using pdflatex
to create a PDF from my .tex file. The rendered PDF looks exactly as I expect it to. However, when I print my document, the content on the second page is offset to the right by 0.5 inches. That is, the printed left-side margin is 0.5 inches larger than it ought to be, but only on the second page. This occurs when printing from my PDF application (xreader, a fork of Evince) or from Google Chrome's PDF viewer (which appears to bypass my OS print dialog). I have disabled any kind of scaling / centering when printing my document, though I should note that the problem occurs whether or not such printing features are enabled.
This is a personal document so I can't share the whole code until I can scrub it, but I'm wondering if this might be something inherent to TeX/LaTeX/pdflatex that I'm unaware of and need to tweak.
Here is the preamble:
\documentclass{res}
\usepackage{enumitem}
\setlength{\textheight}{10in} % increase text height to fit on 1-page
\addtolength{\topmargin}{-.5in}
\setlist[itemize]{nosep}
\begin{document}
Note that I am using res.cls.
\usepackage[margin=0.5in]{geometry}
(and removed my\textheight
and\topmargin
lines) and now while the left-margin on the second page is working OK, the right-margin is broken in that it's much smaller than it should be and my content is overflowing. Again, both pages look as expected in the rendered PDF, and the first page prints fine. It's only the second page, and only when printing, that something is wrong.