1 |
dashley |
24 |
echo off
|
2 |
|
|
rem Line above suppresses echoing immediately, so as not to fill up the console window.
|
3 |
|
|
rem
|
4 |
|
|
rem $Header: /cvsroot/esrg/sfesrg/esrgpubs/acm0010/paper/kmprint.bat,v 1.3 2002/04/14 11:16:04 dtashley Exp $
|
5 |
|
|
rem
|
6 |
|
|
rem This batch file uses Ghostscript to print to the default Windows printer (which
|
7 |
|
|
rem for Dave Ashley is the LaserJet 6 in 2326). GhostScript 7.00 must be installed
|
8 |
|
|
rem to use this batch file verbatim (GhostScript is available for free off the Web).
|
9 |
|
|
rem
|
10 |
|
|
rem To use this batch file, first print to a file from 4AllTex, then run this
|
11 |
|
|
rem file.
|
12 |
|
|
rem
|
13 |
|
|
rem Remarks on the command-line below:
|
14 |
|
|
rem (a) The printing process with 4AllTex creates the _DUMP_.PS file.
|
15 |
|
|
rem That is used.
|
16 |
|
|
rem (b) The LaserJet families are upward compatible. One only needs
|
17 |
|
|
rem to specify the LaserJet 4 and it will work with an LJ6MP.
|
18 |
|
|
rem (c) "NOPAUSE" means don't pause after every page.
|
19 |
|
|
rem (d) "-q" means "quiet".
|
20 |
|
|
rem (e) "c quit" means to quit when done. This gets the page(s) released
|
21 |
|
|
rem to the printer queue.
|
22 |
|
|
rem
|
23 |
|
|
c:\gs\gs7.04\bin\gswin32 -q -sDEVICE=ljet4 -dNOPAUSE _DUMP_.ps -c quit
|
24 |
|
|
rem
|
25 |
|
|
rem $Log: kmprint.bat,v $
|
26 |
|
|
rem Revision 1.3 2002/04/14 11:16:04 dtashley
|
27 |
|
|
rem Update for GhostScript 7.04.
|
28 |
|
|
rem
|
29 |
|
|
rem Revision 1.2 2001/10/27 21:20:04 dtashley
|
30 |
|
|
rem Minor formatting edit.
|
31 |
|
|
rem
|
32 |
|
|
rem Revision 1.1 2001/10/27 21:19:30 dtashley
|
33 |
|
|
rem Initial checkin.
|
34 |
|
|
rem
|
35 |
|
|
rem End of KMPRINT.BAT
|