home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DTP en Graphics 1
/
dtpgraf1.zip
/
dtpgraf1
/
PRINT
/
LMAN524A
/
PRINTDOC.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-04-14
|
7KB
|
118 lines
@echo off
goto START
╔═════════════════════════════════════════════════════════════════════╗
║ PRINT THE LASR_MAN DOCUMENTATION AND THEN OPTIONALLY ERASE IT ║
║ ║
║ This routine will either copy the LASR_MAN documentation file ║
║ to the printer or setup LASR_MAN to print it. ║
║ ║
║ Copyright 1993-1994, MicroMetric, All Rights Reserved ║
╚═════════════════════════════════════════════════════════════════════╝
:START
if NOT EXIST lasr_man.doc goto NODOC
cls
echo ╔═══════════════════════════════════════════════════════════════════════════╗
echo ║ LASR_MAN SHAREWARE DOCUMENTATION PRINT METHOD SELECTION ║
echo ╠═══════════════════════════════════════════════════════════════════════════╣
echo ║ Set up to print the LASR_MAN documentation in the following manner...... ║
echo ╟───────────────────────────────────────────────────────────────────────────╢
echo ║ 1. Copy to printer - uses DOS COPY and should work with any type printer ║
echo ║ one text page/sheet of paper (will print about 150 sheets) ║
echo ║ █▌The following methods require a HP LaserJet IIP printer or higher▐║
echo ║ █▌(or compatible). The documentation will be printed by LASR_MAN▐███║
echo ║ █▌with each paper sheet being printed on one side only.▐████████████║
echo ║ 2. 1 page/sheet (150) ║
echo ║ 3. 2 pages/sheet (75) ║
echo ║ 4. 4 pages/sheet (38) ║
echo ║ 5. 8 pages/sheet (19) ║
echo ║ █▌The following methods require a HP LaserJet IIP/higher, LASR_MAN,▐║
echo ║ █▌pamphlet form, each sheet will need to be printed on both sides.▐█║
echo ║ 6. 4 pages/sheet (38) ║
echo ║ 7. 8 pages/sheet (19) ║
echo ║ 8. 16 pages/sheet (10) ║
echo ║ █▌The following method require a HP LaserJet/DeskJet printer (or▐███║
echo ║ █▌compatible), LASR_MAN, and all options will need to be set.▐██████║
echo ║ 9. 4 pages/sheet (38) (may be changed to any other style of output) ║
echo ╚═══════════════════════════════════════════════════════════════════════════╝
:DRIVE
askn ■■ Enter the Documentation Setup you desire (1-9)
echo
set D=NONE
if ERRORLEVEL 1 if NOT ERRORLEVEL 2 set D=1
if ERRORLEVEL 2 if NOT ERRORLEVEL 3 set D=2
if ERRORLEVEL 3 if NOT ERRORLEVEL 4 set D=3
if ERRORLEVEL 4 if NOT ERRORLEVEL 5 set D=4
if ERRORLEVEL 5 if NOT ERRORLEVEL 6 set D=5
if ERRORLEVEL 6 if NOT ERRORLEVEL 7 set D=6
if ERRORLEVEL 7 if NOT ERRORLEVEL 8 set D=7
if ERRORLEVEL 8 if NOT ERRORLEVEL 9 set D=8
if ERRORLEVEL 9 if NOT ERRORLEVEL 10 set D=9
if NOT .%D%==.1 goto LM
cls
echo ╔═══════════════════════════════════════════════════════════════════════════╗
echo ║ LASR_MAN SHAREWARE DOCUMENTATION PRINTING ║
echo ╠═══════════════════════════════════════════════════════════════════════════╣
echo ║ ║
echo ║ The LASR_MAN documentation will be printed using the DOS COPY function. ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════════╝
copy lasr_man.doc prn
goto DONE
:LM
if NOT EXIST lm_doc_%D%.lmo goto NOLMO
cls
echo ╔═══════════════════════════════════════════════════════════════════════════╗
echo ║ LASR_MAN SHAREWARE DOCUMENTATION PRINT INSTRUCTIONS ║
echo ╠═══════════════════════════════════════════════════════════════════════════╣
echo ║ ║
echo ║ LASR_MAN will now be loaded and set to print, using the method that you ║
echo ║ have selected. ║
echo ║ ║
echo ║ In order to print the documentation using your selected method and the ║
echo ║ default options shown, you will only need to press [┘] at each prompt. ║
echo ║ ║
echo ║ You should check the PRINT function, PAPER SOURCE option and set it ║
echo ║ correctly if it does no specify the paper source that is correct for ║
echo ║ your printer. ║
echo ║ ║
echo ║ You may, at any prompt, change any option that you desire, after which ║
echo ║ you should return to the option that was displayed and press [┘]. ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════════╝
pause
if NOT "%1"=="" set D=%D%%1
lasr_man /olm_doc_%D%
:DONE
cls
echo ╔═══════════════════════════════════════════════════════════════════════════╗
echo ║ LASR_MAN SHAREWARE DOCUMENTATION PRINTING COMPLETE ║
echo ╠═══════════════════════════════════════════════════════════════════════════╣
echo ║ ║
echo ║ 1. Return to DOS. ║
echo ║ 2. Erase the LASR_MAN.DOC file and the LASR_MAN documentation print ║
echo ║ option files first, before returning to DOS. ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════════╝
askn ■■ Enter the Exit option you desire (1-2)
echo
if ERRORLEVEL 2 if NOT ERRORLEVEL 3 goto ERASE
goto EXIT
:NONE
echo ■■■ YOU HAVE SELECTED NOT TO PRINT THE LASR_MAN DOCUMENTATION AT THIS TIME ■■■
pause
goto DONE
:NODOC
echo ■■■ THERE IS NO LASR_MAN.DOC FILE TO PRINT ■■■
pause
goto EXIT
:NOLMO
echo ■■■ THERE IS NO LASR_MAN LM_DOC_%D%.LMO OPTION FILE TO USE FOR PRINTING ■■■
pause
goto EXIT
:ERASE
erase lasr_man.doc
erase lm_doc_*.lmo
:EXIT
set D=