home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / s / sp2prt.zip / SP2.DOC < prev    next >
Text File  |  1990-12-05  |  58KB  |  1,388 lines

  1.  
  2.  ####    #   ####  #   #     ####  ####    ###    ###    #         ###  ###
  3.  #   #   #  #      #  #     #      #   #  #   #  #   #   #          #    #
  4.  #    #  #  #      # #      #      #   #  #   #  #   #   #          #    #
  5.  #    #  #   ###   ##        ###   ####   #   #  #   #   #          #    #
  6.  #    #  #      #  # #          #  #      #   #  #   #   #          #    #
  7.  #   #   #      #  #  #         #  #      #   #  #   #   #          #    #
  8.  ####    #  ####   #   #    ####   #       ###    ###    #####     ###  ###
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                                Version 2.07
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                                                  _______
  25.  (c) Copyright  1986,1990                   ____|__     |               (tm)
  26.  Budget Software Company                 --|       |    |-------------------
  27.  P. O. Box 12282                           |   ____|__  |  Association of
  28.  12162 E. Mississippi Ave.                 |  |       |_|  Shareware
  29.  Aurora, CO  80012-3499                    |__|   o   |    Professionals
  30.                                          -----|   |   |---------------------
  31.  (303) 695-9095  CompuServe 70033,643         |___|___|    MEMBER
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                       DISK SPOOL II     i
  66. -------------------------------------------------------------------------------
  67.  
  68.  
  69.  
  70.   Table of Contents
  71.   ===========================================================================
  72.  
  73.   Shareware Considerations  . . . . . . . . . . . . . . . . . . . . . .  iii
  74.  
  75.   Revisions made since the latest publication of this User's Guide  . .   iv
  76.  
  77.   Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . . . .    1
  78.  
  79.   Getting Started Quickly . . . . . . . . . . . . . . . . . . . . . . .    2
  80.  
  81.   Configuring DISK SPOOL II . . . . . . . . . . . . . . . . . . . . . .    2
  82.  
  83.   The Menu  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    3
  84.  
  85.   The Spooler and the De-spooler  . . . . . . . . . . . . . . . . . . .    3
  86.  
  87.   Modes of Operation  . . . . . . . . . . . . . . . . . . . . . . . . .    4
  88.  
  89.       Manual Mode . . . . . . . . . . . . . . . . . . . . . . . . . . .    4
  90.          Introduction . . . . . . . . . . . . . . . . . . . . . . . . .    4
  91.          The Spool File . . . . . . . . . . . . . . . . . . . . . . . .    4
  92.          Controlling the De-spooler . . . . . . . . . . . . . . . . . .    5
  93.             Stopping and Starting Printing  . . . . . . . . . . . . . .    5
  94.             Controlling Where in the File to Begin Printing . . . . . .    5
  95.             Printing from Different Files . . . . . . . . . . . . . . .    6
  96.             Controlling the Output Port . . . . . . . . . . . . . . . .    6
  97.  
  98.       Auto Spool    . . . . . . . . . . . . . . . . . . . . . . . . . .    6
  99.          Introduction   . . . . . . . . . . . . . . . . . . . . . . . .    6
  100.          How to Enable Auto Spool   . . . . . . . . . . . . . . . . . .    7
  101.          Spool File Print Attributes  . . . . . . . . . . . . . . . . .    7
  102.          Spool File Attributes by Application . . . . . . . . . . . . .    7
  103.  
  104.       Auto De-spool   . . . . . . . . . . . . . . . . . . . . . . . . .    7
  105.          Introduction . . . . . . . . . . . . . . . . . . . . . . . . .    7
  106.          How to Enable Auto De-spool  . . . . . . . . . . . . . . . . .    8
  107.          Controlling the Auto De-spooler  . . . . . . . . . . . . . . .    8
  108.  
  109.   DISK SPOOL II Performance . . . . . . . . . . . . . . . . . . . . . .    8
  110.      Spooler Speed  . . . . . . . . . . . . . . . . . . . . . . . . . .    8
  111.      De-spooler Speed . . . . . . . . . . . . . . . . . . . . . . . . .    9
  112.  
  113.   Other Special Features of DISK SPOOL  . . . . . . . . . . . . . . . .   10
  114.  
  115.   Trouble Shooting   . . . . . . . . . . . . . . . . . . . . . . . . . .  14
  116.  
  117.   For Programmers  . . . . . . . . . . . . . . . . . . . . . . . . . . .  16
  118.  
  119.   Notes for Windows 3.0 users  . . . . . . . . . . . . . . . . . . . . .  17
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                       DISK SPOOL II     ii
  132. -------------------------------------------------------------------------------
  133.  
  134.  
  135.  
  136.           S H A R E W A R E  C O N S I D E R A T I O N S
  137.  
  138.  
  139.  
  140.   You have obtained an un-registered version of DISK SPOOL II which is being
  141.   marketed under the "shareware" concept.  As such, it is a fully working
  142.   version of the product, and the documentation is complete.  You are
  143.   encouraged to register with Budget Software Company.  The fee is US$ 44.
  144.  
  145.   You may register by phone, by mail, or using Compuserve.  If you register
  146.   by phone or by Compuserve, please provide a Visa or Mastercard number, name,
  147.   and expiration date.
  148.  
  149.  
  150.        Address:      Budget Software Company
  151.                      P.O. Box 12282
  152.                      12162 E. Mississippi Ave.
  153.                      Aurora, CO  80012-3499
  154.  
  155.        Phone:        (303) 695-9095
  156.  
  157.        Compuserve:   70033,643
  158.  
  159.  
  160.   By registering, you receive the following benefits:
  161.  
  162.     - A copy of the latest version of DISK SPOOL II.
  163.  
  164.     - Free technical support.  Usually, the author will be providing the
  165.       support.  But in any case, your issue will be elevated to the author
  166.       if your question cannot be answered by your first contact.
  167.  
  168.     - Periodic notification of upgrades and enhancements; along with the
  169.       ability to upgrade at a nominal cost.
  170.  
  171.     - A printed copy of this manual.
  172.  
  173.  
  174.   You are authorized to make as many copies of this un-registered version
  175.   of the product as you would like, and to distribute them freely to
  176.   individuals or onto bulletin boards.  You must, however abide by this one
  177.   simple rule ... that you always include with such distribution all of the
  178.   files that you have received.
  179.  
  180.  
  181.   Budget Software Company is a member of the Association of Shareware
  182.   Professionals (ASP).  ASP wants to make sure that the shareware principle
  183.   works for you.  If you are unable to resolve a shareware-related problem
  184.   with an ASP member by contacting the member directly, ASP may be able to
  185.   help.  The ASP Ombudsman can help  you resolve a dispute or problem with an
  186.   ASP member, but does not provide technical support for members' products.
  187.   Please write to the ASP Ombudsman at P.O. Box 5786, Bellevue, WA 98006
  188.   or send a Compuserve message via easyplex to ASP Ombudsman 70007,3536.
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.                       DISK SPOOL II     iii
  198. -------------------------------------------------------------------------------
  199.  
  200.  
  201.  
  202. Revisions made since the publishing of the User's Guide
  203. -------------------------------------------------------
  204.  
  205.  
  206.      -- DISK SPOOL II and networks.
  207.  
  208.         Picture the following scenario:  you've got two or more computers
  209.         networked together and only one has a printer.  The computer with the
  210.         printer is sharing its disk space with the other computers.  Every
  211.         computer has a copy of DISK SPOOL II active, and the one or ones that
  212.         don't have a printer are set up to place their spool files onto the
  213.         disk drive of the computer where the printer is attached.  Everything
  214.         seems fine with this scenario, except that DISK SPOOL II on the computer
  215.         having the printer attachted doesn't recognize the existence of
  216.         files created by the other computers.  This is where DISK SPOOL II's
  217.         network feature comes in.  The discussion below describes this
  218.         feature.  To activate it, key in !#d on the command line when you first
  219.         initiate DISK SPOOL II into memory.  Example:  SP2  !#d.  Note that
  220.         AutoDespool mode must be active on all machines.
  221.  
  222.         Normally, the AutoSpooler only recognizes files that have been
  223.         spooled on that same machine.  It keeps an internal tables of
  224.         files created, and then when a file is finished printing,
  225.         it accesses that table in order to find another one to print.  With
  226.         the network feature enabled, in addition to this, the AutoSpooler reads
  227.         the directory every so often to see if anything new has shown up.  It
  228.         looks for files having the prefix SP0xxx.SPL, where the x's are three
  229.         digits, and the SPL is the same suffix as designated in SP2CFG.
  230.  
  231.         In this manner, files created by remote computers' DISK SPOOL II, as
  232.         long as they are placed in the correct directory on the computer
  233.         where the printer is attached, will get printed.
  234.  
  235.         The duration of time between directory reads can be controlled from
  236.         within the configuration program by setting the "flush delay"
  237.         parameter to the desired interval in seconds.  A somewhat low setting
  238.         probably won't affect your computer's performance, since DOS usually
  239.         keeps a copy of the directory in memory, and so actual reads to the
  240.         disk drive itself are usually not necessary.
  241.  
  242.         It can happen, if the timing is correct, that different computers end
  243.         up spooling to the same file name.  In order to prevent this situation,
  244.         key in the following command line parameter:  !#x, where x is a digit
  245.         from 0 to 9.  If you key a 0, then the AutoSpooler will create files
  246.         having names whose 4th digit starts with 0:  SP0000.SPL, SP0001.SPL,
  247.         etc.  If you ky a 1, then the names will look like this:  SP0100.SPL,
  248.         SP0101.SPL, etc.
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.                       DISK SPOOL II    iv
  264. -------------------------------------------------------------------------------
  265.  
  266.  
  267.  
  268.   I. Introduction
  269.  
  270.      DISK SPOOL II is a program that fundamentally changes the
  271.      manner in which printing takes place on your computer.  Without
  272.      DISK SPOOL II, whenever an application prints information, it
  273.      sends it directly to the printer.  If you don't have a printer
  274.      attached to your computer, then you can't run the application. 
  275.      If your printer halts for whatever reason, then the application
  276.      halts, too.  More importantly, your application's execution
  277.      speed is held back by the printer, regardless of how fast your
  278.      computer is, or how well designed the application is.
  279.  
  280.      With DISK SPOOL II, your applications do not have to contend
  281.      directly with the printer, since DISK SPOOL II sits in the
  282.      background and intercepts your printer data, re-routing it
  283.      to a disk file.  Two benefits are immediately derived from
  284.      this:  A disk file doesn't jam, and you don't have to worry
  285.      about its ribbon, so you know that your application will run
  286.      to completion.  Secondly, even the fastest printers cannot
  287.      process data as quickly as a disk drive.  So, your applications
  288.      finish sooner, and you are able to do more work in less time.
  289.  
  290.      But what good is the data out in a disk file?  Here is where
  291.      the second main part of DISK SPOOL II comes into play.  With
  292.      your data safely out on disk, and while you are busy performing
  293.      other tasks on your computer, DISK SPOOL II works behind the
  294.      scenes to send the data from the disk file to the printer.  How
  295.      is it possible for the computer to be doing two things at the
  296.      same time?  The answer is that your computer has a generous
  297.      supply of excess processing cycles on its hands, and DISK
  298.      SPOOL II merely puts these cycles to work.  The computer isn't
  299.      really doing two things at once, it just looks like it is.
  300.  
  301.      You may be asking yourself why the concepts described above
  302.      have not been made part of your computer's operating system
  303.      by the manufacturers, since the time savings is apparently so
  304.      dramatic and so universal.  The answer is that personal
  305.      computers are following the same evolutionary path that
  306.      mainframes did several decades ago.  Just like mainframes, the
  307.      first operating system (and the one we are still using today)
  308.      was not designed to be able to handle multi-tasking easily.
  309.      It is a sure thing that the new operating systems being
  310.      developed for the PC, just like the second generation of
  311.      mainframes, will have spooling environment capabilities built
  312.      in.  In the meantime, DISK SPOOL II enables you to tap into
  313.      this kind of operating power right now on your present PC.
  314.  
  315.      Note:  there are four versions of DISK SPOOL II included on your diskette:
  316.             SP2.COM, SP2S.COM, SP2SS.COM, and SP2SSS.COM.  Each version
  317.             contains fewer features, but also requires less memory to run.
  318.             The documentation that follows descibes the full-featured version
  319.             SP2.COM.  For a detailed description of which features are removed
  320.             from each of the other versions, refer to the section entitled
  321.             Other Special Features of DISK SPOOL II.
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.                       DISK SPOOL II     1
  330. -------------------------------------------------------------------------------
  331.  
  332.  
  333.  
  334.  II. Getting Started Quickly
  335.  
  336.      Getting DISK SPOOL II to start working for you is as simple as
  337.      keying in the program name SP2, and pressing the Enter key.
  338.      DISK SPOOL II has been pre-configured so that it will spool data
  339.      to a file called SPO.SPL in the root directory of drive C:,
  340.      and it will print to port LPT1.  If you want the Spool File to reside
  341.      on a different drive, you could go into the configuration program (SP2CFG)
  342.      and make a change, but for now, the easiest way is to just key in a
  343.      drive letter.  Example:  sp2 d.  If your printer is attached to a COM
  344.      port, again, you could go into SP2CFG, but to keep things simple for now,
  345.      just key in a k.  Example:  sp2 dk overrides the default drive and port.
  346.  
  347.      That's all there is to it.  Now, if you want to experiment
  348.      with the pop-up menu, tap the Alt-Left Shift keys
  349.      simultaneously.  The menu is straightforward, and there is
  350.      context-sensitive help text available at every tier, so you
  351.      should be able to get right into the swing of things quite
  352.      quickly.
  353.  
  354.      There is only one thing that some people will have to do
  355.      differently than before.  If you want to print a DOS file,
  356.      don't use the PRINT command supplied with DOS, and don't
  357.      do a COPY filespec LPT1, or TYPE filespec > PRN, or the like.
  358.      Rather, use the SP2PRT command supplied along with DISK SPOOL
  359.      II.  Simply key SP2PRT followed by the file name.  The SP2PRT
  360.      command is many times faster than its DOS counterparts, and
  361.      also, by the way, works fine even if DISK SPOOL II is not
  362.      loaded.
  363.  
  364.      Why don't you try DISK SPOOL II out right now, and see how quickly
  365.      it spools this document?  Just load DISK SPOOL II by keying in
  366.      SP2, and then key in: sp2prt sp2.doc.
  367.  
  368.      (Incidentally, if you would like to observe how dramatically
  369.      DISK SPOOL II saves you time, there is a demo program 
  370.      included on your diskette that you should run called SP2DEMO.  To
  371.      run it, make your default directory the one where your DISK SPOOL II
  372.      files reside, and then key in SP2DEMO.  Then follow the instructions.
  373.  
  374.  
  375.  
  376. III. Configuring DISK SPOOL II
  377.  
  378.      Your diskette contains a program called SP2CFG which is used
  379.      to configure DISK SPOOL II.  Note that any settings made do
  380.      not take affect until the time DISK SPOOL II is next initiated
  381.      into memory.  This program is very easy to use.  You merely
  382.      highlight the configuration item using the arrow keys, and press
  383.      Enter to change the value.  This program is also a very good
  384.      tool for learning about DISK SPOOL II, since each configuration
  385.      item is described in detail at the bottom of the display.
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.                       DISK SPOOL II     2
  396. -------------------------------------------------------------------------------
  397.  
  398.  
  399.  
  400.  IV. The Menu
  401.  
  402.      DISK SPOOL II is a memory resident program whose functions
  403.      can be controlled by means of a pop-up menu.  This means that
  404.      you can be in the middle of any application and access DISK
  405.      SPOOL II's menu by simply pressing the two "hot keys".  DISK
  406.      SPOOL II comes pre-configured with the Alt and Left Shift
  407.      keys as the "hot keys".  You may, however, configure any key
  408.      combination that you desire.
  409.  
  410.      The menu style is the popular Lotus-style "single tier" menu.
  411.      The top row of the menu displays several keywords, each of
  412.      which represents a menu selection.  You select a menu option
  413.      either by positioning the menu bar over your selection, or
  414.      by tapping the first letter of the keyword.  The second row
  415.      of the menu gives a short description of the menu option
  416.      currently being highlighted by the menu bar.  Often, one menu
  417.      selection leads to another menu tier.  You may back up a tier
  418.      by pressing the Esc key.  As you become familiar with DISK
  419.      SPOOL II, you will quickly learn the letter sequences needed
  420.      to perform a desired function.
  421.  
  422.  
  423.   V. The Spooler and the De-spooler
  424.  
  425.      Before describing in detail all of the various features of DISK SPOOL II,
  426.      a short introduction is in order of its two main components:
  427.  
  428.      The Spooler's job is to intercept printer data and re-direct it
  429.      to a disk file.  The De-spooler's job is to work in the
  430.      background sending the contents of the file to the printer.
  431.      By means of the pop-up menu, you have the ability to enable
  432.      and/or disable both components.  When the Spooler is enabled,
  433.      it does its job of spooling printer data out to disk.  When
  434.      disabled, printer output goes directly to the printer, just
  435.      as if DISK SPOOL II were not in memory at all.  When the
  436.      De-spooler is enabled, it is busy sending the contents of
  437.      a disk file out to the printer.  When it is disabled, then
  438.      no such background printing takes place.  Having the ability
  439.      to control when printer output actually gets printed is one
  440.      of the most attractive features of DISK SPOOL II.
  441.  
  442.      One of the attributes of the Spooler is which port or ports
  443.      it is intercepting.  Most computer applications are designed to
  444.      send printer output to LPT1; and as such, DISK SPOOL II comes
  445.      pre-configured to only intercept printer output that is being
  446.      sent to LPT1.  However, DISK SPOOL II can be configured so that
  447.      it intercepts output being sent to any of the four standard
  448.      ports: LPT1, LPT2, COM1, and COM2.  And you may specify any
  449.      multiple combination of the four.  You may also change your
  450.      settings on the fly from within the pop-up menu.
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.                       DISK SPOOL II     3
  462. -------------------------------------------------------------------------------
  463.  
  464.  
  465.  
  466.      An additional powerful feature of DISK SPOOL II is the ability
  467.      to spool data being sent to your computer from an external
  468.      source.  This function takes place in the background, and it
  469.      doesn't interfere with any spooling/despooling activities
  470.      that are taking place.  If you enable this function
  471.      (by designating that the Spooler is to spool COM1I or COM2I),
  472.      then any data sent from the outside to COM1 and/or COM2 is
  473.      stored in files MONCOM1 and MONCOM2, respectively.
  474.  
  475.      One of the attributes of the De-spooler is the port to which
  476.      it is sending data.  DISK SPOOL II gives you complete control over
  477.      which port receives the spooled data.
  478.  
  479.  
  480.  VI. Modes of Operation
  481.  
  482.      There are three most basic modes of operation with DISK SPOOL II.
  483.  
  484.      A. Manual Mode
  485.  
  486.         1. Introduction
  487.  
  488.            In Manual Mode, data is spooled to a single file, and continues
  489.            to so unless you manually designate a different file.  Similarly,
  490.            data is de-spooled from a single file, and continues to do so
  491.            unless you manually designate a different file.
  492.  
  493.         2. The Spool File
  494.  
  495.            DISK SPOOL II comes pre-configured so that when it is first
  496.            loaded into memory, it will look for a file called SPO.SPL in
  497.            the root directory on drive c:.  If it does not find such a
  498.            file, then it creates one.  It then "attaches" the Spooler and
  499.            the De-spooler to this file.  This means that spooled data will
  500.            go to that file, and the De-spooler will print the contents of
  501.            that file.  You may configure DISK SPOOL II to use any file,
  502.            directory, or disk drive you wish.  You can even specify
  503.            different files for the Spooler and the De-spooler.  And,
  504.            these designations can be changed on the fly using the
  505.            pop-up menu.  (One interesting setting is to leave the
  506.            drive and the path designations blank.  Then, as you change
  507.            directories, and when data is spooled, DISK SPOOL II will
  508.            create a new spool file in the current directory.  In this
  509.            manner, all your spreadsheet printouts could be found in one
  510.            directory, all your word processing printouts in another, and
  511.            so forth.)
  512.  
  513.            When the Spool File is empty, it only takes up 33 bytes on
  514.            your disk or diskette.  It grows as data is spooled into it.
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.                       DISK SPOOL II     4
  528. -------------------------------------------------------------------------------
  529.  
  530.  
  531.  
  532.            There are three ways in which data is purged from the
  533.            Spool File:
  534.  
  535.            a. Clearing it manually
  536.  
  537.               If the file you wish to clear is the one currently attached
  538.               to the Spooler, then you can take the (F)iles (C)lear
  539.               (S)pooler menu sequence.  And similary, if the file is
  540.               currently attached to the De-spooler, then the (F)iles
  541.               (C)lear (D)e-spooler does the job.  Also, if you take
  542.               the (F)iles (L)ist menu sequence, you are presented with
  543.               a display of files, and you can delete any one of them
  544.               by keying a '9' in the option field.  (Note: you can also
  545.               delete the file by using DOS' DEL or ERASE commands.  Don't
  546.               worry about deleting the current Spool File, since DISK
  547.               SPOOL II will automatically re-create the file if it
  548.               needs to.)
  549.  
  550.            b. When DISK SPOOL II is initiated into memory
  551.  
  552.               DISK SPOOL II may be configured so that when it is
  553.               initiated into memory it checks the Spool File to
  554.               see if it has been printed out completely; and if so, it
  555.               clears it.  This is the way DISK SPOOL II comes pre-
  556.               configured to you.  If you would rather keep spooled data
  557.               on disk, and purge it manually, then change the configuration
  558.               option Keep Spool File to YES.
  559.  
  560.            c. Resizing the file dynamically
  561.  
  562.               If you anticipate running low on disk space (perhaps
  563.               because you are going to do quite a bit of printing between
  564.               re-boots), and if you don't want to have to concern yourself
  565.               with manually clearing or deleting files, then you should
  566.               configure DISK SPOOL II's Dynamic Resize parameter to YES.
  567.               With this setting, every time the De-Spooler reaches the
  568.               end of a file, it deletes it off of disk.
  569.  
  570.         3. Controlling the De-spooler
  571.  
  572.            a. Stopping and Starting Printing
  573.  
  574.               You have control of when printing takes place by enabling
  575.               or disabling the De-spooler.
  576.  
  577.            b. Controlling where in the file to begin printing.
  578.  
  579.                i. At the beginning of the file
  580.  
  581.               ii. After the last fully printed document
  582.  
  583.                   This method is handy if your printer jams.  By starting
  584.                   the De-spooler after the last fully printed doucment,
  585.                   you pick up just at the right place.
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.                       DISK SPOOL II     5
  594. -------------------------------------------------------------------------------
  595.  
  596.  
  597.  
  598.              iii. At the end of the file
  599.  
  600.                   This method of enabling the De-spooler means that despooling
  601.                   will start at the exact point where it last left off.  If you
  602.                   suspended printing by disabling the De-spooler, and want to
  603.                   start back exactly where you left off, then use this method.
  604.  
  605.               iv. Using the 'P' option from within the file display
  606.  
  607.                   You may start despooling at any place within the Spool File
  608.                   by displaying the file (using the (F)ile (D)isplay
  609.                   (D)e-spooler menu sequence), positioning the starting line
  610.                   to the top of the display, and pressing the 'p' key.
  611.                   The best sequence of events to take here is to disable the
  612.                   De-spooler, perform the above steps, and then enable the
  613.                   De-spooler "after the last fully printed document".
  614.  
  615.            c. Printing from Different Files
  616.  
  617.               You may "attach" the De-spooler to any spooled file.  There
  618.               are two ways to do this:
  619.  
  620.               - Take the (F)ile (A)ttach (D)espooler menu sequence and then
  621.                 key in the file name.
  622.  
  623.               - Take the (F)iles (L)ist menu sequence, and key a 3 next to
  624.                 the file you wish to print.
  625.  
  626.               Don't try to attach the De-spooler to a file other than one
  627.               that was spooled.  If you want to print another file, simply
  628.               key in SP2PRT {filespec}.  In this manner, the file will
  629.               be spooled.  This command operates very quickly, as all it does
  630.               is append the file to the end of the Spool file.
  631.  
  632.            d. Controlling the Output Port.
  633.  
  634.               You designate a default output port in configuration.  You may
  635.               change this value by keying the menu sequence (V)alues
  636.               (D)espoolport, and using the cursor movement keys to make
  637.               a selection.
  638.  
  639.  
  640.      B. Auto Spool
  641.  
  642.         1. Introduction
  643.  
  644.            In Auto Spool Mode, a new spool file is created for each document
  645.            spooled.  To display a list of the files created, key the
  646.            (F)iles (L)ist menu sequence.  Note how this list shows you the
  647.            file name on disk, the time and date it was created, its size,
  648.            and the name of the program that printed the document.  To print
  649.            a file, key a 3 next to its name.  This attaches the De-spooler
  650.            to that file.
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.                       DISK SPOOL II     6
  660. -------------------------------------------------------------------------------
  661.  
  662.  
  663.  
  664.         2. How to Enable Auto Spool
  665.  
  666.            You can enable Auto Spool in two ways:  either through
  667.            configuration, or from within the pop-up menu by taking the
  668.            menu sequence (S)pooling (A)utospool (E)nable.  You may disable
  669.            Auto Spool from within the pop-up menu as well.
  670.  
  671.  
  672.         3. Spool File Print Attributes
  673.  
  674.            By default, each file created by the Autospooler will have the
  675.            following attributes:
  676.  
  677.            Copies       - 1
  678.            Despool Port - The Despool Port as seen in the (V)alues
  679.                           (D)espoolport menu sequence.
  680.            SAVE status  - If the Dynamic Resize parameter as designated in the
  681.                           configuration program is set to YES, then the file
  682.                           will be deleted after printing.  Otherwise, it will
  683.                           be saved.
  684.            HOLD status  - NO
  685.            Description  - The name of the program that printed the document.
  686.  
  687.            All of these values may be changed from within the (F)iles (L)ist
  688.            display.  Take option 5 for the file you wish to change.  And take
  689.            option 4 to place a file on HOLD.  (Note: the HOLD status is
  690.            really only meaningful when operating in Auto De-spool mode.
  691.            See the description of this mode which follows for more details.)
  692.  
  693.         4. Spool File Attributes by Application
  694.  
  695.            You may set up DISK SPOOL II so that different applications result
  696.            in different spool file attributes.  You may, for instance, want
  697.            all your graphics applications to go to COM1 and be printed twice;
  698.            while your spreadsheet printouts are to go to LPT1, and be saved.
  699.  
  700.            To tailor DISK SPOOL II in this manner, simply use your text editor
  701.            to modify the SP2.DAT file.  For example, the line:
  702.  
  703.            123 COPIES:1 PORT:LPT1 SAVE:YES HOLD:YES
  704.  
  705.            would make it so any documents printed by application 123 would
  706.            take on the print attributes as shown.
  707.  
  708.  
  709.      C. Auto De-spool
  710.  
  711.         1. Introduction
  712.  
  713.            In Auto De-spool mode, not only are seperate files created for
  714.            each document, but the De-spooler automatically attaches itself
  715.            from one file to the next, as files become available for printing.
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.                       DISK SPOOL II     7
  726. -------------------------------------------------------------------------------
  727.  
  728.  
  729.  
  730.         2. How to Enable Auto De-spool
  731.  
  732.            You can enable Auto De-spool in two ways:  either through
  733.            configuration, or from within the pop-up menu by taking the
  734.            menu sequence (D)espooling (A)utodespool (E)nable.  You may disable
  735.            Auto De-spool from within the pop-up menu as well.  Because Auto
  736.            De-spooling goes hand-in-hand with Auto Spooling, whenever you
  737.            enable Auto De-spool, DISK SPOOL II automatically enables Auto
  738.            Spool, as well.
  739.  
  740.         3. Controlling the Auto De-spooler
  741.  
  742.            The affect of enabling and disabling the De-spooler is the same
  743.            whether it is in auto mode, or not.
  744.  
  745.            While the De-spooler is enabled, the way to prevent a file
  746.            from being printed is by placing it on HOLD.  You do this
  747.            by keying a 4 next to the file name from within the (F)iles
  748.            (L)ist display.  (By the way, this is the display that first
  749.            pops up when you are in Auto De-spool mode.)  You may release
  750.            a file for printing by keying a 6 next to the file name.
  751.  
  752.  
  753. VII. DISK SPOOL II Performance
  754.  
  755.      There are two aspects of performance:  the speed of the Spooler (which
  756.      means how fast your application program returns control back to you),
  757.      and the speed of the De-spooler (which means how fast documents actually
  758.      get printed out).
  759.  
  760.      Spooler Speed
  761.      -------------
  762.  
  763.      One of the most attractive features of spooling is that control is
  764.      returned to you quicker than when printing goes directly to the printer.
  765.      The quickness of the spooling function can be conrolled in three ways.
  766.  
  767.      1. The size of the internal buffer
  768.  
  769.         As printing is taking place, DISK SPOOL II buffers characters in
  770.         memory, and flushes them to disk after the buffer becomes close to
  771.         being full.  You can achieve substantial performance increases in
  772.         this area (up to 100% faster) by increasing the size of this internal
  773.         buffer.  You do this by keying a command-line parameter when you
  774.         first initiate DISK SPOOL II into memory.  The parameter is an 'm'
  775.         followed immediately (without spaces) by a digit from 0 to 9.
  776.  
  777.         Here is how it works:
  778.  
  779.         Each of the 4 versions of DISK SPOOL II takes up a certain amount of
  780.         "base" memory; that is, the amount of memory required to perform its
  781.         functions.  The largest size that the spool buffer can be is 64k less
  782.         this amount of "base" memory.  When you utilize the 'm' command-line
  783.         parameter, DISK SPOOL II divides this available buffer area by 10,
  784.         and then, depending on the digit following the 'm', multiples of this
  785.         figure are added to the buffer size.  If you keyed in SP2 m9, then the
  786.         entire available area is allocated for the spool buffer.
  787.  
  788.  
  789.  
  790.  
  791.                       DISK SPOOL II     8
  792. -------------------------------------------------------------------------------
  793.  
  794.  
  795.  
  796.      2. Whether or not you are spooling to a RAM disk
  797.  
  798.         When you spool to a file on a RAM drive, the spooler performance
  799.         increases by a factor of approximately 100%.
  800.  
  801.      3. Utilizing SP2PRT
  802.  
  803.         If you have a file that you simply want to send to the printer, send
  804.         it by using the SP2PRT command.  Simply key SP2PRT followed by the
  805.         name of the file you wish to print.  Using SP2PRT results in spooler
  806.         performance in the order of three times quicker.
  807.  
  808.  
  809.      De-spooler Speed
  810.      ----------------
  811.  
  812.      DISK SPOOL II has been engineered to take advantage of every free
  813.      processing cycle for printing. Therefore, you should be experiencing
  814.      no printing speed degradation whatsoever.  However, if your foreground
  815.      process is processor intensive, that is to say, a program is
  816.      running that requires little user interface, then if your printing
  817.      speed is not satisfactory you may experience a significant performance
  818.      increase by fine tuning.
  819.  
  820.      The first thing to try in the fine tune process is setting the
  821.      Despool Method configuraton option to Hardware Interrupts.  If you
  822.      are printing to a COM port, then Hardware Interrupts will give you
  823.      just about as efficient a printing speed as is possible.  With LPT
  824.      ports, however, due to a flaw in the design of many of the LPT cards
  825.      on the market today, Hardware Interrupts won't work at all, and in
  826.      fact will result in extremely slow printing speed.  If you have such
  827.      an LPT card, then Budget Software Company can provide you with an
  828.      adapter that corrects the problem.  The cost is $15.  (You may create
  829.      your own adapter if you want.  You need a female DB-25 connector for
  830.      the printer side, and a male DB-25 connector for the computer side.
  831.      Simply connect all wires straight through, except leave pin 10 on
  832.      the printer end disconnected, and then connect pins 10 and 11 on
  833.      the compter side.)
  834.  
  835.      If Hardware Interrupts doesn't work for you, then a certain amount
  836.      of performance increase can be obtained by following these "fine
  837.      tune" steps:
  838.  
  839.      Step 1
  840.      ------
  841.  
  842.      Configure DISK SPOOL II to the Despool Method called "manual", and
  843.      set OUTBYTES to 32 and RETRY to 1.
  844.  
  845.      Step 2
  846.      ------
  847.  
  848.      Disable the De-spooler, and then spool out a very large document -- one
  849.      that will take several minutes to printout.
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.                       DISK SPOOL II     9
  858. -------------------------------------------------------------------------------
  859.  
  860.  
  861.  
  862.      Step 3
  863.      ------
  864.  
  865.      Enable the De-spooler, and wait about 30 seconds in order to fill up
  866.      any buffer your printing device may have.
  867.  
  868.      Step 4
  869.      ------
  870.  
  871.      Take the pop-up menu sequence (L)earning (T)imingtests (E)nable (T)oggle
  872.      (O)pen.  A window should open at the bottom righthand portion of your
  873.      display whose heading is:  Bytes printed/second.
  874.  
  875.      Step 5
  876.      ------
  877.  
  878.      Now comes the fun.  While the De-spooler is still printing, key the
  879.      pop-up menu sequence (V)alues (R)etry.  Now depress your up-arrow, and
  880.      observe how the Bytes printed/second value changes as the RETRY value
  881.      is increased.  At a certain point, the Bytes printed/second will take
  882.      a dramatic increase.  You have found the "threshold" value for RETRY.
  883.      Add about 5 or 10 to this value, and this is the value you should use.
  884.  
  885.      You can now play with the OUTBYTES value in a similar fashion.  You won't
  886.      notice a "threshold" situation.  Instead, your Bytes printed/second will
  887.      increase very gradually as OUTBYTES increases.  The rule here is to set
  888.      OUTBYTES sufficiently high to obtain maximum printer speed, but not so
  889.      high that you notice forground degradation.
  890.  
  891.  
  892.  
  893. XIII. OTHER SPECIAL FEATURES OF DISK SPOOL II
  894.  
  895.      1) There are four versions of DISK SPOOL II on your diskette.
  896.         Each version takes up less and less memory, but has fewer
  897.         and fewer features.
  898.  
  899.         SP2    - Fully functioning version.  Takes up about 51k.
  900.         SP2S   - The Timing Test feature has been dropped, as well
  901.                  as the ability to spool data coming to your COM
  902.                  port from an external source.   Approx 45k.
  903.         SP2SS  - The (F)iles (L)ist function has been dropped, and
  904.                  you don't have the ability to display the contents
  905.                  if a file from within the pop-up menu.  Also, Auto
  906.                  Spool and Auto De-spool aren't available.  25k.
  907.         SP2SSS - No pop-up menu.  14k.  Note that even without the
  908.                  pop-up menu, this version gives you a substancial
  909.                  amount of control over your spooling activities.  You
  910.                  merely depress and hold down the hot-keys and then
  911.                  press one of the following letters:
  912.  
  913.                  E - (E)nable spooler
  914.                  D - (D)isable the spooler
  915.                  S - (S)uspend de-spooling
  916.                  R - (R)esume de-spooling where you left off
  917.                  B - Start the de-spooler back up at the (B)eginning
  918.                      of the spool file.
  919.  
  920.  
  921.  
  922.  
  923.                       DISK SPOOL II     10
  924. -------------------------------------------------------------------------------
  925.  
  926.  
  927.  
  928.                  Note also that you can control SP2SSS (as well as the
  929.                  other modules) by means of keying in the program name
  930.                  followed by one or more command-line parameters.  Note
  931.                  how several command-line parameters work both as
  932.                  load-time parameters as well as run-time.  For example,
  933.                  if you want to clear the current spool file, you can key
  934.                  SP2 x.
  935.  
  936.  
  937.      2) Several DISK SPOOL II functions can be controlled by means
  938.         of command line parameters.  These parameters are keyed
  939.         after keying SP2, they may be keyed in any order, and where
  940.         letters are involved, uppercase or lower case is allowed.
  941.         A detailed discussion of each command line parameter is
  942.         discussed below.
  943.  
  944.  
  945.         The following parameters do something only when DISK
  946.         SPOOL II is first initiated into memory:
  947.  
  948.         L - Expand the spooler buffer to the largest possible
  949.             value that fits in 64k.  This has the benefit quicker spooling
  950.             times, and hence your application returns control to you more
  951.             quickly.  The price you have to pay for this performance is
  952.             that more of your computer's memory is taken up by DISK SPOOL II.
  953.  
  954.         M - Follow this parameter by a digit from 0 to 9.  In this manner
  955.             you can select various gradations in increasing the size
  956.             of the spooler buffer.
  957.  
  958.         ! - This command line parameter is always followed 
  959.             immediately by a 1 or a 2, and then immediately by
  960.             a character 1 through 9.  Ex: !16   or  !29
  961.             What this does is establish a larger buffer for the
  962.             COM monitoring function; that is, the ability to
  963.             spool data being sent to your COM port from an external
  964.             source.  The 1 or 2 designates which COM port, and the
  965.             next digit designates a buffer size in 1k increments.
  966.  
  967.  
  968.  
  969.         The following parameter does something only when DISK
  970.         SPOOL II is already in memory:
  971.  
  972.         T - Takes DISK SPOOL II out of memory.  Note that when you
  973.             take DISK SPOOL II out of memory, then any memory
  974.             resident programs loaded after DISK SPOOL II was loaded
  975.             are also removed.
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.                       DISK SPOOL II     11
  990. -------------------------------------------------------------------------------
  991.  
  992.  
  993.  
  994.         The following parameters do something either if DISK SPOOL
  995.         II is being initiated into memory for the first time, or
  996.         if it is already in memory.
  997.  
  998.         K - spool and despool using a COM port
  999.         P - spool and despool using an LPT port
  1000.         1 - COM/LPT1    (ex: sp2 p1 directs DISK SPOOL II to spool
  1001.                              and despool to LPT1)
  1002.         2 - COM/LPT2
  1003.         # - disable the Spooler and the De-spooler
  1004.         $ - enable the Spooler and the De-spooler
  1005.         % - enable the Spooler (note: if you include this command
  1006.                                 line parameter with a .BAT file,
  1007.                                 you must put two %'s back to back,
  1008.                                 otherwise DOS thinks it's dealing
  1009.                                 with a substitution variable)
  1010.  
  1011.         & - enable the De-spooler
  1012.         * - disable the De-spooler
  1013.         + - disable the Spooler
  1014.         X - clear the default spool file
  1015.         a,b,c,...,j - place the Spool File on this drive
  1016.         r - enable the "dynamic resize" (this is where when the
  1017.                 De-spooler reaches the end of the file, it
  1018.                 deletes it.)
  1019.         = - this parameter is always followed by a 1, a 2, a 3, or
  1020.             a 4. Example: sp2 =3
  1021.             This is how you load and maintain multiple copies of
  1022.             DISK SPOOL II into memory.  Generally, if you just
  1023.             key in SP2 followed by one or more command line
  1024.             parameters, DISK SPOOL II merely re-configures the
  1025.             version that is presently in memory.  If you want
  1026.             to initiate a subsequent version, then you do so by
  1027.             including the = parameter.  For example:
  1028.                
  1029.               - You key in SP2 p1 (initiates DISK SPOOL II into
  1030.                                    memory and spools/despools LPT1)
  1031.               - SP2 =2p2 (initiates another copy of DISK SPOOL II,
  1032.                                    this time spooling LPT2)
  1033.               - SP2 =1k1 (reconfigures the 1st loaded version to
  1034.                           spool/despool COM1.
  1035.  
  1036.             For a more detailed discussion of using multiple copies
  1037.             of DISK SPOOL II in memory at the same time, refer to
  1038.             the discussion immediately below.
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.                       DISK SPOOL II     12
  1056. -------------------------------------------------------------------------------
  1057.  
  1058.  
  1059.  
  1060.      3) You may have multiple copies of DISK SPOOL II in memory at
  1061.         the same time.  In this way, you can have more than one
  1062.         printer working simultaneously, and still be working at
  1063.         your computer.
  1064.  
  1065.  
  1066.         There are several things to consider when loading multiple
  1067.         copies of DISK SPOOL II into memory.  If you are going to
  1068.         want to utilize the pop-up menu, then you are going to want
  1069.         to configure different versions, each one with a
  1070.         different "hot-key" sequence.  Say, for example, that you
  1071.         want to drive the LPT1 and the LPT2 ports simultaneously.
  1072.         You would go into SP2CFG and configure one of the SP2
  1073.         versions to de-spool to LPT1, and you would define
  1074.         a certain "hot-key" sequence.  You would also want to
  1075.         configure a unique default Spool File and De-spool File.
  1076.         Then you would make a copy of this program, calling it,
  1077.         say, SP2L1.COM.  Then you would do the same thing to create
  1078.         an SP2L2.COM.  The first version loaded into memory would
  1079.         be loaded by simply keying in the name of the program.  To
  1080.         load a second version, you need to include the =2 command
  1081.         line parameter:  SP2L2 =2.  (Note: as you can see, it is
  1082.         not sufficient to simply load up differently named programs.
  1083.         You indicate a seperate version by keying the =2, =3, or
  1084.         =4 on the command line.  You may also use an =1 parameter,
  1085.         but if you don't specify an = parameter then this amounts
  1086.         to the same thing as an =1.)  Under this scenario, you would
  1087.         tap the one "hot-key" sequence to bring up the one program's
  1088.         pop-up menu, and the other "hot-key" sequence to bring up
  1089.         the other.  Note that if you want to use the command line
  1090.         to make changes to a version that is already in memory, then
  1091.         you must us the = parameter to designate the one you are
  1092.         changing.  For example, if you wanted to clear the Spool
  1093.         File of the 2nd loaded program using the command line, and
  1094.         given the above scenario, then you would key in SP2L2 =2x.
  1095.  
  1096.      4) You may redirect the De-spooler's output to a device driver
  1097.         or to a disk file.  To do this, key in SP2 @xxxxxxxx, where
  1098.         the x's represent the name of the device driver or the disk
  1099.         file (8 characters maximum, including an optional drive and
  1100.         path designation).  Here is a good reason why you might want
  1101.         to redirect the De-spooler output to a disk file:  DISK
  1102.         SPOOL II can be configured to utilize a compress algorithm
  1103.         in order to minimize the disk usage; and in fact this is
  1104.         how DISK SPOOL II comes pre-configured to you.  However,
  1105.         with a compressed file, you can't port the file directly
  1106.         into a word processor, for instance.  But, if you redirect
  1107.         the De-spooler output to a disk file, then this file will
  1108.         an exact image of the printed document.
  1109.  
  1110.         Note that if you redirect to a disk file, and that file
  1111.         already exists, then data is added to it.
  1112.  
  1113.         To cancel redirection and revert back to normal processing,
  1114.         key in SP2 @ with nothing following the @ sign.
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.                       DISK SPOOL II     13
  1122. -------------------------------------------------------------------------------
  1123.  
  1124.  
  1125.  
  1126.      5) You may designate that multiple copies be printed of a
  1127.         file.  To do this, go into (F)iles (L)ist, and take the
  1128.         option to "change" the file.  If after the copies are
  1129.         you want still more copies, then simply disable then re-enable
  1130.         the De-spooler; or if Auto De-spool is enabled, then just release
  1131.         the file.  Note that DISK SPOOL II will not page-feed
  1132.         between copies unless you tell it to do so by configuring
  1133.         the Auto Form Feed option in SP2CFG.  Often this is not
  1134.         necessary, since the application that you are running will
  1135.         usually send the necessary form feed instructions.
  1136.  
  1137.      6) You may tailor the context-sensitive help file (SP2.HLP)
  1138.         to include your own helpful hints and information.  To do
  1139.         so, simply go into your text editor, locate the menu tier,
  1140.         and add or change text to suit your needs.  DISK SPOOL II
  1141.         uses the first letters of the menu keying sequence followed
  1142.         by a special control character in order to find the 
  1143.         appropriate help text.  Therefore, the only thing that you
  1144.         have to worry about is not changing these control lines.
  1145.  
  1146.      7) DISK SPOOL II may be taken out of memory completely by
  1147.         keying in SP2 t.  Note, however, that any memory-resident
  1148.         applications that have been loaded after DISK SPOOL II are
  1149.         taken out, too.
  1150.  
  1151.  
  1152.  IX. TROUBLE SHOOTING
  1153.  
  1154.      1. Introduction
  1155.  
  1156.         Budget Software Company offers three forms of tech support to all
  1157.         registered users:
  1158.  
  1159.         Telephone:  (303) 695-9095
  1160.         CompuServe: 70033,643
  1161.         Mail      : P.O. Box 12282
  1162.                     12162 E. Mississippi Ave.
  1163.                     Aurora, CO  80012
  1164.  
  1165.      2. DISK SPOOL II "hangs" the computer.
  1166.  
  1167.         DISK SPOOL II is very robust, and has been designed to
  1168.         adhere to commonly used memory-resident protocols.  As such,
  1169.         it is not likely that you are going to experience problems,
  1170.         even if you load DISK SPOOL II along with other memory-resident
  1171.         programs.  If you do experience problems, the first thing to
  1172.         do is see if the same problem occurs in a "clean" environment;
  1173.         namely, one in which there are no other memory-resident
  1174.         programs installed.  If you still experience the problem, then
  1175.         write or telephone for technical support.  If the problem goes
  1176.         away, then start loading the other memory-resident programs
  1177.         one by one to try to find the one that is causing the conflict.
  1178.         If you find the program that is causing the conflict, then
  1179.         try loading it and DISK SPOOL II in a different order than you
  1180.         originally had.  Quite often this resolves the problem.
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.                       DISK SPOOL II     14
  1188. -------------------------------------------------------------------------------
  1189.  
  1190.      3. Normal keyboard operations seem to be fouled up when DISK SPOOL II
  1191.         is in memory.  For example: for no reason whatever, the computer
  1192.         will go into Caps Lock state, and remain there.
  1193.  
  1194.         There is a "hidden" configuration option in SP2CFG which resolves
  1195.         this problem by causing a different type of keyboard handling
  1196.         mechanism to be utilized by DISK SPOOL II.  To enable this alternate
  1197.         keyboard mechanism, first go into SP2CFG and bring up the configuration
  1198.         options display for the version you wish to configure.  Then tap the
  1199.         'k' key two times.  Now exit, saving changes, and your the change will
  1200.         become effective starting with the next time you load DISK SPOOL II
  1201.         into memory.  To revert back to the original keyboard handling
  1202.         mechanism, perform the same steps, only tap the 'j' key twice.
  1203.         There is one limitation to this alterate keyboard handling method:
  1204.         the only keys that are allowed as pop-up keys are the Left and Right
  1205.         Shift keys, the Alt key, and the Ctrl key.
  1206.  
  1207.      4. I have enabled the COM Monitoring function (where data being sent
  1208.         to a COM port from an external source is spooled to disk in the
  1209.         background), and yet no spooling seems to be taking place.
  1210.  
  1211.         Keep in mind that DISK SPOOL II does not initialize the COM port
  1212.         protocols.  You must do this yourself using a MODE command for instance.
  1213.         Another thing you should know is this: when you use the COM Monitoring
  1214.         function, DISK SPOOL II sets up the designated COM port(s) to
  1215.         allow for hardware interrupts.  The MODE commmand disables these
  1216.         hardware interrupts.  So, if you've already loaded DISK SPOOL II into
  1217.         memory, and you forgot to initialize your COM ports, and have to
  1218.         now use the MODE command, you must disable the Spooler, and then
  1219.         enable it in order that DISK SPOOL II re-set on the hardware interrupts.
  1220.  
  1221.      5. When I disable the De-spooler, or put the currently printing file on
  1222.         HOLD, the printer continues to print out for a while.
  1223.  
  1224.         There are two reasons for this.  Most printers have their own small
  1225.         data buffers.  And even though DISK SPOOL II may no longer be sending
  1226.         data to the printer, nevertheless, the printer is still printing from
  1227.         its internal buffer.  To overcome this, simply turn your printer off
  1228.         and then back on.  Another cause for this is that if DISK SPOOL II is
  1229.         configured with Compress YES, then even after you have disabled the
  1230.         De-spooler, a certain amount of data is still sent to the printer.
  1231.         If you are concerned with being able to stop printing immediately, then
  1232.         configure Compress to NO.
  1233.  
  1234.      6. I am de-spooling to a COM port, and I am experiencing data overruns.
  1235.  
  1236.         Try changing the COM Protocol configuration option to Xon/Xoff.
  1237.  
  1238.  
  1239.      7. Is there any way to make the data in SP2.DAT take affect without
  1240.         to re-initiate DISK SPOOL II into memory?
  1241.  
  1242.         Yes, after changing SP2.DAT, merely pop-up the menu and take the
  1243.         (F)iles (D)isplay (S)pooler menu sequence.  This will cause DISK
  1244.         SPOOL II to re-read SP2.DAT into memory the next time it needs to
  1245.         determine a spool file's attributes.
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.                       DISK SPOOL II     15
  1254. -------------------------------------------------------------------------------
  1255.  
  1256.  
  1257.  
  1258.      8. I spooled a document, and a part of it was chopped off.  It never
  1259.         made it to the spool file.
  1260.  
  1261.         If you did a COPY <filespec> LPT1, or a TYPE <filespec> > PRN, or
  1262.         the like, then you should use the SP2PRT command instead.  Merely
  1263.         key in SP2PRT <filespec>.  You may also optionally designate a
  1264.         port with this command.  Ex:  SP2PRT myfile LPT1.  If you don't
  1265.         designate a port, then LPT1 is the default.
  1266.  
  1267.         It also occurs that an application is designed in such a manner as to
  1268.         not allow DISK SPOOL II to flush its internal spool file buffer, and
  1269.         hence when the buffer fills up, subsequent data is lost.  Fortunately,
  1270.         such programs are rare.  The best way to combat this is to
  1271.         increase the size of the internal spool file buffer.  That way, there
  1272.         is a better chance that the entire document will fit in the buffer,
  1273.         and when your application program ends, then DISK SPOOL II will be
  1274.         able to flush the buffer.  With DISK SPOOL II's smallest module
  1275.         (SP2SSS.COM) you can get up to 50k of internal buffer.
  1276.  
  1277.  
  1278.  
  1279.   X. FOR PROGRAMMERS
  1280.  
  1281.      You may hook programatically into several DISK SPOOL II
  1282.      functions via a call to interrupt 1Ah.  The following table
  1283.      describes how to do so.
  1284.  
  1285.  
  1286.         INPUT
  1287.     -------------
  1288.     AH        AL          Returns/Function
  1289.     --        --          ---------------------------------------
  1290.     0a0h     n/a          Upon return, if AH = 0b0h, then DISK
  1291.                           SPOOL II is in memory, and furthermore:
  1292.  
  1293.                           es = the location of the code segment
  1294.                           bx = pointer to name of current Spool File
  1295.                           si = pointer to current De-spool file.
  1296.                           cl = 0, if De-spooler is disabled.
  1297.                                41h,if De-spooler is enabled.
  1298.                           ch = 0, if Spooler is disabled.
  1299.                                41h, if Spooler is enabled.
  1300.                           dl = 41h if De-spooler is currently
  1301.                                    active printing a file.
  1302.                                0 if De-spooler is standing by.
  1303.     0d0h       1          Enables Spooler and De-spooler.
  1304.                2          Enable Spooler, only.
  1305.                3          Enable De-spooler at beginning of file.
  1306.                4          Disable the De-spooler.
  1307.                5          Disable De-spooler and Spooler.
  1308.                6          Clear the Spool File.
  1309.                8          Inhibit the Pop-Up menu.
  1310.                9          Enable the Pop-Up menu.
  1311.               0bh         Disable the Spooler
  1312.               0ch         Start De-spooler after last successfully
  1313.                             printed document.
  1314.               0dh         Start De-spooler at the exact point where
  1315.                             it last left off.
  1316.               0eh         Pop-up the menu.
  1317.               20h         Clear file pointed to by the De-spooler.
  1318.  
  1319.                       DISK SPOOL II    16
  1320. -------------------------------------------------------------------------------
  1321.  
  1322.   XI.  Notes for Windows 3.0 users
  1323.  
  1324.        DISK SPOOL II has been tested and found to run successfully along with
  1325.        Windows 3.0.  There are three main ways to run DISK SPOOL II along
  1326.        with Windows.
  1327.  
  1328.        1.  Establish a spooling environment for all non-Windows applications.
  1329.  
  1330.            Load DISK SPOOL II before loading Windows.  Whenever you open
  1331.            a non-Windows application, DISK SPOOL II will automatically
  1332.            spool printouts (according, of course, to the way that you've got
  1333.            DISK SPOOL II configured.  Note that even in Regular or Standard
  1334.            mode, printing will still take place when you shift to a different
  1335.            window.
  1336.  
  1337.         2.  Establish a spooling environment for only certain non-Windows
  1338.             applications.
  1339.  
  1340.             Open a DOS command line Window, or open a non-Windows application
  1341.             via a .BAT file, and load DISK SPOOL II from within that
  1342.             window.  Remember, however, that if you should terminate this
  1343.             window, then your copy of DISK SPOOL II also ends.
  1344.  
  1345.         3.  Establish a spooling environment for all applications, both
  1346.             non-Windows as well as Windows application.
  1347.  
  1348.             To hook DISK SPOOL II to Windows applications, simply indicate
  1349.             that your printer is attached to LPT1.OS2 or LPT2.OS2.  Also,
  1350.             it is a good idea to enable the Print Manager.  Then load
  1351.             DISK SPOOL II before loading Windows.
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  XII.  Problems encountered with Windows 3.0
  1357.  
  1358.        1. If you have trouble getting reliable printouts, then configure
  1359.           DISK SPOOL II's Bios option to YES using SP2CFG.
  1360.  
  1361.        2. Under certain conditions, in enhanced mode, DISK SPOOL II is not
  1362.           able to pop-up successfully within the window.  You should maximize
  1363.           the window so that it takes up the entire display, and then pop-up
  1364.           DISK SPOOL II.
  1365.  
  1366.        3. Trying to use DISK SPOOL II in conjuction with LPT1.OS2 in
  1367.           enhanced mode has been found to be rather unstable.  Therefore,
  1368.           if you want to spool Windows applications' printouts, load Windows
  1369.           in regular or standard mode.
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.                       DISK SPOOL II    17
  1386. -------------------------------------------------------------------------------
  1387.  
  1388.