home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
wp2
/
pcw303-b.lzh
/
DESKDOWN.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-09-20
|
3KB
|
103 lines
cls
echo off
if %1X==X goto ni
if %1==helv goto hv
if %1==times goto ti
IF %1==HELV GOTO HV
IF %1==TIMES GOTO TI
echo The "%1" group of fonts is not available.
goto ex
:NI
echo *
echo The choices for downloading fonts to the HP DeskJet are:
echo HELV - Helvetica fonts w/USASCII extended symbols
echo TIMES - Times Roman fonts w/USASCII extended symbols
echo *
echo When running DESKDOWN, use the following format:
echo *
echo DESKDOWN fontgrp drivespec
echo *
echo where "fontgrp" is HELV or TIMES, and "drivespec" is drive with the font file.
goto ex
:HV
if %2X==X goto f1
echo Insert HP disk 2 in drive %2
pause
:f1
echo on
echo *c1D>lpt1
COPY /B %2hv120ipn.djp LPT1:
echo *c5F*c2D>lpt1
COPY /B %2hv120rpn.djp LPT1:
echo *c5F*c3D>lpt1
COPY /B %2hv100ipn.djp LPT1:
echo *c5F*c4D>lpt1
COPY /B %2hv100rpn.djp LPT1:
echo *c5F*c5D>lpt1
COPY /B %2hv080ipn.djp LPT1:
echo *c5F*c6D>lpt1
COPY /B %2hv080rpn.djp LPT1:
echo *c5F>lpt1
echo off
echo PLEASE WAIT FOR DOS PROMPT . . .
echo (8U(sp10h12vsb3THelvetica soft fonts for the DeskJet have been downloaded>lpt1
echo &a20R>lpt1
echo The downloaded fonts currently available are:>lpt1
echo &a23R>lpt1
echo (1X R - Helvetica 12 pt italic>lpt1
echo (2X Q - Helvetica 12 pt>lpt1
echo (3X I - Helvetica 10 pt italic>lpt1
echo (4X P - Helvetica 10 pt>lpt1
echo (5X J - Helvetica 8 pt italic>lpt1
echo (6X E - Helvetica 8 pt>lpt1
echo (s6v1S V - Helvetica 6 pt italic>lpt1
echo (s0S S - Helvetica 6 pt>lpt1
echo (s5v1S O - Helvetica 5 pt italic>lpt1
echo (s0S M - Helvetica 5 pt>lpt1
echo (s4V C - Helvetica 4 pt>lpt1
echo &a42R>lpt1
echo (8U(sp10h12vsb3TThe correct printer selection for this font set is HP DeskJet, Helvetica SF>lpt1
goto ls
:TI
if %2X==X goto g1
echo Insert HP disk 3 in drive %2
pause
:g1
echo on
echo *c1D>lpt1
COPY /B %2tr120ipn.djp LPT1:
echo *c5F*c2D>lpt1
COPY /B %2tr120rpn.djp LPT1:
echo *c5F*c3D>lpt1
COPY /B %2tr100ipn.djp LPT1:
echo *c5F*c4D>lpt1
COPY /B %2tr100rpn.djp LPT1:
echo *c5F*c5D>lpt1
COPY /B %2tr080ipn.djp LPT1:
echo *c5F*c6D>lpt1
COPY /B %2tr080rpn.djp LPT1:
echo *c5F>lpt1
echo off
echo PLEASE WAIT FOR DOS PROMPT . . .
echo (8U(sp10h12vsb3TTimes Roman soft fonts for the DeskJet have been downloaded>lpt1
echo &a20R>lpt1
echo The downloaded fonts currently available are:>lpt1
echo &a23R>lpt1
echo (1X Times Roman 12 pt italic>lpt1
echo (2X Times Roman 12 pt>lpt1
echo (3X Times Roman 10 pt italic>lpt1
echo (4X Times Roman 10 pt>lpt1
echo (5X Times Roman 8 pt italic>lpt1
echo (6X Times Roman 8 pt>lpt1
echo (s6v1S V - Times Roman 6 pt italic>lpt1
echo (s0S S - Times Roman 6 pt>lpt1
echo (s5v1S O - Times Roman 5 pt italic>lpt1
echo (s0S M - Times Roman 5 pt>lpt1
echo (s4V C - Times Roman 4 pt>lpt1
echo &a42R>lpt1
echo (8U(sp10h12vsb3TThe correct printer selection for this font set is HP DeskJet, Times Roman SF>lpt1
:ls
echo For a list of font assignments, print the PRINT.TST file.>lpt1
echo &a59R>lpt1
:ex