home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if not exist grabber.doc goto :err
- if not exist grtxt.doc goto :err
- if not exist gr4ai.doc goto :err
- if not exist gredit.doc goto :err
- if exist convert.doc goto :msg
- :err
- echo
- echo Error: Cannot locate all of the documentation files (GRABBER.DOC,
- echo GR4AI.DOC, GRTXT.DOC, CONVERT.DOC and GREDIT.DOC) in the current
- echo directory. Some or all of these files are not present. Please
- echo change to the drive and directory which contains your GRABBER
- echo distribution files, then run this INFO.BAT again.
- echo
- goto :exit
- :msg
- echo This batch file will print out the complete documentation for the GRABBER
- echo package. The following files will be printed:
- echo
- echo * GRABBER.DOC (44 pages) -- for GRABBER.EXE and CHKVBE.EXE
- echo * GR4AI.DOC (9 pages) -- for GR4AI.EXE
- echo * GRTXT.DOC (5 pages) -- for GRTXT.EXE
- echo * CONVERT.DOC (12 pages) -- for GR2PCX.EXE, GR2GIF.EXE, GRAI2PCX.EXE,
- echo GRAI2GIF.EXE, GR2ASCII.EXE and GR2ANSI.EXE
- echo * GREDIT.DOC (9 pages) -- for GREDIT.EXE
- echo
- echo By default, the files will be printed to your LPT1 port. To use LPT2 or LPT3
- echo instead, abort this batch file now by pressing [Ctrl-C], then re-enter
- echo INFO LPT2 or INFO LPT3 on the command line.
- echo
- echo Each of these .DOC files is already formatted for printing on regular 8-1/2
- echo by 11-inch paper (or larger). Make sure your printer is set to print at least
- echo 60 lines per page and 80 characters per line. If you don't want to print these
- echo files now, press [Ctrl-C] and then press [Y]. Otherwise, you may let this
- echo batch file print them for you. Simply do this:
- echo
- echo 1. Turn your printer on
- echo 2. Adjust the left margin to zero or 1
- echo 3. Adjust the top line to the very top of the page
- echo 4. Press any key when ready to print, or type Ctrl-C now to abort...
- :chk1
- if %1zap==zap goto :lpt1
- if %1==lpt1 goto :lpt1
- if not %1==LPT1 goto :chk2
- :lpt1
- set pr$=lpt1
- goto :wait
- :chk2
- if %1==lpt2 goto :lpt2
- if not %1==LPT2 goto :chk3
- :lpt2
- set pr$=lpt2
- goto :wait
- :chk3
- if %1==lpt3 goto :lpt3
- if not %1==LPT3 goto :lpt1
- :lpt3
- set pr$=lpt3
- :wait
- pause > nul
- cls
- echo
- echo ┌──────────────────────────────────────────────────────────────┐
- echo │ Printing GRABBER.DOC (44 pages). Press [Ctrl-C] to abort... │
- echo └──────────────────────────────────────────────────────────────┘
- if not exist jerrymsg.txt goto :docs
- type jerrymsg.txt > %pr$%
- :docs
- type grabber.doc > %pr$%
- echo
- echo ┌──────────────────────────────────────────────────────────────┐
- echo │ Printing GR4AI.DOC (9 pages). Press [Ctrl-C] to abort... │
- echo └──────────────────────────────────────────────────────────────┘
- type gr4ai.doc > %pr$%
- echo
- echo ┌──────────────────────────────────────────────────────────────┐
- echo │ Printing GRTXT.DOC (5 pages). Press [Ctrl-C] to abort... │
- echo └──────────────────────────────────────────────────────────────┘
- type grtxt.doc > %pr$%
- echo
- echo ┌──────────────────────────────────────────────────────────────┐
- echo │ Printing CONVERT.DOC (12 pages). Press [Ctrl-C] to abort... │
- echo └──────────────────────────────────────────────────────────────┘
- type convert.doc > %pr$%
- echo
- echo ┌──────────────────────────────────────────────────────────────┐
- echo │ Printing GREDIT.DOC (9 pages). Press [Ctrl-C] to abort... │
- echo └──────────────────────────────────────────────────────────────┘
- type gredit.doc > %pr$%
- if not exist order.frm goto :bye
- type order.frm > %pr$%
- :bye
- echo
- echo Done.
- echo
- :exit
- set pr$=