home *** CD-ROM | disk | FTP | other *** search
/ World of Graphics / WOGRAPH.BIN / 665.TESTFNT.BAT < prev    next >
DOS Batch File  |  1992-03-16  |  1KB  |  47 lines

  1. echo off
  2. if "%1"=="" goto info
  3. if not exist %1 goto info0
  4. echo This is how letter %2 of font %1 will look: >prn:
  5. echo (parentheses added to show where character begins and ends) >prn:
  6. if "%2"=="" goto info
  7. if "%3"=="" goto no_id
  8.  
  9. download %1 /I%3
  10. :has_id
  11. echo *p1500y10X()%3X%2) >prn:
  12. unload /I%3
  13. goto out
  14.  
  15. :no_id
  16. download %1 /I31
  17. :no_id2
  18. echo *p1500y10X()31X%2) >prn:
  19. unload /I31
  20. goto out
  21.  
  22. :info0
  23. if not exist %1.SFP goto info1
  24. echo This is how letter %2 of font %1.SFP will look: >prn:
  25. echo (parentheses added to show where character begins and ends) >prn:
  26. if "%3"=="" goto no_id0
  27. download %1.SFP /I%3
  28. goto has_id
  29. :no_id0
  30. download %1.SFP /I31
  31. goto no_id2
  32.  
  33. :info1
  34. echo File %1 not found.  Please enter a valid soft font file name.
  35. echo  
  36. :info
  37. echo This batch file allows you to test print the characters (graphics)
  38. echo you have inserted into soft fonts using PCX2FNT.  Type TESTFNT at the
  39. echo DOS prompt, followed by the name of a soft font file, followed by
  40. echo the character in the font to print, and optionally followed by a 
  41. echo font ID (number) that is not already in use by another font in the
  42. echo printer.  For example
  43. echo  
  44. echo        TESTFNT MYLOGO.SFP A 10
  45. echo  
  46. :out
  47.