I wondered if anybody could explain what differences there are in the PDF which would differentiate
pages produced by running
pdflatex
on the.tex
file where the code is part of that fileand
pages produced by running
pdflatex
on the.tex
file where the pages are the result of\includepdf
and the included pdfs were produced by a separate run ofpdflatex
on separate.tex
files.
For example:
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
Here is a page of the first kind.
\clearpage
\includepdf{pdfpage.pdf}
\end{document}
Where pdfpage.pdf
is the result of running pdflatex
on
\documentclass{article}
\begin{document}
Here is a page of the second kind.
\end{document}
I am interested because although my compiled documents print fine on printers, if I try to print from a photocopier, it will not print anything after the first includepdf
. (If there is nothing before this, it gives an error; otherwise, it just prints the pages which came before that point.) For various reasons, I have to print some things from the photocopier rather than a printer and so this is obviously quite awkward. The problem is not specific to any particular document but appears to be general to documents I produce in this way.
So what might the photocopier but not the printer see or not see at the point where \includepdf
occurred in the source? (And is there anything I can do about it?)
Note that the MWE is not a real one because that would require me to run test documents on machines at work and I would prefer to do that only if I cannot learn anything about the problem in any other way. So the example represents the pattern I've noticed but I cannot rule out something else being the real issue at this point.
pdf2ps
followed byps2pdf
). This usually fixes all types of troublesome PDF files. (Note that the problem isn’t necessarily with the actual PDF file, but may with the photocopier or its drivers, but this solution will likely still work.)pdf2ps
->ps2pdf
trick in other cases. (Or even justpdf2ps
although that wouldn't work with the photocopier.)