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