 |
Department of Engineering |
 |
 |
Printing PDF from LaTeX onto A4
There are several ways to start with a LaTeX file, convert it to PDF
and print it out. At each stage there's a chance that the "paper size"
will change, thus disturbing paper layout. If the defaults are incorrectly
set, the following information might be useful.
Output methods
Our CUPS-based "lp" program can cope with PDF so these routes are
available
- pdflatex -> lp
- pdflatex -> acroread
- latex -> dvipdfm -> lp
- latex -> dvipdfm -> acroread
- latex -> dvips -> ps2pdf -> lp
- latex -> dvips -> ps2pdf -> acroread
Program defaults
- latex has a default paper size option that we set to A4.
You can use "\documentclass[a4paper..." to force the issue.
- pdflatex has a default paper size option set in
a config file pdftex.cfg
- acroread has "shrink/expand to page" options that you'll need
to suppress. Check the "Page Setup" settings too.
- dvipdfm has a default paper size (set to 'letter' on plane) -
there's a "-p a4" option.
- dvips has a "-t a4" option. The Teaching System default is in
config.ps
- ps2pdf has a "-sPAPERSIZE=a4" option. The default is set in
ghostscript's config file gs_init.ps
If you're administrator on a recent Unix LaTeX installation, the following
should fix most defaults to A4
texconfig xdvi a4
texconfig dvips paper a4
texconfig pdftex paper a4
texconfig dvipdfm paper a4