Debian Codegraph @

texk/dvidvi/doubside.bat

raw
1 @echo off
2 REM Given a DVI file, this command file carries out the steps
3 REM needed to print a dvi file in double side.
4 REM The fancy pagination is done by Tom Rokicki's DVIDVI program.
5 REM
6 if not "%1" == "" goto :file_given
7 echo.
8 echo Usage: doubside file[.dvi]
9 echo.
10 go to :exit
11 :file_given
12 dvidvi -m2:-1 %1 part1
13 echo.
14 dvidvi -m2:0 %1 part2
15 REM
16 REM Now explain how to preview or PSPRINT the new DVI files.
17 REM
18 echo.
19 echo.
20 echo PART1.DVI and PART2.DVI have been created; each part contains the pages that
21 echo must be printed on the same side of the paper.
22 echo To print double sided documents, carry out the
23 echo following steps (assuming you are using a LaserWriter):
24 echo.
25 echo 1. $ psprint part1
26 echo 2. When this job has finished, take the output and put it back into
27 echo the input cassette without changing the orientation in any way.
28 echo 3. $ psprint part2
29 echo 4. Depending on the number of pages, the final output may not be collated.
30 echo You may need to change the placement of the bottom sheet(s).
31 echo.
32
33 :exit
34