Category : Font Collections
Archive   : BARBARA.ZIP
Filename : DOWNLOAD.BAT

 
Output of file : DOWNLOAD.BAT contained in archive : BARBARA.ZIP
echo off
if not "%1"=="" goto :NoExplain

echo This batch file will download a font file to the LaserJet or
echo DeskJet, and (optionally) print a file using it.
echo Syntax: download [fontfile] [textfile]
goto :end

:NoExplain
if not exist %1 goto :NoFontFile
if not exist font.id1 goto :NoFontID
if not exist perm goto :NoPerm

echo Font '%1' is being downloaded to the printer.
echo It may take half a minute or more, depending on how big the file is.
echo If it takes much longer, make sure the printer is turned on and is
echo on line, and that the cables are firmly attached.

copy /b font.id1+%1+perm prn > nul
echo Font '%1' has been downloaded
if "%2"=="" goto :end
if not exist %2 goto :NoTextFile
if not exist barbara.sel goto :NoSelect
copy /b barbara.sel+%2 prn > nul
echo > prn
echo Printed file '%2'
goto :end

:NoFontFile
echo Font file '%1' not in the current directory
goto :end

:NoFontID
echo Font ID file 'font.id1' not in the current directory
goto :end

:NoPerm
echo File 'perm' not in the current directory
goto :end

:NoTextFile
echo ASCII text file '%2' not in the current directory
goto :end

:NoSelect
echo File 'barbara.sel' not in the current directory
goto :end

:end


  3 Responses to “Category : Font Collections
Archive   : BARBARA.ZIP
Filename : DOWNLOAD.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/