home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / p / pe201.zip / PE.DOC < prev    next >
Text File  |  1992-09-01  |  27KB  |  639 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                              Documentation for
  10.  
  11.                               PRINTER EXPRESS
  12.  
  13.                                     by
  14.  
  15.                                Ralph Freshour
  16.                             531 Main Street #306
  17.                             El Segundo, CA 90245
  18.                                 310-640-1649
  19.  
  20.  
  21.             PRINTER EXPRESS is distributed as a Shareware product
  22.  
  23.  
  24.  
  25.                                  Contents
  26.  
  27.      Introduction.............................................Part I
  28.          Welcome
  29.          Command Line Usage
  30.          DOS Path Statement and Environment Variable
  31.          The Files For PRINTER EXPRESS
  32.      General Notes............................................Part II
  33.          Guidelines
  34.          Hardware and Software Requirements.
  35.          How PRINTER EXPRESS Works
  36.      Configuring PE.DAT.......................................Part III
  37.          How to Configure the File
  38.          General Rules
  39.          How to Enter Printer Control Codes
  40.          Startup Mode
  41.          Printer Reset
  42.          Default Printer Ports
  43.          Hot Key Scan Code
  44.          Color Systems
  45.      Function Keys............................................Part IV
  46.      Uninstalling PE..........................................Part V
  47.      PE and Graphics..........................................Part VI
  48.      Technical Support........................................Part VII
  49.      Registration Form........................................Part VII
  50.      License Agreement........................................Part VIII
  51.      Reference Tables:
  52.          Color Table..........................................Part IX
  53.          Hot Key Table........................................Part IX
  54.  
  55. Part I - INTRODUCTION
  56.  
  57.  
  58. Welcome to PRINTER EXPRESS (PE). You use PE to control your printer's
  59. most frequently-used functions. You can run PE as an .EXE program, or
  60. as a TSR (Terminate but Stay Resident) program.
  61.  
  62. You can change printer settings on the fly when you use PE as a
  63. TSR. For example, in the middle of an application you can press
  64. ALT / (the default Hot Key) and change your printer settings to
  65. Condensed, Underline ON, Landscape Mode ON, etc.
  66.  
  67. The controls supported by PE apply to any Dot Matrix, Ink Jet, or
  68. Laser Jet printer.
  69.  
  70. Here's how to use PE from the DOS prompt:
  71.  
  72.        PE    <CR>          run as an .EXE program, using the PE.DAT file
  73.        PE    "MYFILE" <CR> run as an .EXE program, using "MYFILE" vs PE.DAT
  74.        PE /L "MYFILE" <CR> load as a memory resident (TSR) program using
  75.                            "MYFILE" vs the PE.DAT file
  76.        PE /U <CR>          uninstall PE as a TSR program
  77.        PE /S               remove screen snow, for older CGA monitors
  78.        PE /G               use b&w attributes for gas plasma/LCD screens
  79.        PE /F               use fast cursor speed
  80.        PE /H <CR>          this Help screen
  81.        PE /? <CR>          this Help screen
  82.  
  83.      "MYFILE" is a copy of the PE.DAT file which you modify to
  84.      create a customized configuration file for your printer.
  85.  
  86.        <CR> is the Return or Enter key.
  87.  
  88.        /S: Enables "snow removal" code for older CGA color monitors.
  89.            It will eliminate screen flicker while PE is running.
  90.            Don't use this switch unless you need it.
  91.  
  92.        /G: On Gas plasma and LCD screens, this switch will force PE
  93.            to use default monochrome attributes instead of color
  94.            settings. Note that you may set monochrome color values
  95.            in the PE.DAT file if you have a mono system. The -G switch
  96.            uses pre-set monochrome values.
  97.  
  98.        /F: This switch increases cursor movement speed in lightbar
  99.            operations. This switch works only on 286 class machines
  100.            and above.
  101.  
  102.        You may use the -, /, or \ characters in front of the switch.
  103.  
  104. Part I - INTRODUCTION cont...
  105.  
  106. INSTALLATION
  107.  
  108. PRINTER EXPRESS can be installed onto your hard drive two ways.
  109.  
  110.    For root directory Installation:
  111.     Copy PE.EXE and PE.DAT files into your root directory. Printer
  112.     Express can then be executed upon system start-up.
  113.  
  114.   This is the fastest and easiest way install PRINTER EXPRESS.
  115.  
  116.    For subdirectory installation:
  117.     Create a C:\PE subdirectory
  118.     Copy PE.EXE and PE.DAT files into the C:\PE subdirectory
  119.  
  120. You should include this subdirectory in the PATH statement of
  121. your AUTOEXEC.BAT file. You can also include a DOS environment
  122. variable for PE.
  123.  
  124. By placing "set PTREXP=C:\PE" in your AUTOEXEC.BAT file, DOS will
  125. create an environment variable string called 'PTREXP'. When you
  126. start PE, it looks for the string 'PTREXP'. If the string is found,
  127. PE looks at the rest of the statement (=C:\PE) and knows
  128. where to find the required PE.DAT file.
  129.  
  130. If you don't use a PATH statement or a DOS Environment Variable,
  131. then you need to start PE from within it's own directory.
  132.  
  133.  
  134. The files for PRINTER EXPRESS:
  135.  
  136. 1. PE.DOC       This file; READ IT BEFORE USING PE.
  137.  
  138. 2. PE.DAT       The file to be customized for your printer.
  139.                 The Printer Control Codes in PE.DAT are
  140.                 for Epson-compatible printers. PE.DAT is
  141.                 the default file. If you use a different printer,
  142.                 change PE.DAT settings BEFORE you using that printer.
  143.  
  144. 3. PE.EXE       The executable file.
  145.  
  146. Part II - GENERAL NOTES
  147.  
  148. Guidelines:
  149.  
  150.  1. Copy the original PE files to a subdirectory on your
  151.     hard disk. We suggest C:\PE as the subdirectory.
  152.  
  153.  2. DO NOT CHANGE THE PE.DAT FILE LAYOUT. PRINTER EXPRESS EXPECTS THE
  154.     CONTROL CODES TO BE IN THE EXACT POSITIONS SHOWN IN THIS FILE.
  155.  
  156.  3. For unused selections, leave the ON/OFF codes as 254 decimal.
  157.     PE stops sending control codes to the printer when it encounters
  158.     a 254 decimal code.
  159.  
  160.  4. Activate PE only when the printer isn't printing.
  161.  
  162.  5. Don't activate PE while other TSR programs are running.
  163.  
  164.  6. Don't activate other TSR's unless you have de-activated PE by
  165.     pressing the ESC key.
  166.  
  167.  7. Load DOS's PRINT.COM TSR utility before PE to be able
  168.     to uninstall PE as a TSR. We recommend that you load any
  169.     TSR that you want to keep in memory before you load PE.
  170.     You can deactivate PE only if it is the last TSR loaded.
  171.  
  172. Hardware and Software Requirements:
  173.  
  174.              o IBM-PC/XT/AT PS/2 286 386 486 and most clones
  175.              o Color or Monochrome 80 x 25 Text mode video system.
  176.              o DOS 3.00 or higher
  177.  
  178. How PRINTER EXPRESS Works:
  179.  
  180.     PE sends control codes to your printer when you press the
  181.     spacebar. These codes remain in effect until changed. Applications
  182.     you use after running PE can also change these settings without
  183.     PE's knowledge.
  184.  
  185. Part III - CONFIGURING PE.DAT
  186.  
  187.  
  188. How to Configure the File:
  189.  
  190. The PE.DAT file holds the codes you enter to control your printer.
  191. In PE.DAT you also identify the functions of these codes, along
  192. with the header line that specifies the printer model supported.
  193.  
  194. PE.DAT is a file you can change with any ASCII text editor or
  195. word processor in ASCII mode.
  196.  
  197. You can have as many printer configuration files as necessary.
  198. To create a file other than the PE.DAT default, rename that file
  199. when it is saved. To use a new file, enter the file name on the
  200. PRINTER EXPRESS command line.
  201.  
  202. You'll find the control codes for your printer in your printer's
  203. reference manual.
  204.  
  205. General Rules:
  206.  
  207.         PE.DAT doesn't use TAB control character and Printer
  208.         Express doesn't expand any TABs it finds.
  209.  
  210.         The second line is for a header to identify the printer
  211.         and model PE.DAT is designed to operate with.
  212.  
  213.         There are 10 rows for printer function names on the PE menu.
  214.         Some examples are included.
  215.  
  216.         NOTE: Keep the border characters "|" intact. There are 18
  217.         spaces for function names and 19 spaces for ON and OFF
  218.         codes.
  219.  
  220. How to Enter Printer Control Codes:
  221.  
  222.    Place the cursor just to the right of the ON or OFF code border.
  223.  
  224.    Hold down the ALT key and use the NUMERIC KEYPAD NUMBERS.
  225.  
  226.    ENTER THE CONTROL CODE VALUES IN DECIMAL.
  227.  
  228.         Example: to set an Epson printer to Condensed Mode, the
  229.         code is 15 decimal. Hold down the ALT key, and on the
  230.         NUMERIC KEYPAD only, press 1 and 5 keys. Now, release
  231.         ALT key. You should see the character on the screen that
  232.         represents 15 decimal. PE sends this control code to the
  233.         printer when you press the Spacebar.
  234.  
  235.    Enter the ON/OFF control codes for each printer function.
  236.  
  237. Part III - CONFIGURING PE.DAT cont...
  238.  
  239.  
  240.    ------------------+-------------------+-------------------+
  241.    (Header Line)     This file for Epson Printers.           |
  242.    ------------------+-------------------+-------------------+
  243.    Printer Function  |     ON Codes      |    OFF Codes      |
  244.    ------------------+-------------------+-------------------+
  245.    Letter Quality    |xqy.               |*(4.               |
  246.    Condensed         |a.                 |~.                 |
  247.    Italics           |!4.                |`5.                |
  248.                      |<----------------->|<----------------->|
  249.                         Max width of 19     Max width of 19
  250.  
  251.                         Enter printer control codes here.
  252.                         From the start of each area, you
  253.                         have 19 spaces to write in. The "|"
  254.                         (vertical bar) character is a border.
  255.                         Write within these borders.
  256.  
  257.         NOTE:           The square block character is character 254
  258.                         decimal. It is used by PE as a terminating
  259.                         character. PE stops sending control codes
  260.                         to the printer when this character code is
  261.                         encountered.
  262.  
  263.                         Be sure to end all printer control codes with
  264.                         the 254 decimal character.
  265.  
  266. Startup Mode:
  267.  
  268.    Enter the Startup Mode control code(s) that set your printer to
  269.    the initial Startup Mode you desire. Use the same procedure as
  270.    described above for entering these control codes.
  271.  
  272.         Example: You may have the option of initializing your
  273.         printer to the IBM Mode or the Epson Mode. If your printer
  274.         doesn't have this feature, leave the code as 254 decimal.
  275.  
  276. Printer Reset:
  277.  
  278.    Enter the control code(s) that reset your printer. If your
  279.    printer doesn't have this feature, leave the code as 254 decimal.
  280.  
  281.  
  282. Initialize COM Port:
  283.  
  284.    Enter the initialization string desired to initialize the COM port
  285.    if you are using a serial printer. The format is "9600,N,8,1" which
  286.    is baud rate, parity, char size and stop bit. If you do not use this
  287.    feature leave the first position blank or enter the 254 decimal
  288.    character.
  289.  
  290.    ----------------------------------------------------------+
  291.    Init COM Port     |9600,N,8,1|<--- Baud Parity Char Stop  |
  292.    ----------------------------------------------------------+
  293.                          
  294.                       Make initialization settings here in the PE.DAT file.
  295.  
  296. Part III - CONFIGURING PE.DAT cont...
  297.  
  298.  
  299. Default Printer Ports:
  300.  
  301.    PE is pre-configured with LPT set to Port 1. The "Printer Port"
  302.    reference line in the PE.DAT file lets you select which of
  303.    the 3 allowable LPT Ports PE will start up with. Valid LPT port
  304.    settings are:
  305.  
  306.        LPT1
  307.        LPT2
  308.        LPT3
  309.  
  310.    PE also supports COM1 and COM2 serial ports, primarily for laser
  311.    printers. Valid COM port settings are:
  312.  
  313.        COM1
  314.        COM2
  315.  
  316.    You can change the printer port setting once PE is running.
  317.    From the PE Main Menu, press F5 to cycle through the currently
  318.    active port options.
  319.  
  320.    For example, if LPT1 is the active port, pressing F5 will cause
  321.    PE to cycle through LPT2, LPT3 and back to LPT1 again.
  322.  
  323.    Press F7 to make the LPT port the active printer port.
  324.    Press F8 to make the COM port the active printer port.
  325.  
  326.    ----------------------------------------------------------+
  327.    Printer Port      |LPT1|<---- LPT1  LPT2  LPT3  COM1  COM2|
  328.    ----------------------------------------------------------+
  329.                       
  330.                       Make LPT or COM port settings here
  331.                       in the PE.DAT file.
  332.  
  333. Part III - CONFIGURING PE.DAT cont...
  334.  
  335.  
  336. Hot Key Scan Code:
  337.  
  338.    PE is pre-configured with ALT / as the Hot Key. You can change this
  339.    in the PE.DAT file. A Hot Key reference chart is included at the
  340.    end of this file to help you select a new Hot Key.
  341.  
  342.    The Hot Key value is read when PE loads. Therefore, if you use PE
  343.    as a TSR and wish to change the Hot Key, you have to change
  344.    it in the PE.DAT file, deactivate it and then run PE again.
  345.  
  346.    You can set any Hot Key combination to load PE into memory. The
  347.    PE.DAT file is read only once during installation, when PE is
  348.    loaded as a TSR. Each key on the IBM Keyboard has a unique
  349.    identification called a Scan Code. These are NOT the same codes
  350.    as the ASCII codes.
  351.  
  352.    For example, the "a" key has a Scan Code of 1E hex compared to it's
  353.    ASCII code of 61 hex. The Scan Code for that key is the same regardless
  354.    of upper or lower case. In the "Hot Key Scan Code" line in the PE.DAT
  355.    file, you'll see 3 characters defining PE's Hot Key. The default
  356.    characters are A35.
  357.  
  358.    Example: The 35 is the Scan Code in hex. In this case, 35 hex is
  359.    the / (forward slash) key (see the chart at the end of this file).
  360.    The "A" just before the 35 means the ALT key must also be depressed
  361.    along with the / key.
  362.  
  363.    Other options available if you prefer something other than the ALT Key:
  364.       C = CTRL Key
  365.       L = LEFT  SHIFT Key
  366.       R = RIGHT SHIFT Key
  367.         = a blank means no ALT, CTRL, LSHIFT or RSHIFT key. It means
  368.           just the Scan Code Key. For example, the Scan Code for the
  369.           F10 Key is 44 hex. If you wanted to just have the F10 key
  370.           pop-up PE, then you would enter " 44" in the Hot Key box.
  371.           If you wanted to activate PE with Control-F10, you would
  372.           enter "C44".
  373.  
  374.    ------------------+---+-----------------------------------+
  375.    Hot Key Scan Code |A35|<---- Enter in Hexadecimal         |
  376.    ------------------+---++---+------------------------------+
  377.                       
  378.                       Make Hot Key changes here in the PE.DAT file.
  379.  
  380.    At the end of this file are the Scan Codes for every key on
  381.    the 83-Key IBM PC/XT Keyboard. You can use any key (including
  382.    the Escape Key) either alone or in any combination with ALT,
  383.    CTRL, LEFT SHIFT or RIGHT SHIFT keys to define your Hot Key.
  384.    PE displays the Hot Key each time you run it.
  385.  
  386.    Please note that the Scan Codes for the Up Arrow, Down Arrow,
  387.    PgDn, PgUp, etc. keys, are located on the NUMERIC KEYPAD. There
  388.    are no Hot Key provisions for dedicated cursor control keyboards
  389.    (keyboards that have a separate numeric key pad and PgUp, PgDn,
  390.    Arrow keys).
  391.  
  392. Part III - CONFIGURING PE.DAT cont...
  393.  
  394.  
  395. Color Systems
  396.  
  397. PE (via PE.DAT) allows you to customize its colors. Enter the DECIMAL
  398. values for each of the color attributes. Enter the Background color
  399. and then the Foreground color.
  400.  
  401. Be sure to enter the values in DECIMAL and enter them like the existing
  402. color settings are entered. That is, don't use the ALT numeric keypad
  403. as you did when entering the printer control codes.
  404.  
  405. Enter the color values between the |   | vertical bar markers. For
  406. example, Main Menu Background is set to the background color of Blue
  407. (see 001 below). The Main Menu Foreground color is set to White (see
  408. 007). Only the 3 characters between the |   | vertical bar markers
  409. are read by PE.
  410.  
  411. -----------------------+---+------------------------------+
  412. Main menu    Background|001|                              |
  413. Main menu    Foreground|007|                              |
  414. -----------------------+---+------------------------------+
  415.                         ^^^
  416.                         Make color changes here in the PE.DAT file.
  417.  
  418.  
  419. There is a color chart at the end of this file and in the right hand
  420. side of the PE.DAT following the color setting area.
  421.  
  422. NOTE: FOR BACKGROUND COLORS, YOU MUST USE VALUES BETWEEN 0 AND 7 ONLY.
  423.  
  424. For a monochrome system, the primary monochrome color combinations are:
  425.  
  426.       Background  Foreground     Results
  427.          000         007        Normal text
  428.          000         015        Bright text
  429.          014         000        Inverse text
  430.  
  431. When you run PE the first time (during loading as a TSR, or
  432. each time as an .EXE program), it reads the PE.DAT file and loads
  433. the codes you have set for your printer. To try different colors,
  434. run PE as a regular .EXE program. That way, you can see the
  435. effects of your color changes right away and don't have to load
  436. and then unload PE as a TSR to check out different colors.
  437.  
  438. When you are finished entering your control codes, you can test these
  439. codes by running PE as an .EXE program and pressing the F2 Test
  440. Print function key for each lightbar selection you've set. Use the
  441. spacebar to toggle each selection ON and OFF.
  442.  
  443. Part IV - FUNCTION KEYS
  444.  
  445.  
  446. F1  Reset Printer: Clears and resets the printer. You must enter
  447.                    your Printer Reset control code(s) in the PE.DAT
  448.                    file in order for this function to work.
  449.  
  450. F2  Test Print:    Sends a Test Print message string to the printer
  451.                    so you can check the correctness of your control
  452.                    codes.
  453.  
  454. F3  Line Feed:     Causes your printer to do a line feed.
  455.  
  456. F4  Form Feed:     Causes your printer to do a form feed.
  457.  
  458. F5  LPT1           PE supports up to 3 parallel printer ports and
  459.     COM1           2 COM ports. The F5 key cycles the active port
  460.                    between it's allowable values.
  461.  
  462. F6  Initialize     This will send the initialization parameters out
  463.     COM Port       the active serial port; COM1 or COM2.
  464.  
  465. F7  Key            Makes the LPT port the active printer port.
  466.  
  467. F8  Key            Makes the COM port the active printer port.
  468.  
  469. F9  About...       Displays information about PE.
  470.  
  471.  
  472. ESC                Press the ESC key to exit PE.
  473.  
  474. Part V - UNINSTALLING PE
  475.  
  476.  
  477. To uninstall PE just type PE U <CR>. If it is safe to do so, PE will
  478. remove itself from memory and display an uninstall message.
  479. If it isn't safe, PE won't remove itself from memory.
  480.  
  481. An ill-behaved TSR is one that always lets you uninstall it. Under
  482. certain conditions, this can place DOS in an unstable state. PE, being
  483. a well-behaved TSR, always makes sure it is safe before it allows
  484. itself to be removed from memory.
  485.  
  486. Remember, loading other TSR's after PE has been installed will prevent
  487. PE from uninstalling itself. There are some DOS Utilities that are
  488. themselves TSR's. If any of these are run after PE is installed, they
  489. prevent PE from uninstalling itself. Examples of these DOS TSR utilities
  490. include PRINT, SHARE, SUBST and ASSIGN.
  491.  
  492.  
  493.  
  494. Part VI - PE AND GRAPHICS
  495.  
  496. PE checks the current video mode before it pops up. If you're currently
  497. running a graphics-based application, it won't pop up and you'll hear a
  498. beep instead.
  499.  
  500. Part VII - TECHNICAL SUPPORT
  501.  
  502.  
  503. Unlimited non-toll free telephone technical support is provided for
  504. registered users only. Call 310-640-1649, west coast time. We'll be happy
  505. to answer your questions.
  506.  
  507.  
  508.  
  509.  
  510.  
  511.                                REGISTRATION FORM
  512.  
  513. PRINTER EXPRESS IS DISTRIBUTED AS SHAREWARE. This means that you may try PE
  514. first before paying for it. Shareware is not freeware. If you use PE, you
  515. are expected to pay for it. THE REGISTRATION FEE IS $20.00. The only way for
  516. us to advise you of updates to PE (enhancements, added features and other
  517. internal improvements) is for you to fill out the registration form and mail
  518. it to us. It's important for you to register with us. We provide technical
  519. support only for registered users.
  520.  
  521. +----------------------------- REGISTRATION FORM -----------------------------+
  522. |                                                                             |
  523. |Name:________________________________________________________________________|
  524. |                                                                             |
  525. |Title:_______________________________________________________________________|
  526. |                                                                             |
  527. |Address:_____________________________________________________________________|
  528. |                                                                             |
  529. |City:__________________________________ State:_____________ Zip:_____________|
  530. |                                                                             |
  531. |Work Phone:____________________________ Home Phone:__________________________|
  532. |                                                                             |
  533. |PE Version:____________  Date Received:________________                      |
  534. |                                                                             |
  535. |                                                                             |
  536. |Please enclose $20.00 registration fee. Thank you.                           |
  537. |                                                                             |
  538. |                                                                             |
  539. |Comments:____________________________________________________________________|
  540. |                                                                             |
  541. |_____________________________________________________________________________|
  542. |                                                                             |
  543. |_____________________________________________________________________________|
  544. |                                                                             |
  545. |_____________________________________________________________________________|
  546. |                                                                             |
  547. +-----------------------------------------------------------------------------+
  548.  
  549.  
  550. Mail this form to:
  551.  
  552.                                 Ralph Freshour
  553.                          Printer Express Registration
  554.                              531 Main Street #306
  555.                              El Segundo, CA 90245
  556.  
  557. Part VIII - LICENSE AGREEMENT
  558.  
  559.  
  560. GRANT OF LICENSE:
  561.  
  562. Ralph Freshour grants to the purchaser of PRINTER EXPRESS the right to
  563. use this copy on a single CPU at a time. PRINTER EXPRESS is copyrighted
  564. (C) and owned by Ralph Freshour and is protected by United States copyright
  565. laws. You may make backup copies to protect your purchase.
  566.  
  567.  
  568. DISCLAIMER:
  569.  
  570. PRINTER EXPRESS and any associated support files, including documentation
  571. files, are provided "as is" without warranty of any kind. The entire risk
  572. as to the results and performance of PRINTER EXPRESS and any associated
  573. files is assumed by you.
  574.  
  575. Ralph Freshour disclaims all warranties, either express or implied, including
  576. but not limited to implied warranties of merchantability and fitness for
  577. a particular purpose, with respect to the PRINTER EXPRESS software product
  578. itself, the diskette it came on and any associated files and/or materials.
  579.  
  580. In no event shall Ralph Freshour be liable for any damages whatsoever
  581. (including without limitation damages for loss of business profits, business
  582. interruption, loss of business information, and the like), arising out of
  583. the use or the inability to use, this product, even if Ralph Freshour has
  584. been so advised of such damages.
  585.  
  586. Part IX - REFERENCE TABLES
  587.  
  588.  
  589. +------------------------------------------------------+
  590. |                 COLOR  REFERENCE  TABLE              |
  591. +--- Background --+--------- Foreground ---------------+
  592. | 00 Dark Black   |  00 Dark Black   08 Bright Black   |
  593. | 01 Dark Blue    |  01 Dark Blue    09 Bright Blue    |
  594. | 02 Dark Green   |  02 Dark Green   10 Bright Green   |
  595. | 03 Dark Cyan    |  03 Dark Cyan    11 Bright Cyan    |
  596. | 04 Dark Red     |  04 Dark Red     12 Bright Red     |
  597. | 05 Dark Magenta |  05 Dark Magenta 13 Bright Magenta |
  598. | 06 Dark Brown   |  06 Dark Yellow  14 Bright Yellow  |
  599. | 07 Dark Gray    |  07 Dark White   15 Bright White   |
  600. +------------------------------------------------------+
  601.  
  602.  
  603. +-------------------------------------+
  604. | Scan Codes for the 83-Key IBM PC/XT |
  605. +-------------------------+------------------------+---------------------------+
  606. |  Scan Code  Key         |  Scan Code  Key        |  Scan Code    Key         |
  607. |  in Hex                 |  in Hex                |  in Hex                   |
  608. +-------------------------+------------------------+---------------------------+
  609. |  01         ESC         |  0F         TAB        |  1D           CTRL        |
  610. |  02         1           |  10         Q          |  1E           A           |
  611. |  03         2           |  11         W          |  1F           S           |
  612. |  04         3           |  12         E          |  20           D           |
  613. |  05         4           |  13         R          |  21           F           |
  614. |  06         5           |  14         T          |  22           G           |
  615. |  07         6           |  15         Y          |  23           H           |
  616. |  08         7           |  16         U          |  24           J           |
  617. |  09         8           |  17         I          |  25           K           |
  618. |  0A         9           |  18         O          |  26           L           |
  619. |  0B         0           |  19         P          |  27           ; Semi-colon|
  620. |  0C         - Minus     |  1A         [          |  28           ' Apostrophe|
  621. |  0D         = Equals    |  1B         ]          |  29           ` Accent    |
  622. |  0E         Backspace   |  1C         Return     |  2A           Left Shift  |
  623. +-------------------------+------------------------+---------------------------+
  624. |  2B         \           |  39         Spacebar   |  47           Home        |
  625. |  2C         Z           |  3A         Caps Lock  |  48           Up Arrow    |
  626. |  2D         X           |  3B         F1         |  49           PgUp        |
  627. |  2E         C           |  3C         F2         |  4A           Grey Minus  |
  628. |  2F         V           |  3D         F3         |  4B           Left Arrow  |
  629. |  30         B           |  3E         F4         |  4C           Num 5       |
  630. |  31         N           |  3F         F5         |  4D           Right Arrow |
  631. |  32         M           |  40         F6         |  4E           Grey Plus   |
  632. |  33         , Comma     |  41         F7         |  4F           End         |
  633. |  34         . Period    |  42         F8         |  50           Down Arrow  |
  634. |  35         /           |  43         F9         |  51           PgDn        |
  635. |  36         Right Shift |  44         F10        |  52           INS         |
  636. |  37         Print Screen|  45         Num Lock   |  53           DEL         |
  637. |  38         ALT         |  46         Scroll Lock|                           |
  638. +-------------------------+------------------------+---------------------------+
  639.