home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT043.ZIP / 1091 / CR8CMD2.TXT < prev   
Text File  |  1988-03-27  |  10KB  |  316 lines

  1.  
  2.                            USE & DOCUMENTATION FILE
  3.                                      FOR
  4.                                     CR8CMD
  5.                              Original (06/05/85)
  6.  
  7.                   (Create a Mode & Options Command Sequence)
  8.                  (to Program the Panasonic KX-1091X  printer)
  9.  
  10.                   (Epson command set + unique 1091X options)
  11.  
  12.  
  13.    03/27/87 - documentation revision
  14.  
  15.  
  16.    INTRODUCTION
  17.  
  18.  
  19.    The  creation  of  this  program was not just to  put  another   printer
  20.    setup  program  in  the list of software  already  available.  I  wanted
  21.    to  accomplish  several things with this  software.   First,   I  had  a
  22.    need   to  have  a  command program for the particular  printer  that  I
  23.    own.   The  Panasonic  KX-1091  has a number of features  that  are  not
  24.    available   in   the  Epson RX/FX series of printers  as   well   as   a
  25.    number   of   options   which are identical.   Although   the   set   of
  26.    options   and  modes  I  chose to use is just a subset  of  the   entire
  27.    package,   I   found   them   to  be the most often used   in   my   own
  28.    experience.   Second,   I   wanted  a program which could  be  used   to
  29.    create  very  small  command  set files of  particular  printer   setups
  30.    for   autoexec   and   other batch files  without   having   to   modify
  31.    programs   or   patch   in   changes to   already   existing   programs.
  32.    Lastly,   I   wanted  a  program that I did not have to  use  BASIC   or
  33.    BASICA  to  run  the program with.  The programming  language  used  for
  34.    this  module  was  done entirely in 'C'.   The version of  'C'  that   I
  35.    used   was   C88  version 2.3 from  C-Ware  Corporation.   The   program
  36.    uses only one screen and all selections are made from a menu.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.    MINIMUM HARDWARE & SOFTWARE REQUIREMENTS
  43.  
  44.  
  45.    PC-DOS or MS-DOS 1.1 (2.0 or above preferred).
  46.  
  47.    64K of memory
  48.  
  49.    1 single sided/dual density disk drive
  50.  
  51.    color graphics card not needed
  52.                        ---
  53.  
  54.    As  you  can  see a very basic MS-DOS machine  will  work  quite  nicely
  55.    for  this  program.  Not  even the ANSI.SYS commands were  used  in  the
  56.    development  of  this  program.  All video and  keyboard  processing  is
  57.    done   through  the  operating  system or through calls  to  the   BIOS.
  58.    TO   KEEP   COMPATIBILITY   AS UNIVERSAL AS POSSIBLE  NO   HARDWARE   IS
  59.    DIRECTLY ADDRESSED .
  60.  
  61.  
  62.  
  63.                                       1
  64.  
  65.    HOW TO USE 'CR8CMD'
  66.  
  67.    After booting up the system insert the disk with CR8CMD.EXE on it
  68.    into any disk drive and proceed as follows:
  69.  
  70.  
  71.    1.   Make sure the printer mode selection switch on the left hand
  72.         side of the KX-1091 printer is in the STANDARD position.  If
  73.         not, place  the switch in that position, turn power off  and
  74.         then  back on to reset.  ALSO REMEMBER TO PUT THE PRINTER ON
  75.         LINE.
  76.  
  77.                                                       
  78.    2.   type CR8CMD to a DOS prompt
  79.  
  80.              example:  A> CR8CMD  or B> CR8CMD
  81.  
  82.    3.   A menu similar to the following will be displayed:
  83.  
  84.  
  85.         ╔═════════════════════════════════════════════════════════════════╗
  86.         ║                       - C R 8 C M D -                           ║
  87.         ║                                                                 ║
  88.         ║     CREATE AND EXECUTE A SET OF PRINTER COMMAND SELECTIONS      ║
  89.         ║     PANASONIC KX-P1091  (EPSON SET + 1091 UNIQUE COMMANDS)      ║
  90.         ║         06/09/85                         Michael Albo           ║
  91.         ╚═════════════════════ press 'Q' to quit ═════════════════════════╝
  92.    
  93.         SET PICA PITCH                           SET IBM-PC GRAPHIC SET 1
  94.         SET ELITE PITCH                          SET IBM-PC GRAPHIC SET 2
  95.         SET PROPORTIONAL PRINT                   SET DOUBLE PRINTING
  96.         SET COMPRESSED PRINT                     RELEASE DOUBLE PRINTING
  97.         RELEASE COMPRESSED PRINT                 SET NLQ PRINT
  98.         SET 1 LINE DOUBLE WIDE PRINT             SET UNDERLINING
  99.         SET DOUBLE WIDTH PRINT                   RELEASE UNDERLINING
  100.         RELEASE ALL DOUBLE WIDE SETS             SET EMPHASIS PRINT
  101.         RELEASE 1 LINE DOUBLE WIDE               RELEASE EMPHASIS PRINT
  102.         SET SUPERSCRIPT MODE                     SET LINE SPACING 1/8 IN.
  103.         SET SUBSCRIPT MODE                       SET LINE SPACING 7/72 IN.
  104.         RELEASE SUB/SUPER MODE                   SET LINE SPACING 1/6 IN.
  105.         SET ITALIC (STANDARD ONLY)
  106.         RELEASE ITALIC (STANDARD)
  107.    
  108.  
  109.  * - SELECT   space - DESELECT   <^v> - MOVE CURSOR    F - TO FILE    S - SEND
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.    4.   After  deciding  which options are to be selected,  use  the
  117.         cursor movement keys to position the cursor in front of  the
  118.         selection  you wish to make.  Type a '*' to select an option
  119.         or press the SPACE key to deselect an option.  Once all  the
  120.         options  you wish to choose have been selected,  the command
  121.         string for these options can be sent directly to the printer
  122.         or to a file which the user can specify.
  123.  
  124.  
  125.  
  126.                                       2
  127.  
  128.  
  129.    5.   To  send the options directly to the printer,  simply  press
  130.         'S' on the keyboard. The options selected above will be sent
  131.         to the printer, the cursor will return to the 1st option and
  132.         the following message will be displayed:
  133.  
  134.                        Command Sent .....
  135.  
  136.  
  137.         This  message  is displayed so that the user will have  some
  138.         visual  indication that the action was taken (most  printers
  139.         give  no indication that their options have  been  changed.)
  140.         If   the  printer  is  off-line  the  options  will  not  be
  141.         transferred  and  the program may hang up.  Simply  put  the
  142.         printer on line again and the option string will be sent and
  143.         the COMMAND SENT message will be displayed.
  144.  
  145.  
  146.  
  147.    6.   To save a set of options on a disk file,  select the options
  148.         you  wish to save and press 'F'.   A message similar to  the
  149.         following will be displayed:
  150.  
  151.  
  152.                        Save command string under what filename
  153.                        (press 'ESC' to cancel) ?
  154.  
  155.  
  156.  
  157.         At this point you may enter any valid PC/MS-DOS filename  in
  158.         which  the  command string is to be saved.  If you enter  an
  159.         'ESC' key,  the file command will be aborted and the program
  160.         will return to the option selection mode.
  161.  
  162.         If the command string cannot be saved in the file  specified
  163.         for  any  reason,  the  file prompt will be erased  and  the
  164.         following message will be displayed:
  165.  
  166.  
  167.                       Cannot open file: (filename)
  168.  
  169.  
  170.         At this point or after a successful disk write,  the program
  171.         will then return to the selection mode for further option or
  172.         menu selections.
  173.  
  174.  
  175.    7.   To exit the program press 'Q' or CTRL BREAK. The screen will
  176.         be cleared and control will be returned to  PC/MS-DOS.
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.                                       3
  190.  
  191.  
  192.    HOW TO USE THE CREATED PRINTER COMMAND FILES
  193.  
  194.  
  195.    Use of the printer command files can be done in several ways. The
  196.    two  I  will describe are probably the easiest to use but  by  no
  197.    means the only method.  Basically,  any method that will transfer
  198.    the data in the file to the printer will work (i.e.  from another
  199.    program, or batch file etc.).
  200.  
  201.  
  202.    1.   Using the PRINT command:
  203.  
  204.         After a PC/MS-DOS command prompt simply type:
  205.  
  206.                   PRINT (filename)
  207.  
  208.                   example: PRINT COMPRESSED.SET
  209.  
  210.         This  always  works  but it requires that the  PRINT.COM  or
  211.         PRINT.EXE  file be included on a disk in the  system.  Also,
  212.         depending  on how the DIP switches for the printer are  set,
  213.         this  command  will  cause a page to be  ejected  after  the
  214.         command has been sent.
  215.  
  216.  
  217.  
  218.  
  219.    2.   Using the TYPE command:
  220.  
  221.         If you are using PC/MS-DOS version 2.0 or greater,  the TYPE
  222.         command can be used and the output redirected to the printer
  223.         in the following manner.
  224.  
  225.  
  226.                   TYPE (filename) >PRN
  227.  
  228.                   example: TYPE ENHANCE.CLR >PRN
  229.  
  230.         If available this method is preferable,  since no driver has
  231.         to be loaded into memory and no reaction will be  noticeable
  232.         at the printer.
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.                                       4
  253.  
  254.  
  255.         03/27/87 - documentation update
  256.  
  257.         Since  this program was written in 1985 a number of  changes
  258.         have  been  made  to the Panasonic line  of  printers.  This
  259.         program  is still valid for the new printers but  not  every
  260.         option may work. Some options such as proportional  printing
  261.         may work but may not be described in your users manual.  For
  262.         the most part though the sequences presented in this program
  263.         still  work correctly for at least the EPSON FX commands  of
  264.         any compatible printer, including the Panasonic line.
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.    CONCLUSION
  274.  
  275.    If  this  program  is something you can use  and  you  have  some
  276.    comments  or suggestions please feel to write me about them so  I
  277.    can incorporate them in following versions.
  278.  
  279.  
  280.    Michael Albo
  281.    S. 1418 Bluff Dr.
  282.    Spokane, Washington
  283.                 99206
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.                                       5
  316.