summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/dvips.texi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-23 00:03:05 +0000
committerKarl Berry <karl@freefriends.org>2007-05-23 00:03:05 +0000
commit751e02eaa97418521f089d742eb60c2c4672f31c (patch)
tree22255ae0bcd31eca9849fdbbe529a925a173d693 /Build/source/texk/dvipsk/dvips.texi
parentab9a3ae80bfc0728f987dacf988b13f07109dab3 (diff)
a4=a4size, letter=letterSize, execute setpagedevice for all, use a4/letter in texconfig
git-svn-id: svn://tug.org/texlive/trunk@4340 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/dvips.texi')
-rw-r--r--Build/source/texk/dvipsk/dvips.texi39
1 files changed, 16 insertions, 23 deletions
diff --git a/Build/source/texk/dvipsk/dvips.texi b/Build/source/texk/dvipsk/dvips.texi
index 5cea561f138..c98741430a8 100644
--- a/Build/source/texk/dvipsk/dvips.texi
+++ b/Build/source/texk/dvipsk/dvips.texi
@@ -1777,29 +1777,21 @@ for both (except maybe specifying both).
The Perl 5 script @file{contrib/mkdvipspapers} in the distribution
directory may help in determining appropriate paper size definitions.
-@cindex a4 paper size, as default
-If your printers are configured to use A4 paper by default, the
-configuration file (probably the global @file{config.ps} in this case)
-should include this as the first @samp{@@} command:
-
-@example
-@@ A4size 210mm 297mm
-@@+ %%PaperSize: A4
-@end example
-
-@noindent
-so that @code{A4size} is used as the default, and not @code{A4} itself;
-thus, no PostScript @code{a4} command is added to the output file,
-unless the user explicitly says to use paper size @samp{a4}. That is,
-by default, no paper size PostScript command should be put in the
-output, but Dvips will still know that the paper size is A4 because
-@samp{A4size} is the first (and therefore default) size in the
-configuration file.
-
-Executing the @samp{letter} or @samp{a4} or other PostScript operators
-cause the document to be nonconforming and can cause it not to print on
-certain printers, so the default paper size should not execute such an
-operator if at all possible.
+@flindex config.ps @r{paper sizes}
+@findex letter @r{paper size}
+@findex a4 @r{paper size}
+The default @code{letter} and @code{a4} paper size definitions in
+@file{config.ps} execute the @code{setpagedevice} operator, which
+always exists. Executing the @samp{letter} or @samp{a4} or other
+PostScript operators cause the document to be nonconforming and thus
+perhaps not to print on certain (unknown) printers, while not
+executing any page size definition at all confuses PostScript
+conversion programs such as @command{ps2pdf}.
+
+@findex letterSize @r{paper size}
+@findex A4size @r{paper size}
+The @code{letterSize} and @code{A4Size} paper size definitions are now
+synonyms for @code{letter} and @code{a4}.
@node Paper trays
@@ -1810,6 +1802,7 @@ operator if at all possible.
@cindex multiple paper trays
@cindex HP4Si printer and paper trays
+@findex bop-hook
Some printers, such as the Hewlett-Packard HP4si, have multiple paper
trays. You can set up Dvips to take advantage of this using the
@code{bop-hook} PostScript variable (@pxref{PostScript hooks}).