tl-paper -V (return code: 1)
tl-paper: inquire and set paper settings for various programs in the TeX World.
usage:
tl-paper list <program> lists available papers, current paper first
tl-paper status lists all current settings
tl-paper get <program> prints the current paper for <program>
tl-paper set <program> <newpaper> sets new paper for <program>
tl-paper set all <a4|letter> sets new paper for all programs
tl-paper (return code: 0)
Current dvipdfmx paper size (from /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg): letter
Current dvips paper size (from /var/lib/texmf/dvips/config/config-paper.ps): letter
Current pdftex paper size (from /var/lib/texmf/tex/generic/config/pdftexconfig-paper.tex): letter
Current xdvi paper size (from /var/lib/texmf/xdvi/XDvi-paper): letter