home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR16 / PRINDIR9.ZIP / PRINDIR.DOC < prev    next >
Text File  |  1993-10-12  |  41KB  |  872 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.        PPPPPPPP   RRRRRRRR   IIIIIII  N      N  DDDD     IIIIIII  RRRRRRRR       PPPPPPPP   RRRRRRRR   IIIIIII  N      N  DDDD     IIIIIII  RRRRRRRR       PPPPPPPP   RRRRRRRR   IIIIIII  N      N  DDDD     IIIIIII  RRRRRRRR
  15.        P       P  R       R     I     NN     N  D   D       I     R       R       P       P  R       R     I     NN     N  D   D       I     R       R       P       P  R       R     I     NN     N  D   D       I     R       R
  16.        P       P  R       R     I     NN     N  D    D      I     R       R       P       P  R       R     I     NN     N  D    D      I     R       R       P       P  R       R     I     NN     N  D    D      I     R       R
  17.        P       P  R       R     I     N N    N  D     D     I     R       R       P       P  R       R     I     N N    N  D     D     I     R       R       P       P  R       R     I     N N    N  D     D     I     R       R
  18.        PPPPPPPP   RRRRRRRR      I     N  N   N  D     D     I     RRRRRRRR       PPPPPPPP   RRRRRRRR      I     N  N   N  D     D     I     RRRRRRRR       PPPPPPPP   RRRRRRRR      I     N  N   N  D     D     I     RRRRRRRR
  19.        P          RRRRR         I     N   N  N  D     D     I     RRRRR       P          RRRRR         I     N   N  N  D     D     I     RRRRR       P          RRRRR         I     N   N  N  D     D     I     RRRRR
  20.        P          R    R        I     N    N N  D     D     I     R    R       P          R    R        I     N    N N  D     D     I     R    R       P          R    R        I     N    N N  D     D     I     R    R
  21.        P          R     R       I     N     NN  D    D      I     R     R       P          R     R       I     N     NN  D    D      I     R     R       P          R     R       I     N     NN  D    D      I     R     R
  22.        P          R      R      I     N     NN  D   D       I     R      R       P          R      R      I     N     NN  D   D       I     R      R       P          R      R      I     N     NN  D   D       I     R      R
  23.        P          R       R  IIIIIII  N      N  DDDD     IIIIIII  R       R       P          R       R  IIIIIII  N      N  DDDD     IIIIIII  R       R       P          R       R  IIIIIII  N      N  DDDD     IIIIIII  R       R
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.                             User Guide and Reference Manual
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.                               Printer Redirection System
  42.  
  43.  
  44.                                      Version 9.00
  45.  
  46.  
  47.                                    October 12, 1993
  48.  
  49.  
  50.                      Copyright (c) 1989-1993 J.M. Allen Creations
  51.  
  52.  
  53.                         All Rights Reserved by Michael A. Hotz
  54.  
  55.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  56.  
  57.  
  58.  
  59.                                    TABLE OF CONTENTS                                   TABLE OF CONTENTS                                   TABLE OF CONTENTS
  60.  
  61.        INTRODUCTION .............................................3
  62.        SHAREWARE NOTICE .........................................4
  63.        DISCLAIMER ...............................................4
  64.        INSTALLATION AND REMOVAL .................................5
  65.        REQUIRED COMMAND LINE ARGUMENT ...........................5
  66.        EXAMPLES .................................................5
  67.        OPTIONAL COMMAND LINE ARGUMENTS ..........................5
  68.        THE MULTIPLEX ID .........................................6
  69.        POPUP PARAMETER MENU .....................................6
  70.        SOURCE DEVICE ............................................6
  71.        DESTINATION DEVICE .......................................6
  72.        FILE NAME ................................................7
  73.        FILE REDIRECTION NOTES ...................................7
  74.        WHEN PRINDIR WRITES TO THE FILE ..........................7
  75.        MEMORY BUFFER DETAILS ....................................7
  76.        DELAY AND MINIMUM DUMP SIZE DETAILS ......................7
  77.        INVISIBLE MODE ...........................................8
  78.        DELETE CURRENT FILE ......................................8
  79.        BYTE COUNTER .............................................8
  80.        ECHO MODE ................................................8
  81.        VIDEO MODE SWITCHING .....................................8
  82.        PRINMOD UTILITY ..........................................9
  83.        PRINMOD SWITCHES .........................................9
  84.        PRINKEY UTILITY ..........................................10
  85.        PRINCOL UTILITY ..........................................10
  86.        NOTES FOR PROGRAMMERS ....................................11
  87.        FINAL NOTES AND WHERE TO GET HELP ........................12
  88.        KNOWN CONFLICTS AND OTHER INFORMATION ....................13
  89.        SITE LICENSE INFORMATION .................................13
  90.        PRINDIR Version 9.00 Official Registration Form ..........14
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.                                       - Page 2 -
  117.  
  118.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  119.  
  120.  
  121.  
  122.        INTRODUCTION       INTRODUCTION       INTRODUCTION
  123.        Welcome to Version 9.00 of PRINDIR, the BEST printer redirection program
  124.        available!  PRINDIR is a TSR program that will allow you to redirect the
  125.        output of any standard COM or LPT port to any other COM or LPT port, as
  126.        well as to disk files and to the display.  In addition, PRINDIR allows
  127.        you to specify the full path and file name for disk file redirection,
  128.        thus it is possible to redirect to any file or named device.
  129.  
  130.        The main program offers an easy to use Popup Parameter Menu from which
  131.        the user can quickly and easily set program options.  PRINDIR can
  132.        utilize expanded and extended memory on systems so equipped, making its
  133.        conventional memory footprint even smaller.  PRINDIR also includes
  134.        several small support utilities to help you customize PRINDIR to meet
  135.        your needs.  PRINDIR is fast, intuitive, easy to use, and can be
  136.        utilized to solve many different types of problems.  Only your
  137.        imagination will limit what you can do with PRINDIR.
  138.  
  139.        PRINDIR is a Shareware program written by Michael A. Hotz of J.M. Allen
  140.        Creations, and is user supported through Shareware registration.
  141.        Technical support is provided via phone, electronic mail, U.S. mail, or
  142.        any other means possible.  Registered users are rewarded with very cheap
  143.        upgrades to any future version which is released after the version they
  144.        register.
  145.  
  146.        The long history of this program demonstrates our commitment to
  147.        providing enhancements and updates.  We could not justify the many hours
  148.        invested in writing, maintaining, and improving PRINDIR if it weren't
  149.        for the tremendous number of users who have registered.  Our most
  150.        sincere thanks go out to anyone who has registered, recommended, or in
  151.        any other way helped make PRINDIR the success it has become!
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.                                       - Page 3 -
  180.  
  181.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  182.  
  183.  
  184.  
  185.        SHAREWARE NOTICE       SHAREWARE NOTICE       SHAREWARE NOTICE
  186.        The PRINDIR system, comprised of PRINDIR, PRINMOD, PRINCOL, and PRINKEY
  187.        versions 9.00, this documentation, and any previous or later versions of
  188.        any of the above are all Copyright (c) 1989-1993 J.M. Allen Creations.
  189.        All Rights Reserved by Michael A. Hotz.  This program is NOT public
  190.        domain, it is released using the Shareware concept.  We invite you to
  191.        use our software on a trial basis.  If after 30 days, you find that this
  192.        is an indispensable addition to your utility entourage, we ask that you
  193.        pay for this program by sending a $20.00 registration fee to JMAC using
  194.        the registration form included on the last page of this manual.  You may
  195.        also register by phone using a valid VISA or MASTERCARD.
  196.  
  197.        Registered users are invited to upgrade to the latest version of PRINDIR
  198.        for only $5.00.  Registration assures you of 25 percent upgrades for any
  199.        future Shareware versions of the program, unlimited technical support,
  200.        and you will have a clear conscience knowing you have not stolen this
  201.        software, but rather paid a very modest fee for the continued legal use
  202.        of PRINDIR.  In addition, there is no cost to upgrade to a minor release
  203.        version which is within the same major release version you are currently
  204.        registered for.  For instance, as a registered user of version 9.00, you
  205.        can upgrade to any 9.xx version for no charge when they are released.
  206.        Only when the major version number changes are there changes or
  207.        improvements which warrant additional payment.
  208.  
  209.        This program may be freely distributed for others evaluation as long as
  210.        no fee is charged, with the exception of modest disk, shipping and
  211.        handling charges.  Any person who uses this product agrees to the terms
  212.        of the Shareware, Copyright, and Disclaimer notices contained herein.
  213.        If this system is distributed, only the original archive distributed by
  214.        J.M. Allen Creations should be used, and it should not be modified in
  215.        ANY WAY!  This will allow users who fear they may have obtained a
  216.        patched, or otherwise modified version of the program to verify the
  217.        integrity of the program by calling J.M. Allen Creations with the
  218.        archive checksum information.
  219.  
  220.        You MAY NOT disassemble, reverse engineer, hack, change, modify, alter,
  221.        mutate, refashion, vary, or catalyze any of these programs or
  222.        documentation in any way, manner, shape or form.
  223.  
  224.        DISCLAIMER       DISCLAIMER       DISCLAIMER
  225.        Michael A. Hotz, nor J.M. Allen Creations, nor any person or entity
  226.        affiliated with either, will assume any responsibility for any situation
  227.        which occurs as a result, be it direct, or indirect, of the use of any
  228.        of these programs.  THE USER ASSUMES ALL RISK WHICH MAY BE ASSOCIATED
  229.        WITH THE USE OF THESE PROGRAMS.  There are no warrantees whatsoever,
  230.        expressed or implied, as to the usefulness or effectiveness of this
  231.        system for any particular purpose.  This software is licensed as is, and
  232.        is not guaranteed to work on any particular machine, or under any
  233.        particular hardware or software configuration.  All of the programs have
  234.        been tested on many different types of hardware under numerous
  235.        configurations to perform as described in this documentation.  Use of
  236.        this software in any way constitutes IMMEDIATE acceptance of these terms
  237.        by the user.
  238.  
  239.  
  240.  
  241.  
  242.                                       - Page 4 -
  243.  
  244.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  245.  
  246.  
  247.  
  248.        INSTALLATION AND REMOVAL       INSTALLATION AND REMOVAL       INSTALLATION AND REMOVAL
  249.        PRINDIR should be installed on a system running version 3.00 of DOS or
  250.        greater.  It should be installed at the command line, or in a batch
  251.        file, but should not be installed while you are shelled to DOS from
  252.        inside another program.  The program requires one of three command line
  253.        switches to be installed, or one to be released.  There are five
  254.        additional switches available to control special features.
  255.  
  256.        REQUIRED COMMAND LINE ARGUMENT       REQUIRED COMMAND LINE ARGUMENT       REQUIRED COMMAND LINE ARGUMENT
  257.        prindir /c - Conventional Memory Mode
  258.        prindir /e - Expanded Memory Mode
  259.        prindir /x - Extended Memory Mode
  260.        prindir /u - Attempt to remove if installed
  261.  
  262.        In all modes of installation, PRINDIR will allocate a default buffer of
  263.        64k for buffering captured data that is being redirected to a disk file.
  264.        You can instruct PRINDIR to use more or less memory by specifying a
  265.        kilobyte value immediately after the /x switch.
  266.  
  267.        EXAMPLES       EXAMPLES       EXAMPLES
  268.        prindir /c256  - Install with a 256k conventional memory buffer
  269.        prindir /x2048 - Install with a 2 meg extended memory buffer
  270.        prindir /e1024 - Install with a 1 meg extended memory buffer
  271.  
  272.        PRINDIR can use as much memory as you have available on your system.  To
  273.        use EXPANDED memory, you must have an EMS driver installed.  To use
  274.        EXTENDED memory, you must have an XMS driver installed.
  275.  
  276.        prindir /u
  277.  
  278.        Running PRINDIR with the /u switch will unload the resident copy of
  279.        PRINDIR.  If one of the interrupts PRINDIR takes over while it is
  280.        installed is changed while it is resident, PRINDIR will not be able to
  281.        unload until the affected interrupt is restored.  If PRINDIR cannot
  282.        unload safely, it will display a message to this effect and remain
  283.        resident.  At this point you may want to unload the offending program,
  284.        and attempt to release PRINDIR again.  Any data in the disk buffer will
  285.        be written automatically before the program releases.
  286.  
  287.        OPTIONAL COMMAND LINE ARGUMENTS       OPTIONAL COMMAND LINE ARGUMENTS       OPTIONAL COMMAND LINE ARGUMENTS
  288.        /k  This switch is used to tell PRINDIR not to grab the keyboard
  289.        interrupt vector when the popup menu is displayed.  This vector is
  290.        normally changed when PRINDIR is popped up, and restored when the menu
  291.        is closed to provide compatibility with programs that do strange
  292.        handling with the keyboard.  The EDIT.EXE program that comes with DOS
  293.        5.0 is one particular program which benefits from this action.  If you
  294.        have problems with PRINDIR you might try using the /k switch to disable
  295.        this function before calling for technical support.
  296.  
  297.        /b  This switch is used to tell PRINDIR not to change the blink bit
  298.        setting.  On EGA and better display adapters, PRINDIR normally turns of
  299.        the blink bit to allow 256 different colors for the popup parameter
  300.        menu.  You can use the /b switch to force PRINDIR not to modify the
  301.        blink bit setting.
  302.  
  303.  
  304.  
  305.                                       - Page 5 -
  306.  
  307.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  308.  
  309.  
  310.  
  311.        /p  This switch is used to tell PRINDIR to add a formfeed character
  312.        after each print screen operation.
  313.  
  314.        /q  This switch is used to tell PRINDIR not to display any messages on
  315.        the screen.
  316.  
  317.        /ixx  This switch is used to change the ID number used by PRINDIR in
  318.        communicating through the multiplex interrupt 2Fh.  The xx should be
  319.        replaced with any valid hexadecimal value from 00 to FF.  See the
  320.        discussion of the multiplex ID below for details.
  321.  
  322.        THE MULTIPLEX ID       THE MULTIPLEX ID       THE MULTIPLEX ID
  323.        The purpose of the ID is twofold.  First, if you have another resident
  324.        program using the default ID of 7Fh, you can change the ID used by
  325.        PRINDIR to avoid conflict.  Generally speaking, if another piece of
  326.        software suddenly stops working when PRINDIR is installed, you may need
  327.        to use this switch.
  328.  
  329.        The second reason to use this switch would be in a case where you want
  330.        to load multiple copies of the PRINDIR program to redirect multiple
  331.        devices at the same time.  You could install the first copy of PRINDIR
  332.        with the default, and the second using a different ID number.
  333.  
  334.        The PRINMOD program has an identical /ID switch so that you can
  335.        communicate with several loaded copies of PRINDIR installed using
  336.        different ID numbers.  You may want to change the hotkey for one of them
  337.        so you have access to both popup menus, and you may want to change the
  338.        colors for one of them as well.
  339.  
  340.        When you are ready to unload PRINDIR, you must specify the same ID
  341.        number when unloading as when you loaded.  Also, if you install multiple
  342.        copies, you should unload them in reverse order.
  343.  
  344.        POPUP PARAMETER MENU       POPUP PARAMETER MENU       POPUP PARAMETER MENU
  345.        The popup parameter menu is your interface with the PRINDIR program.
  346.        From this small popup menu, you can set many different parameters.  The
  347.        following paragraphs summarize the different configuration settings and
  348.        information displays.  The default keystroke to pop up PRINDIR is ALT +
  349.        P (Hold the ALT key and press P).
  350.  
  351.        SOURCE DEVICE       SOURCE DEVICE       SOURCE DEVICE
  352.        This section determines which port PRINDIR will capture data from.  The
  353.        F1 through F7 keys will allow you to select different source devices.
  354.        Any output sent to this device will be intercepted by PRINDIR, and
  355.        redirected to the appropriate destination based on the DESTINATION
  356.        DEVICE.  This setting will remain in effect until you change it again
  357.        through the popup parameter menu, or the PRINMOD program.
  358.  
  359.        DESTINATION DEVICE       DESTINATION DEVICE       DESTINATION DEVICE
  360.        This section indicates which device PRINDIR is currently writing
  361.        redirected output to.  The 1 through 7 keys, plus S and F will allow you
  362.        to select different destination devices.  Any data that is printed to
  363.        the SOURCE DEVICE will be captured by PRINDIR and redirected to the
  364.        DESTINATION DEVICE selected.  This setting will remain in effect until
  365.  
  366.  
  367.  
  368.                                       - Page 6 -
  369.  
  370.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  371.  
  372.  
  373.  
  374.        you change it again through the popup parameter menu, or the PRINMOD
  375.        program.
  376.  
  377.        FILE NAME       FILE NAME       FILE NAME
  378.        The N key will allow you to edit the file name field.  In this field,
  379.        you should type the entire path and file name for the file you wish to
  380.        redirect to.  If you provide a filename without a path, the file will be
  381.        created in the current directory.  If this field is blank, PRINDIR will
  382.        capture to the file PRINDIR.DAT in the current directory.
  383.  
  384.        FILE REDIRECTION NOTES       FILE REDIRECTION NOTES       FILE REDIRECTION NOTES
  385.        You don't have to worry about losing data already in a file because
  386.        PRINDIR will never write over existing data.  If the destination file
  387.        you have specified already exists, PRINDIR will simply append any
  388.        further data to the end of the file, leaving the original data
  389.        untouched.  If the file specified does not exist, PRINDIR will
  390.        automatically create it.
  391.  
  392.        WHEN PRINDIR WRITES TO THE FILE       WHEN PRINDIR WRITES TO THE FILE       WHEN PRINDIR WRITES TO THE FILE
  393.        PRINDIR automatically writes any data in it's buffers before the
  394.        parameter menu is activated and before the program is removed from
  395.        memory at the users request.  PRINDIR will attempt to write any buffered
  396.        data after a default of 5 seconds pass with no new data being added to
  397.        the buffer.  PRINDIR will also attempt to write any buffered data when
  398.        the number of bytes in the buffer reaches or exceeds a predefined
  399.        minimum.  The default is 10k and can be changed with the PRINMOD
  400.        program.
  401.  
  402.        MEMORY BUFFER DETAILS       MEMORY BUFFER DETAILS       MEMORY BUFFER DETAILS
  403.        The memory buffer serves as a temporary storage area where PRINDIR can
  404.        store redirected data to be redirected to a file until the system is in
  405.        a state where PRINDIR can safely interrupt the foreground application to
  406.        open a file, write the data, and close the file again.  Most programs
  407.        that you will run should provide ample opportunities for PRINDIR to
  408.        safely write to files.  For the few that don't, you can use a very large
  409.        buffer to capture all printed data, and then have it written to the file
  410.        when the program terminates.
  411.  
  412.        DELAY AND MINIMUM DUMP SIZE DETAILS       DELAY AND MINIMUM DUMP SIZE DETAILS       DELAY AND MINIMUM DUMP SIZE DETAILS
  413.        The delay and minimum dump size values that can be set with the PRINMOD
  414.        utility are designed to allow PRINDIR to operate efficiently.  Without
  415.        them, PRINDIR would try to write each character to the file as it is
  416.        printed.  This would slow the system to a crawl as the file would have
  417.        to be opened, written, and closed for each character printed.
  418.  
  419.        The /SIZE option of PRINMOD allows you to tell PRINDIR not to bother
  420.        writing to the disk file until at least a certain amount of data has
  421.        been captured.  This prevents the thrashing situation that was described
  422.        above.
  423.  
  424.        Now the, since PRINDIR isn't going to write every byte it receives
  425.        instantly to the file, the situation will often occur when your
  426.        application is done printing, but some of the data is still in the
  427.        buffer.  PRINDIR solves this problem with the /WAIT option of the
  428.  
  429.  
  430.  
  431.                                       - Page 7 -
  432.  
  433.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  434.  
  435.  
  436.  
  437.        PRINMOD program.  This option tells PRINDIR how long to wait for no data
  438.        to be printed before it writes the remaining data in the buffer to the
  439.        capture file.  This time-out value is necessary because there is no way
  440.        of knowing when a print job has ended that is compatible with all
  441.        printer drivers or applications.
  442.  
  443.        INVISIBLE MODE       INVISIBLE MODE       INVISIBLE MODE
  444.        When PRINDIR is in invisible mode, it appears transparent in that it
  445.        does not modify any data in any way.  Invisible mode allows PRINDIR to
  446.        remain in memory without disturbing any printed data, waiting for your
  447.        commands at any time.  You can set PRINDIR to invisible by using the I
  448.        key in the Popup Parameter Menu, or by using the PRINMOD program.
  449.  
  450.        DELETE CURRENT FILE       DELETE CURRENT FILE       DELETE CURRENT FILE
  451.        The D key will allow you to delete the file currently specified  in the
  452.        File Path and File Name fields.  PRINDIR does not provide you with an
  453.        option to change your mind when this key is pressed.  The file is
  454.        deleted instantly.
  455.  
  456.        BYTE COUNTER       BYTE COUNTER       BYTE COUNTER
  457.        This display is a eight digit counter that can be seen in the upper
  458.        right corner of the screen when the Counter option is selected with the
  459.        C key.  The display shows the number of bytes that are in the
  460.        redirection buffer, and uses the same colors as the parameter menu.
  461.  
  462.        ECHO MODE       ECHO MODE       ECHO MODE
  463.        Echo mode provides a way to print to two devices at one time.  When echo
  464.        mode is on, every byte printed to the port intercepted will be sent to
  465.        the PRINDIR destination, as well as to the original intercepted device.
  466.        For instance, if the CAPTURED DEVICE is set for LPT1, and the
  467.        DESTINATION DEVICE is set to FILE, and the ECHO MODE is turned on,
  468.        anything you print to LPT1 will go into the file specified, as well as
  469.        to LPT1.
  470.  
  471.        VIDEO MODE SWITCHING       VIDEO MODE SWITCHING       VIDEO MODE SWITCHING
  472.        PRINDIR now incorporates very simple logic for dealing with graphics and
  473.        other nonstandard display modes.  When you pop PRINDIR up over anything
  474.        but a standard 80 x 25 text display, PRINDIR will switch the display
  475.        mode to a mode it can deal with, and when you close the Popup Parameter
  476.        Menu the original screen and video mode will be restored.  HOWEVER, the
  477.        method used to save and restore the screen is not perfect, and therefore
  478.        you will notice, particularly in graphics modes, that a portion of the
  479.        display is not properly restored, and the palette colors may be lost as
  480.        well.  While we aren't pleased with the end results, we feel this is
  481.        better than nothing at all.  This approach allows popping up over
  482.        graphics with virtually no additional code overhead.  If the side effect
  483.        of popping PRINDIR over graphics displays annoys you, we suggest you
  484.        only pop up over text screens.
  485.  
  486.        PRINDIR will automatically write any bytes in the disk buffer before
  487.        popup.  This occurs to prevent problems with parts of files being
  488.        printed to parts of other files when doing file name changes.
  489.  
  490.  
  491.  
  492.  
  493.  
  494.                                       - Page 8 -
  495.  
  496.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  497.  
  498.  
  499.  
  500.        PRINMOD UTILITY       PRINMOD UTILITY       PRINMOD UTILITY
  501.        PRINMOD is a separate program to support changing resident PRINDIR
  502.        parameters from batch files, or at the command line, or even from within
  503.        other programs.  PRINMOD will allow you to do this easily.  You simply
  504.        run PRINMOD with the desired parameters.  The parameters can be any
  505.        number from the list below, in any combination.
  506.  
  507.        PRINMOD SWITCHES       PRINMOD SWITCHES       PRINMOD SWITCHES
  508.  
  509.             /IDxx               - Set ID number used to communicate with 
  510.                                   resident program (00h through FFh allowed).
  511.  
  512.             /GETx               - Set captured device         (1 - 7)
  513.             /PUTx               - Set destination device      (0 - 9)
  514.  
  515.             The device numbers used with /GET and /PUT are:
  516.  
  517.             1 = LPT1, 2 = LPT2, 3 = LPT3
  518.             4 = COM1, 5 = COM2, 6 = COM3, 7 = COM4
  519.             8 = SCREEN, 9 = FILE, 0 = INVISIBLE
  520.             /FILE-...           - Set the name for the capture file
  521.             /LOCK-...           - Set the name for the file lock
  522.             /DUMP               - Write remaining bytes in buffer to file
  523.             /NCOLxxx            - Change the standard text color
  524.             /HCOLxxx            - Change the highlight text color
  525.             /KEYxxx             - Change the hotkey
  526.             /DISPx[0,1]         - Turn the byte count display off or on
  527.             /ECHOx[0,1]         - Turn the echo mode off or on
  528.             /WAITxxx            - Set the delay for writing remaining bytes
  529.             /SIZExxx            - Set the minimum kb required for writing
  530.             /POP                - Show the popup parameter menu
  531.  
  532.        The /ID parameter is used to select the ID number of the resident copy
  533.        of PRINDIR to communicate with.  This can be any hexadecimal number
  534.        between 00 and FF.
  535.  
  536.        The /GET parameter is used to set the source device for redirection.
  537.  
  538.        The /PUT parameter is used to set the target device for redirection.
  539.  
  540.        The /FILE parameter is used to set the name of the file PRINDIR should
  541.        write to when capturing output to a file.  It is the same as the File
  542.        Name field in the popup menu.
  543.  
  544.        The /LOCK parameter is used to set the name of a lock file that PRINDIR
  545.        should create and obey.  This is useful in multitasking environments
  546.        where programs other than PRINDIR will be accessing the capture files.
  547.        When you specify a lock file, PRINDIR will not write to it's capture
  548.        file when the lock file exists.  If the lock file does not exist,
  549.        PRINDIR will create it before dumping to the capture file, and remove it
  550.        after the dump is finished.  If no lock file is specified, PRINDIR will
  551.        not use the locking mechanism.
  552.  
  553.  
  554.  
  555.  
  556.  
  557.                                       - Page 9 -
  558.  
  559.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  560.  
  561.  
  562.  
  563.        The /DUMP parameter will force PRINDIR to write any bytes that are in
  564.        its capture buffer to the current capture file.
  565.  
  566.        The /NCOL parameter will allow you to change the normal color for the
  567.        popup menu.  (Use PRINCOL to see a table of colors and values to be used
  568.        with this switch).
  569.  
  570.        The /HCOL parameter will allow you to change the highlight color for the
  571.        popup menu.  (Use PRINCOL to see a table of colors and values to be used
  572.        with this switch).
  573.  
  574.        The /KEY parameter can be used to set the hotkey to be used to open the
  575.        popup menu.  (Use PRINKEY to determine the scancode for the key you wish
  576.        to use).
  577.  
  578.        The /DISP parameter can be used to turn on (/DISP1) and off (/DISP0) the
  579.        byte count indicator.
  580.  
  581.        The /ECHO parameter can be used to turn on (/ECHO1) and off (/ECHO0) the
  582.        echo feature.
  583.  
  584.        The /WAIT parameter can be used to set the number of ticks to wait with
  585.        no additional data being written to the captured device  before PRINDIR
  586.        will flush it's buffers to the capture file.  This value is specified in
  587.        clock ticks.  There are 18.2 clock ticks in a second.
  588.  
  589.        The /SIZE parameter can be used to set the minimum number of bytes that
  590.        must be in the buffer before PRINDIR will begin watching for a safe time
  591.        to write it's buffers to disk.
  592.  
  593.        The /POP parameter can be used to open the popup menu from the command
  594.        line, or a batch file.
  595.  
  596.        If you give an invalid argument, or PRINDIR is not installed, the
  597.        program will display a message indicating the situation.  Also remember
  598.        that PRINMOD only changes the parameters in the resident copy of
  599.        PRINDIR.  Each time PRINDIR is installed, it starts out its resident
  600.        life with the defaults.  Many users who install PRINDIR in their
  601.        autoexec.bat file run the PRINMOD program immediately after the PRINDIR
  602.        program to set the desired parameters.
  603.  
  604.        PRINKEY UTILITY       PRINKEY UTILITY       PRINKEY UTILITY
  605.        The PRINKEY program will allow you to press the key you wish to use to
  606.        popup the PRINDIR Popup Parameter Menu.  The program will then print the
  607.        number you must use with the PRINMOD program using the /KEY option.
  608.        Remember that this does not change the keystroke permanently, only while
  609.        PRINDIR is installed, or until it is changed again with PRINMOD.  While
  610.        you must use the ALT key in conjunction with the hotkey to popup
  611.        PRINDIR, you should NOT use the ALT key when running this program.
  612.  
  613.        PRINCOL UTILITY       PRINCOL UTILITY       PRINCOL UTILITY
  614.        The PRINCOL program will display all of the possible values for the
  615.        /NCOL and /HCOL options of the PRINMOD program.  Remember that this does
  616.        not change the color permanently, only while PRINDIR is installed, or
  617.  
  618.  
  619.  
  620.                                       - Page 10 -
  621.  
  622.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  623.  
  624.  
  625.  
  626.        until it is changed again with PRINMOD.
  627.  
  628.        NOTES FOR PROGRAMMERS       NOTES FOR PROGRAMMERS       NOTES FOR PROGRAMMERS
  629.        You may easily incorporate support for changing resident PRINDIR
  630.        settings in your own software through multiplex interrupt 2Fh.  You
  631.        simply put valid numbers in the correct registers, and issue software
  632.        interrupt 2Fh.
  633.  
  634.        For all calls, the AH register should contain the ID number of the
  635.        resident copy you wish to communicate with.  The AL register should
  636.        contain one of the values from the table below.  Return values are
  637.        generally passed in the AX register.  The AX register will return 0 if
  638.        the call is successful, or -1 if it fails.  If a call fails, it is
  639.        usually because you requested an invalid function number, or provided an
  640.        invalid argument.
  641.  
  642.        AL = 00h  - Determine if PRINDIR is installed.
  643.  
  644.             Upon return, the AH register will contain the ID number and the AL
  645.        register will contain 0xFF.  If these values aren't returned, then
  646.        PRINDIR is not installed.  If these values are returned, you then need
  647.        to check the string located at the far address returned in the CX:DX
  648.        registers to make sure PRINDIR is the program installed on the ID number
  649.        you are using.  You should find "PRINDIR" at this address as a null
  650.        terminated string.  Finally, once you have determined PRINDIR is
  651.        installed, check the version number returned in the BX register.  The BH
  652.        register will contain the major version number, and the BL register will
  653.        contain the minor version number.  The API listed below is subject to
  654.        change between versions.
  655.  
  656.        AL = 01h - Set Capture Device
  657.        DX = A valid capture device as defined above
  658.             AX returns 0 for success, -1 for an invalid device number
  659.  
  660.        AL = 02h - Set Destination Device
  661.        DX = A valid destination device number as defined above
  662.             AX returns 0 for success, -1 for an invalid device number
  663.  
  664.        AL = 03h - Set Capture File Name
  665.        CX = Segment to a null terminated capture file name
  666.        DX = Offset to a null terminated capture file name
  667.             AX returns 0 for success, -1 if the string is to long
  668.  
  669.        AL = 04h - Set Lock File Name
  670.        CX = Segment to a null terminated lock file name
  671.        DX = Offset to a null terminated lock file name
  672.             AX returns 0 for success, -1 if the string is to long
  673.  
  674.        AL = 05h - Dump Capture Buffer
  675.             AX always returns zero
  676.  
  677.        AL = 06h - Set Normal Text Color
  678.        DH = New text color
  679.             AX always returns zero
  680.  
  681.  
  682.  
  683.                                       - Page 11 -
  684.  
  685.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  686.  
  687.  
  688.  
  689.  
  690.        AL = 07h - Set Highlight Text Color
  691.        DH = New highlight color
  692.             AX always returns zero
  693.  
  694.        AL = 08h - Set Popup Hotkey
  695.        DH = Scancode for new hotkey
  696.             AX always returns zero
  697.  
  698.        AL = 09h - Set state of byte counter display
  699.        DX = 0 to turn off, 1 to turn on
  700.             AX always returns zero
  701.  
  702.        AL = 0Ah - Set Flush Delay
  703.        DX = Number of clock ticks for delay
  704.             AX always returns zero
  705.  
  706.        AL = 0Bh - Set Minimum Dump Size
  707.        DX = Number of kilobytes before dumping
  708.             AX always returns zero
  709.  
  710.        AL = 0Ch - Set echo state
  711.        DX = 0 to turn off, 1 to turn on
  712.  
  713.        AL = 0Dh - Show Popup Parameter Menu
  714.             AX returns 0 if successful, any other value indicates failure
  715.  
  716.        AL = 0Eh - Submit byte to current destination device
  717.        DL = Byte to submit.
  718.             AX returns 0 if successful, any other value indicates failure
  719.  
  720.        FINAL NOTES AND WHERE TO GET HELP       FINAL NOTES AND WHERE TO GET HELP       FINAL NOTES AND WHERE TO GET HELP
  721.        We have put a great deal of work into this system, and believe PRINDIR
  722.        is the best, safest, most versatile, and most reliable programs of this
  723.        nature that is available.  If, however, you are experiencing any
  724.        problems, please don't hesitate to contact us.  We deal with all
  725.        technical support questions promptly, and we would be glad to help with
  726.        any problem you may be having.
  727.  
  728.        You may contact Michael A. Hotz from 9:00 a.m. until 5:00 p.m Monday
  729.        through Friday at (419) 334-5203.  After hours and on weekends, you may
  730.        call (419) 262-0779.  This is a cell phone, and if it is not answered,
  731.        will forward to a voice mailbox which we check as often as possible.  If
  732.        you leave a message on here, we will usually call you back the same day.
  733.        You may also send Compuserve Mail to 74160,3111, GEnie Mail to MAHOTZ,
  734.        or Internet Mail to mahjmac@delphi.com.
  735.  
  736.        Many of the features in PRINDIR have been added at the request of other
  737.        users.  If you have ideas, suggestions, questions, comments, or
  738.        criticism, please contact us so a solution can be worked out.
  739.  
  740.        If you have trouble and can't get things going, be sure you have some
  741.        basic information before you call, such as what type of system you are
  742.        using, what type of memory buffer you are using, what types of programs
  743.  
  744.  
  745.  
  746.                                       - Page 12 -
  747.  
  748.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  749.  
  750.  
  751.  
  752.        you have resident, what programs you are using, and when the problems
  753.        occur.  With this information we can generally determine what the
  754.        problem is, and find a way to get PRINDIR to work for you!
  755.  
  756.        KNOWN CONFLICTS AND OTHER INFORMATION       KNOWN CONFLICTS AND OTHER INFORMATION       KNOWN CONFLICTS AND OTHER INFORMATION
  757.        PRINDIR cannot redirect programs which bypass the BIOS and access
  758.        hardware directly.  PRINDIR intercepts all devices at the BIOS level,
  759.        but there is no easy way to intercept direct hardware writes on all
  760.        computers.
  761.  
  762.        PRINDIR has been tested under MS-DOS Versions 3.30, 4.01, 5.00, and
  763.        6.00, IBM OS/2 2.0 in a DOS Window, Desqview 386 Version 2.42, and
  764.        Microsoft Windows 3.0 and 3.1.  PRINDIR should have no problem with the
  765.        loadhigh statement available under MS-DOS 5.0, and similar statements
  766.        provided by other memory managers such as QEMM.
  767.  
  768.        SITE LICENSE INFORMATION       SITE LICENSE INFORMATION       SITE LICENSE INFORMATION
  769.        PRINDIR can be site licensed by using the following guidelines.  The
  770.        minimum registration cost is $20.00.  This allows the use of PRINDIR on
  771.        up to 20 machines at any single location.  The charge for each
  772.        additional machine is $1.00 in increments of $10.00
  773.  
  774.        1   -  20 Machine   =  $20.00
  775.        21  -  30 Machines  =  $30.00
  776.        31  -  40 Machines  =  $40.00
  777.        41  -  50 Machines  =  $50.00
  778.  
  779.        etc...  etc...  etc...
  780.  
  781.        Site license upgrades follow the same logic of single license upgrades,
  782.        including the same logic as above.
  783.  
  784.        1   -  20 Machines  = $5.00
  785.        21  -  30 Machines  = $7.50
  786.        31  -  40 Machines  = $10.00
  787.        41  -  50 Machines  = $12.50
  788.  
  789.        etc...  etc...  etc...
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.                                       - Page 13 -
  810.  
  811.               JMAC PRINDIR Version 9.00 Users Guide and Reference Manual
  812.  
  813.  
  814.  
  815.                     PRINDIR Version 9.00 Official Registration Form                    PRINDIR Version 9.00 Official Registration Form                    PRINDIR Version 9.00 Official Registration Form
  816.  
  817.        Please mail this form to:
  818.  
  819.        J.M. Allen Creations
  820.        P.O Box 387
  821.        Lindsey, Ohio  43442-0387
  822.  
  823.        Please make any check or money orders payable to J.M. Allen Creations.
  824.        First time registration is $20.00.  Registered users of versions prior
  825.        to 9.00 may upgrade to version 9.00 for only $5.00.
  826.  
  827.        Name _________________________________________________________________
  828.  
  829.        Title ________________________________________________________________
  830.  
  831.        Company Name _________________________________________________________
  832.  
  833.        Address ______________________________________________________________
  834.  
  835.        City _______________________ State _____________ Zipcode _____________
  836.  
  837.        Daytime Phone __________________________ Fax _________________________
  838.  
  839.        E-Main (Compuserve, GEnie, Delphi, Internet, MCI Mail, Etc...)
  840.  
  841.        ______________________________________________________________________
  842.  
  843.        ____ New Registrations @ $20.00 Each            = $________.____
  844.  
  845.        ____ Upgrade Registrations @ $5.00 Each         = $________.____
  846.  
  847.        ____ New Site License For _____ Machines       = $________.____
  848.  
  849.        ____ Upgrade Site License For _____ Machines    = $________.____
  850.  
  851.        TOTAL COST -------------------------------------- $________.____
  852.  
  853.        [ ] I have enclosed a check or money order for the total
  854.  
  855.        [ ] Charge the credit card below for the total (SIGNATURE REQUIRED)
  856.  
  857.        CREDIT CARD NUMBER (13 or 16 digits)                        EXPIRATION
  858.        VISA/MASTERCARD ONLY!                                       DATE
  859.  
  860.        __ __ __ __ - __ __ __ __ - __ __ __ __ - __ __ __ __       __ - __
  861.  
  862.        AUTHORIZED SIGNATURE__________________________________________________
  863.  
  864.  
  865.        IF YOU DOWNLOADED PRINDIR, PLEASE TELL US FROM WHERE SO WE CAN PROVIDE
  866.        UPDATES TO THE SYSTEM OPERATOR WHEN THEY BECOME AVAILABLE.
  867.  
  868.        ______________________________________________________________________
  869.  
  870.  
  871.  
  872.                                       - Page 14 -