summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvidvi/doubside.bat
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
committerKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
commit487ca4806cc046076293cf6cc5fbba0db282bac7 (patch)
tree847b412ab5158dd7bdd7ed7e5a4cc3fbca94be32 /Build/source/texk/dvidvi/doubside.bat
parenta3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (diff)
texk 1
git-svn-id: svn://tug.org/texlive/trunk@1485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvidvi/doubside.bat')
-rw-r--r--Build/source/texk/dvidvi/doubside.bat34
1 files changed, 34 insertions, 0 deletions
diff --git a/Build/source/texk/dvidvi/doubside.bat b/Build/source/texk/dvidvi/doubside.bat
new file mode 100644
index 00000000000..1b59a7cd0f8
--- /dev/null
+++ b/Build/source/texk/dvidvi/doubside.bat
@@ -0,0 +1,34 @@
+@echo off
+REM Given a DVI file, this command file carries out the steps
+REM needed to print a dvi file in double side.
+REM The fancy pagination is done by Tom Rokicki's DVIDVI program.
+REM
+if not "%1" == "" goto :file_given
+echo.
+echo Usage: doubside file[.dvi]
+echo.
+go to :exit
+:file_given
+dvidvi -m2:-1 %1 part1
+echo.
+dvidvi -m2:0 %1 part2
+REM
+REM Now explain how to preview or PSPRINT the new DVI files.
+REM
+echo.
+echo.
+echo PART1.DVI and PART2.DVI have been created; each part contains the pages that
+echo must be printed on the same side of the paper.
+echo To print double sided documents, carry out the
+echo following steps (assuming you are using a LaserWriter):
+echo.
+echo 1. $ psprint part1
+echo 2. When this job has finished, take the output and put it back into
+echo the input cassette without changing the orientation in any way.
+echo 3. $ psprint part2
+echo 4. Depending on the number of pages, the final output may not be collated.
+echo You may need to change the placement of the bottom sheet(s).
+echo.
+
+:exit
+