home *** CD-ROM | disk | FTP | other *** search
/ Shareware Gold 1 / The_Golden_ROM_Series_-_Shareware_Gold_Volume_1_Number_11_-_SK_89-301_-_1989.iso / LIB017 / ESC_CODE.HLP < prev    next >
Text File  |  1986-10-01  |  6KB  |  121 lines

  1.  
  2.                         DEFINING PRINTER ESCAPE CODES
  3.  
  4.     You may set the escape codes to be sent to your printer, (for
  5.     functions such as turning BOLD on and off, etc.), by going to the
  6.     MODIFY DEFAULTS panel by pressing F8 and then F2.  Once in this panel,
  7.     move the Option Selection Bar by pressing the TAB key until it is
  8.     above the field "Printer Escape Codes".  Once there, press F10 and the
  9.     "Print Marker and Code Definition" panel (displayed on a later screen
  10.     in this HELP file) will be displayed.
  11.  
  12.     NOTE: If you escape from the "Print Marker and Code Definition"
  13.           sub-panel by pressing the Esc Key, no changes you made while in
  14.           the panel will become active.  If you leave the panel by
  15.           pressing F10, then all your changes will be recorded.
  16.  
  17.  
  18.  
  19.                               Press the PgDn Key
  20.  
  21.  
  22.                             WHAT ARE YOU SETTING?
  23.  
  24.      Bold is turned on at the beginning of this line and turned off at the
  25.     end of this sentence .  The color, (or attribute) you see on the "B"
  26.     and on the period may be set by you in the Print Marker and Code
  27.     Definition panel.  When you print a file in which you have made such
  28.     marks, PC-TYPE+ will see that Bold must be turned on before sending
  29.     the "B" to your printer, and must be turned off after sending the
  30.     period to your printer.
  31.  
  32.     To turn Bold on and off, a sequence of special characters must be sent
  33.     to your printer.  In the Print Marker and Code Definition panel, you
  34.     specify what these special characters must be.  (Alas, there are no
  35.     standards in the printer world!) PC-TYPE+ will find the characters you
  36.     specified and send them to your printer wherever you requested to do
  37.     so in your file.
  38.  
  39.                               Press the PgDn Key
  40.  
  41.                               Screen         PRINT MARKER and CODE DEFINITION
  42.          Printer Code         Display
  43.          Description          Attribute      Printer Escape Codes
  44.         Bold      On            48           E0
  45.         Bold     Off            48           F0
  46.         Underline On            09           -0
  47.         Undrline Off            09           -(0)0
  48.         Italics   On            01           
  49.         Italics  Off            01           
  50.         Available               02           0
  51.         Available               02           0
  52.         Available               04           0
  53.         Available               04           0
  54.                               
  55.  (AltB ^B) change Background ─┘              Numeric values entered with
  56.  (AltF ^F) change Foreground                 Alt+decimal number on keypad
  57.                                              Note: enter (0) for value zero.
  58.  
  59.                               Press the PgDn Key
  60.  
  61.  
  62.     In this panel, the TAB key will again move the Option Selection Bar.
  63.     When the bar is on a "Printer Code Description" field, (such as:
  64.     "Italics    On"), You may modify the name to whatever you want with
  65.     the twelve character positions available.  The titles you supply in
  66.     these fields will be displayed whenever you press F3, the Print
  67.     Character Function Key.
  68.  
  69.     While it is assumed that you will have 6 pairs of escape codes, each
  70.     pair consisting of turning a printer option on and off,  it is not
  71.     necessary to have pairs since they do not work together.  All in all,
  72.     therefore, you have 12 printer escape sequences available to you.
  73.  
  74.     Notice that the Option Selection Bar will not go to the Underline Off
  75.     and On fields.  This is because underlining requires special
  76.     programming inside PC-TYPE+ itself, hence it reserves these two
  77.     locations for the underlining function.
  78.  
  79.                               Press the PgDn Key
  80.  
  81.                     Print Marker Screen Display Attributes
  82.  
  83.     You may modify the screen display attributes of the Print Markers
  84.     (which will appear in your text when you set an Escape code, e.g.,
  85.     Bold On), by moving the Option Selection Bar to the "Screen Display
  86.     Attribute" field.
  87.  
  88.      AltF's will change the Foreground attribute (color) sequentially.
  89.     CtrlF's will change the Foreground attribute in the reverse direction.
  90.  
  91.      AltB's will change the Background attribute (color) sequentially.
  92.     CtrlB's will change the Background attribute in the reverse direction.
  93.  
  94.     The numbers to the right will show you that indeed something is
  95.     happening if you are doing this on a monochrome monitor.  You can see
  96.     the effect of your changes in the corresponding "Printer Escape Codes"
  97.     field.
  98.  
  99.                               Press the PgDn Key
  100.  
  101.                            Setting the Escape Codes
  102.  
  103.     Finally, the Escape codes themselves may be changed by moving the
  104.     Option Selection Bar to the "Printer Escape Codes" fields.  Inside
  105.     these fields, hold down the Alt key and press the decimal number
  106.     corresponding to the Escape code number required.
  107.  
  108.     For example, to get the "Esc" character "", hold down the Alt key and
  109.     press the 2 and then the 7 on the number pad to the right of your
  110.     keyboard.  Then release the Alt key.  Of course standard characters
  111.     such as "E" may be typed in the normal manner.
  112.  
  113.     Since the decimal 0 value cannot be entered in any fashion on the
  114.     keyboard, you may enter the characters "(0)"   (quotes not included)
  115.     and PC-TYPE+ will convert this to the decimal zero when necessary.
  116.  
  117.     Press F10 when finished - save your defaults if you wish, and you're
  118.     done.
  119.                      Press F4 to Return to the HELP Menu
  120.  
  121.