In TeX, changing the \hsize and the \vsize changes the main text size and the page size of the dvi output. When I compile a document with pdftex or xetex, the page size remains at A4. How can I change the page margins?
Minimal example:
\hsize=5cm \vsize=4cm
\footline{\hfil The page ends here!\hfil\the\pageno}
This document leaves much white space when {\tt pdftex\/}ed or {\tt xetex\/}ed.
\bye
\pdfpagewidthprimitive that has no analogue in classic tex. – David Carlisle Dec 30 '13 at 18:33\hoffsetand\voffsetneeded? – lvaneesbeeck Dec 30 '13 at 20:55