home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 31
/
CDASC_31_1996_juillet_aout.iso
/
vrac
/
p821_26a.zip
/
PRINTME.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-02-10
|
1KB
|
49 lines
@echo off
echo.
echo ╔════════════════════════════════════════════════════════════╗
echo ║ Welcome to the P821 demo, it will print out the manual ! ║
echo ╚════════════════════════════════════════════════════════════╝
echo.
:ask_lj
echo.
echo Will you print on a DeskJet or on a LaserJet4? [d,l]
ask.com
echo.
if errorlevel 109 goto ask_lj
if errorlevel 108 goto LaserJet
if errorlevel 101 goto ask_lj
if errorlevel 100 goto DeskJet
goto ask_lj
:LaserJet
set LJ4=/q4
:DeskJet
:ask_us
echo.
echo You've probably loaded US Letter media, right? [y,n]
ask.com
echo.
if errorlevel 122 goto ask_us
if errorlevel 121 goto USLetter
if errorlevel 111 goto ask_us
if errorlevel 110 goto DINA4
goto ask_us
:USLetter
set USLetter=/u
:DINA4
if "%USLetter%%LJ4%"=="" goto clear
echo.
echo I'll store the info given above to a configuration
echo file P821.CFG. This options will be mentioned to
echo all subsequent jobs of P821! [any key]
ask.com
echo.
del P821.CFG >nul
echo %USLetter%%LJ4%>P821.CFG
:clear
set USLetter=
set LJ4=
P821 /4 /h"Documentation P821 V2.6" P821.DOC