home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / pcmag / asprn.lzh / ASPRN.DOC < prev   
Text File  |  1988-03-15  |  2KB  |  51 lines

  1.  
  2. «MDUL»«MDNM»ASPRN
  3. Command
  4.  
  5. Robert L. Hummel                                   1988 No. 4 (Utilities)
  6.  
  7.  
  8. Purpose:    Substitutes up to 26 user-selected control sequences
  9. in the output to a printer for simple macro-designating keystrokes
  10. entered in the text.
  11.  
  12. Format:    ASPRN [ /U | [/S] [/Mx | /Cnnn] ]
  13.  
  14. Remarks:    ASPRN is a terminate-stay-resident (TSR) macro
  15. processor and editor that intercepts characters on their way to the
  16. printer.  When it detects a macro designating key combination--the
  17. default is a tilde (~) followed by a letter--it substitutes the user
  18. -designated printer control codes.   
  19.  
  20. Example:    The H-P LaserJet series II requires the Escape
  21. sequence ^[&l0O^[(10U^[(s1p10v0s0b15T to cause it to print in portrait
  22. mode using this downloaded font.  Many word processors cannot send the
  23. actual ASCII ESC character (027d, or 1Bh, designated ^[ above), or
  24. could not send the required sequence in the middle of a line of text. 
  25. They could, however, send ~A, to which the user could assign the
  26. sequence, and ASPRN would make the substitution.
  27.  
  28.     To make or change macro assignments, enter ASPRN /S.  Both an
  29. optional descriptive name and the codes that constitute the macro
  30. itself can be entered and edited on the screen, which automatically
  31. adjusts to any video mode that has a screen width greater than 10
  32. characters.  The bottom line of the screen indicates the use of the
  33. various editing keys.  The ASCII ESC character is entered by hitting
  34. the Esc key; it appears on screen as a left-pointing arrow.  Pressing
  35. F7 allows saving all macros and descriptive names entered under the
  36. name ASPRNNEW.com, which may either be loaded as such or renamed.
  37.  
  38.     The default macro identifier (the tilde) may be changed by
  39. invoking ASPRN with either the /Mx or the /Cnnn switch.  The x is any
  40. printable ASCII character, e.g. the # or & symbol.  The /Cnnn switch
  41. is used if a non-printing character is to be used for the macro
  42. identifier.  To use the the backspace character (ASCII 008) instead of
  43. the tilde, for example, you would enter ASPRN /C008.  To make the
  44. macro identifier change permanent, use both the /S and the /M (or /C)
  45. options.
  46.  
  47.     Subject to the usual TSR deinstallation limitations, ASPRN may
  48. be uninstalled from memory by invoking it with the /U switch on the
  49. command line.  It should be loaded after any print spoolers or any
  50. redirection made using the MODE command.
  51.