home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / BEEHIVE / UTILITYS / INITP6.ARC / INITP6.TXT < prev   
Text File  |  1990-07-21  |  7KB  |  164 lines

  1.                               I  N  I  T  P  6  .  C  O  M
  2.                               ============================
  3.  
  4.  
  5.                             A Printer-Initialisation Utility 
  6.                             for a 24-Pin Dot Matrix Printer.
  7.  
  8.                                            by
  9.  
  10.  
  11.                                        Steve Filan
  12.                                    School of Geography
  13.                               University of New South Wales
  14.                              Box 1, P.O. Kensington NSW 2033
  15.  
  16.  
  17.                                       Version 1.00
  18.                                    September 5th, 1987
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                   FUNCTIONS OF INITP6
  25.                   -------------------
  26.  
  27.  
  28.                   INITP6.COM  is used to set a variety of controls  for 
  29.                   use of a 24-pin dot matrix printer connected to an 8-
  30.                   bit  microcomputer operating under CP/M (version  2.2 
  31.                   or  later).   The program first resets a  printer  to 
  32.                   standard  switch-on default values;  sets page length 
  33.                   for use of A4 sized paper;  and then offers a  series 
  34.                   of  choices  for  settings for a  24-pin  dot  matrix 
  35.                   printer.   The  options  which can be set when  using 
  36.                   INITP6 are:-
  37.  
  38.                   (a). Print size:  10, 12, 15, 17 or 20 characters per 
  39.                        inch.
  40.  
  41.                   (b). Printing mode:  draft quality or letter quality.
  42.  
  43.                   (c). Print enhancement:  unenhanced,  emphasised,  or 
  44.                        both emphasised and double-strike.
  45.  
  46.                   (d). Line spacing:
  47.                        i.   Standard 6 lines per inch,  giving 70 lines 
  48.                             per page of A4 paper.
  49.                        ii.  Double-space (3 lines per inch).
  50.                        iii. One-and-a-half spacing (4 lines per inch).
  51.                        iv.  Approximately 6.67 lines per  inch,  giving 
  52.                             about  78 lines per A4 page.   This spacing 
  53.                             gives quite a satisfactory appearance  with 
  54.                             15-, 17- or 20-pitch print.
  55.                        v.   Approximately 7.33 lines per  inch,  giving 
  56.                             about 86 lines per A4 page:  rather crowded 
  57.                             for  solid text,  but at least legible with 
  58.                             the smaller print sizes.
  59.  
  60.  
  61.  
  62.                   OPERATING INSTRUCTIONS
  63.                   ----------------------
  64.  
  65.  
  66.                   Assuming  that INITP6.COM is present on a disk in the 
  67.                   default drive, simply enter
  68.                      INITP6  
  69.                   at the CP/M system prompt and press <RETURN>.  An on-
  70.                   screen  message  will  remind you  that  the  printer 
  71.                   should  be connected and switched on  before  further 
  72.                   operation.   Touch  'y' or 'Y' when you are ready  to 
  73.                   proceed  (there is no need to use the RETURN key when 
  74.                   reponding to prompts in INITP6).
  75.  
  76.  
  77.                   The  system  will then offer a series  of  menu-style 
  78.                   prompts,  each of which can be answered by touching a 
  79.                   single key.  Once the printer controls have been set, 
  80.                   the  program  returns  control  to  the  normal  CP/M 
  81.                   operating system.
  82.  
  83.  
  84.  
  85.                   MACHINE-SPECIFIC FEATURES
  86.                   -------------------------
  87.  
  88.  
  89.                   This  utility program has been developed for use with 
  90.                   a  NEC P6 Pinwriter 24-pin dot matrix  printer.   The 
  91.                   printer-control commands embedded in the program  are 
  92.                   likely  to be compatible with those in various  other 
  93.                   24-pin  printers (e.g.,  the Epson LQ-series),  but I 
  94.                   have not had access to printers or manuals to confirm 
  95.                   this.
  96.  
  97.  
  98.                   The program was prepared on an Osborne 1,  but should 
  99.                   function satisfactorily on most CP/M systems.   There 
  100.                   is one feature which may affect on-screen displays on 
  101.                   some systems: Control-Z is used to clear the screen.
  102.  
  103.  
  104.  
  105.                   RELATED FILES
  106.                   -------------
  107.  
  108.  
  109.                   This code is released to the public domain.  The main 
  110.                   components released are:
  111.  
  112.  
  113.                   (a). The executable version INITP6.COM (this may also 
  114.                        be  encountered in squeezed form as INITP6.CQM).  
  115.                        INITP6.COM  is a 2k file,  and is the only  file 
  116.                        which is essential for use of the system.
  117.  
  118.  
  119.                   (b). Source code, as INITP6.ASM (may also be found in 
  120.                        squeezed  form  as INITP6.AQM).   This code  has 
  121.                        been  written in 8080 Assembler  language.   The 
  122.                        code was assembled and loaded using the standard 
  123.                        ASM.COM  and  LOAD.COM utilities  supplied  with 
  124.                        CP/M version 2.2.
  125.  
  126.  
  127.                   (c). Documentation (this text).   INITP6.DOC (or  the 
  128.                        squeezed  version INITP6.DQC) holds the document 
  129.                        as a Wordstar "document" file.   Some users  may 
  130.                        prefer  to have the same text as INITP6.TXT  (or 
  131.                        squeezed  version INITP6.TQT),  a "non-document" 
  132.                        or plain ASCII text file which can be viewed  or 
  133.                        printed without use of Wordstar.
  134.  
  135.  
  136.                   The  various files in the system may stored within  a 
  137.                   "library" file, INITP6.LBR
  138.  
  139.  
  140.  
  141.                   ACKNOWLEDGEMENT
  142.                   ---------------
  143.  
  144.  
  145.                   A  number  of  elements  (for  example,  input-output 
  146.                   subroutines)  of INITP6 have been adapted  from  code 
  147.                   published  by  other writers.   In particular,  I  am 
  148.                   conscious of heavy reliance on material from  Barbier 
  149.                   (1983) and Leventhal (1978).
  150.  
  151.  
  152.  
  153.                   REFERENCES
  154.                   ----------
  155.  
  156.  
  157.                   Barbier, K. (1983).  CP/M Assembly Language 
  158.                        Programming.  Englewood Cliffs.  Prentice Hall.
  159.  
  160.  
  161.                   Leventhal, L.A. (1978).  8080A/8085 Assembly Language 
  162.                        Programming.  Berkeley.  Osborne/McGraw-Hill.
  163.  Leventhal, L.A. (1978).  8080A/8085 Assembly Language 
  164.