home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / desqview / dvsprt.arc / DVSETPRT.DOC < prev    next >
Encoding:
Text File  |  1987-12-14  |  10.0 KB  |  198 lines

  1.  
  2.  
  3.                                DVSETPRT
  4.                    Desqview MX 80 printer setup utility
  5.                     (c) Daniel T. Travison Jr., 1987
  6.  
  7.                          GEnie Email: D.TRAVISON
  8.  
  9.                           Non-Electronic Mail:
  10.                               P.O. Box 165
  11.                          Burnt Hills, NY  12027
  12.  
  13.       Dvsetprt.com is a simple program designed to send some of the
  14.       common MX 80 control code sequences.  I wrote is specifically
  15.       to give me a chance to work with the BIOS printer services as
  16.       well as try out a few more Desqview routines.   It requires a
  17.       minimum  amount memory to run.    In fact  it is replacing an
  18.       almost identical PD utility that required twice the space.  I
  19.       only included the some common  used control codes since I had
  20.       no intention of writing something more extensive at this time.
  21.       I hope  you can find a  use for it from time to time.  I have
  22.       included  NO  instructions simply because I  believe  none is
  23.       really needed.   Simply install it using the .DVP included in
  24.       the archive and you are all set to go.  If the printer is not
  25.       ready  Desqview will  'pop-up' an  error  window. Correct the
  26.       problem  then press  ESCAPE to  clear the error message.  The
  27.       program  currently can not detect when  other  programs   are
  28.       using the printer.  The program will stop in its tracks until
  29.       the contention  is resolved.  Currently, LPT1 is the ony port
  30.       supported.
  31.  
  32.       You are granted permission to distribute this program with the
  33.       stipulation that NO remittance is accepted for either the program
  34.       or handling and distribution charges.  This program may not be
  35.       distributed with other programs on disk if a charge is incurred
  36.       for any program or for the medium.  In other words, if there is
  37.       a charge involved then you do not have permission to include this
  38.       program, period!
  39.  
  40.   ╒══════════════════════════════════════════════════════════════════════════╕
  41.   │ The author makes no warranties expressed or implied as to the quality or │
  42.   │ performance of this program.  The author will not be held liable for any │
  43.   │ direct, indirect,  incidental or consequential  damages  resulting  from │
  44.   │ the use of this program.   Your use of  this  program  constitutes  your │
  45.   │ agreement to this disclaimer and your releasing the author from any form │
  46.   │ of liability or litigation.                                              │
  47.   ╘══════════════════════════════════════════════════════════════════════════╛
  48.  
  49.  
  50.  
  51.       Desqview routines used:
  52.  
  53.          1: Checks for the presence of Desqview and exits with an error
  54.             if Desqview is not found.
  55.  
  56.          2: The program writes directly to the screen buffer provided by
  57.             Desqview.
  58.  
  59.          3: The program releases the rest of the time slice when ever it
  60.             finishes sending codes to the printer as well as when there 
  61.             are no keystrokes waiting to be processed.
  62.  
  63.          4: Desqview interface for generating tones.
  64.  
  65.          5: Desqview interface for displaying the error message.  This
  66.             used when an error occurs with the printer.
  67.  
  68.       Requirements:
  69.  
  70.          Desqview 2.0  :You MUST have this version or later
  71.  
  72.          Dvsetprt.com  :the executable program
  73.  
  74.          Sp-pif.dvp    :the program information file used by desqview
  75.                         (see next section)
  76.  
  77.          Reasonable compatability with the 'standard' IBM is assumed when
  78.          running this program.  I use interupt 16h to check for key
  79.          strokes pending and to retrieve the same. INT 17h is used for
  80.          printer handling.
  81.  
  82.  
  83.  
  84.       Program information file: 
  85.       
  86.          I have provided the 2 screens from 'Change A Program' to illustrate
  87.          the required settings should the Sp-pif.dvp be missing or incorrect.
  88.          Five points should be noted:
  89.  
  90.             1: Memory size is set to 2k. More is not needed, less will
  91.                produce an error message.
  92.  
  93.             2: Maximum and starting screen size is set to 19 for the height
  94.                and 30 for the width.  Increasing values will distort the
  95.                display.  Decreasing these values can cause serious problems
  96.                when the program tries to write to memory that is not
  97.                allocated to it.
  98.  
  99.             3: All memory options on the Advanced screen are set to zero.
  100.                changing this will only allocate memory to the program
  101.                that will not be used and is therefore wasted.
  102.  
  103.             4: The close on exit to DOS option is set to yes.  This
  104.                allows Desqview to use its own shell.com instead of
  105.                command.com to load the program.  The saves a nice
  106.                chunk of memory that would otherwise be wasted.
  107.  
  108.             5: The program will appear on the Add a program (other)
  109.                menu as Desqview Set Print.  Keep this in mind in case
  110.                you have a problem finding it.
  111.  
  112.  
  113.  
  114.  
  115. ┌─────────────────────────────────────────────────────────────────────────────┐
  116. │                              Change a Program                               │
  117. │                                                                             │
  118. │Program Name............: Desqview Set Print                                 │
  119. │                                                                             │
  120. │Keys to Use on Open Menu: SP                         Memory Size (in K):   2 │
  121. │─────────────────────────────────────────────────────────────────────────────│
  122. │Program...: DVSETPRT.COM                                                     │
  123. │                                                                             │
  124. │Parameters:                                                                  │
  125. │                                                                             │
  126. │Directory.: C:\DV                                                            │
  127. │─────────────────────────────────────────────────────────────────────────────│
  128. │Options:                                                                     │
  129. │                    Writes directly to screen......: [N]                     │
  130. │                    Displays graphics information..: [N]                     │
  131. │                    Can be swapped out of memory...: [Y]                     │
  132. │                    Requires floppy diskette.......: [N]                     │
  133. │                                                                             │
  134. │  Press F1 for advanced options                  Press ─┘ when you are DONE  │
  135. └─────────────────────────────────────────────────────────────────────────────┘
  136.  
  137.  
  138.  
  139. ┌─────────────────────────────────────────────────────────────────────────────┐
  140. │                     Change a Program Advanced Options                       │
  141. │                                                                             │
  142. │System Memory (in K).......:   0   Maximum Program Memory Size (in K)..:     │
  143. │                                                                             │
  144. │Script Buffer Size.......:     0   Maximum Expanded Memory Size (in K):      │
  145. │                                                                             │
  146. │Text Pages: 1  Graphics Pages: 0   Initial Mode:        Interrupts: 00 to FF │
  147. │─────────────────────────────────────────────────────────────────────────────│
  148. │Window Position:                                                             │
  149. │   Maximum Height:  19       Starting Height:  19       Starting Row...:   3 │
  150. │   Maximum Width.:  30       Starting Width.:  30       Starting Column:  29 │
  151. │─────────────────────────────────────────────────────────────────────────────│
  152. │                               Shared Program                                │
  153. │Pathname..:                                                                  │
  154. │                                                                             │
  155. │Data......:                                                                  │
  156. │─────────────────────────────────────────────────────────────────────────────│
  157. │Options:                                                                     │
  158. │   Close on exit to DOS.........: [Y]      Uses its own colors.........: [N] │
  159. │   Allow Close Window command...: [Y]      Runs only in foreground.....: [Y] │
  160. │   Uses math coprocessor........: [N]      Keyboard conflict (0-4).....: [0] │
  161. │                                                                             │
  162. │ Press F1 for standard options                  Press ─┘ when you are DONE   │
  163. └─────────────────────────────────────────────────────────────────────────────┘
  164.  
  165.  
  166.       Compatability:
  167.  
  168.             This program has been successfully run on the following
  169.             three machines:
  170.  
  171.                1: Compaq 386   (CGA emulation)
  172.  
  173.                2: IBM 8mhz AT  (monochrome graphics)
  174.  
  175.                3: My 8mhz XT.  (color) This machine is an example
  176.                   of the extreme in that the parts were purchased 
  177.                   from at least 7 different manufactures, none of
  178.                   which are known  for their  large market share.
  179.                   The CPU is a NEC V20 and the BIOS is by PHEONIX
  180.                   (version 2.26)
  181.  
  182.       The End:
  183.  
  184.          I have written this program   because I have not found a
  185.          satisfactory alternative.  I have learned a little about
  186.          assembler  along  the way  and  consider that sufficient
  187.          compensation  for  the  time  and  effort  spent on this
  188.          program.  I do have an EGO so feel free to send comments
  189.          using one of the methods provided above.  Users that are
  190.          in the  same  stages of learning assembler as myself may
  191.          have a copy  of the  source as an example of actual uses
  192.          for  the  routines  Quarterdeck  provides.   Experienced
  193.          assembler programmer's will be bored and only  point out
  194.          all the different  areas where my ignorance of assembler
  195.          shines through.
  196.  
  197.  
  198.