home *** CD-ROM | disk | FTP | other *** search
- echo off
- if "%1"=="" goto info
- if not exist %1 goto info0
- echo This is how letter %2 of font %1 will look: >prn:
- echo (parentheses added to show where character begins and ends) >prn:
- if "%2"=="" goto info
- if "%3"=="" goto no_id
-
- download %1 /I%3
- :has_id
- echo *p1500y10X()%3X%2) >prn:
- unload /I%3
- goto out
-
- :no_id
- download %1 /I31
- :no_id2
- echo *p1500y10X()31X%2) >prn:
- unload /I31
- goto out
-
- :info0
- if not exist %1.SFP goto info1
- echo This is how letter %2 of font %1.SFP will look: >prn:
- echo (parentheses added to show where character begins and ends) >prn:
- if "%3"=="" goto no_id0
- download %1.SFP /I%3
- goto has_id
- :no_id0
- download %1.SFP /I31
- goto no_id2
-
- :info1
- echo File %1 not found. Please enter a valid soft font file name.
- echo
- :info
- echo This batch file allows you to test print the characters (graphics)
- echo you have inserted into soft fonts using PCX2FNT. Type TESTFNT at the
- echo DOS prompt, followed by the name of a soft font file, followed by
- echo the character in the font to print, and optionally followed by a
- echo font ID (number) that is not already in use by another font in the
- echo printer. For example
- echo
- echo TESTFNT MYLOGO.SFP A 10
- echo
- :out
-