home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / vrac / prnf245.zip / PRNSET.DOC < prev    next >
Text File  |  1993-06-09  |  60KB  |  1,266 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                        PrnSet                                       PrnSet
  19.                        Universal Printer Setter (Non-Resident)
  20.  
  21.                                     Version 2.94
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.                                      Programmer: R. N. Wisan, January, 1993
  51.                                       37 Clinton Street, Oneonta, NY, 13820
  52.  
  53.                                                       Not Copyright: Enjoy.
  54.           PrnSet 2.94                                                Page 1
  55.  
  56.  
  57.  
  58.  
  59.                                   1  What PrnSet is                                  1  What PrnSet is
  60.  
  61.  
  62.           Prnset is a universal printer setting program:
  63.  
  64.             o It gets its data from a data file, which you can make with
  65.               any text editor.  This makes it possible
  66.  
  67.               (a) to set the print control symbols for any printer
  68.  
  69.               (b) to select and organize the instructions you want to have
  70.                   in PrnSet's repertoire.
  71.  
  72.             o It can operate interactively through a menu, from a batch
  73.               file, or directly from the DOS command line.
  74.  
  75.             o It can send files to the printer from its menu; conversely,
  76.               it can redirect its output (instructions, files and all) to a
  77.               file.
  78.  
  79.             o It needs DOS 2.00 or higher.
  80.  
  81.             o It is non-resident.  It lives on disk.
  82.  
  83.               You normally use a printer setter to prepare the printer be-
  84.           fore printing out a plain text file (like this document).  A
  85.           program which sends its own printer control instructions (like a
  86.           word processor) would over-ride anything you sent it with PrnSet.
  87.           Occasionally, however, you can set something which your program
  88.           doesn't know about.  If your program can't switch between "draft"
  89.           and "letter quality," for instance, you may find you can set one
  90.           of these with PrnSet, and the program will leave it that way.
  91.  
  92.  
  93.                                2  Setting up: The Files                               2  Setting up: The Files
  94.  
  95.  
  96.               As provided: PrnSet comes in the following files:
  97.  
  98.           PRNSET.EXE   The operating program.
  99.  
  100.           PRNSET.DOC   This Manual
  101.  
  102.           PRNSET.DAT   The default data file for PRNSET.EXE.
  103.  
  104.           xxxxxx.DAT   There may be other data files.  Their names suggest
  105.                        what printers they're for,
  106.  
  107.           Besides the PrnSet files, proper, some file manicuring tools are
  108.           on the disk.  To save space, they're packed into self-extractor
  109.           files each with its own DOC file of instructions:
  110.           PrnSet: Setting up: The Files                              Page 2
  111.  
  112.  
  113.  
  114.           COUNTPGS     Used to count the pages and generally size up a file
  115.                        before printing it.  Tells how many pages, how many
  116.                        lines per page, how long the lines, and other useful
  117.                        things.
  118.  
  119.           PAGINA       Breaks a continuous text file into pages, with
  120.                        headers, footers and margins, if desired.  You get
  121.                        lots of choice about them.
  122.  
  123.           PRN2BOTH     Divides a paginated file in two: one containing the
  124.                        odd numbered pages, the other containing the even.
  125.                        You print the odd page file, take the paper out, put
  126.                        it in again other way up and print the even pages on
  127.                        the back.  If necessary, Prn2Both can lay out
  128.                        suitable margins and reverse existing header and
  129.                        footer lines.
  130.  
  131.           MANGLER      Performs various file-manicuring functions like
  132.                        breaking it into smaller pieces, adding or stripping
  133.                        margins, inserting or removing form-feeds, removing
  134.                        unwanted blank lines, de-WordStarring files with
  135.                        strange characters in them etc.
  136.  
  137.                        A file which uses bare carriage returns to do under-
  138.                        lining (CountPgs will tell you if it does) usually
  139.                        puts the text first, followed by CR and the under-
  140.                        scores.  This makes the file unreadable on the
  141.                        screen.  Mangler can swap what's on the line in
  142.                        front of such a carriage return with what's behind
  143.                        it.  Try it both ways, you'll see the difference.
  144.  
  145.           To use a self-extractor, you run it from a disk (or directory)
  146.           that has plenty of space on it.  The self extractor then unpacks
  147.           its contents onto the default disk\directory.
  148.  
  149.               The following file (also a self-extracter) contains a program
  150.           that isn't part of the PrnSet group.  If your word processor
  151.           won't make plain ASCII files, you need a simple editor which
  152.           will, hence:
  153.  
  154.           TERSE.EXE    Contains Terse (T.COM), a simple ASCII text editor
  155.                        and its instruction manual in TERSE.DOC.
  156.  
  157.               You need a working PRNSET.DAT somewhere on your disk.  PrnSet
  158.           will look for it all along the path, so anywhere will do so long
  159.           as it's on the path.  As supplied, PRNSET.DAT contains a trick
  160.           billboard file.[1]  Look over the .DAT files.  If one seems right
  161.           for your printer, put it on your disk (and rename it PRNSET.DAT).
  162.  
  163.           -----------
  164.  
  165.  
  166.           1. PrnSet used to come with a working PRNSET.DAT, in fact the one
  167.              I normally use.  I've set up the billboard because it was too
  168.              easy for the non DOC-reading crowd to punch it up, see the
  169.              legend: "for Epson LQ-800" and decide it wasn't for them.
  170.           PrnSet: Running PrnSet                                     Page 3
  171.  
  172.  
  173.               Even if you find one with the name of your printer, you'll
  174.           want to edit it to taste eventually, but for now, pick out any-
  175.           thing that looks hopeful, just to see how PrnSet works.
  176.  
  177.  
  178.                                   3  Running PrnSet                                  3  Running PrnSet
  179.  
  180.  
  181.               To run PrnSet, both PRNSET.EXE and PRNSET.DAT must be on the
  182.           default disk or somewhere on the DOS path, where PrnSet can find
  183.           it.  The full syntax for starting PrnSet is:
  184.  
  185.                  PRNSET [[d:][\path]datafile] [{+|-}inst[/n]]...
  186.  
  187.           Note that everything after PRNSET is optional.  If you enter
  188.           PRNSET bare, it will use PRNSET.DAT as the default file, take its
  189.           data from that, and give you a menu to choose from.  To use a
  190.           different data file, enter the name of the file with, optionally,
  191.           a drive and path designation.  If you give no suffix, PRNSET will
  192.           default to .DAT.  (If you've set a DOS path, PrnSet will search
  193.           all over it for your data file.  You really need to give a path
  194.           specifier only if the file you want is NOT on the path.)
  195.  
  196.               That's enough to get you going in the interactive mode.  The
  197.           "[{+|-}inst[/n]]..." options concern the command mode, and we can
  198.           put off explaining it to Section 3.2.
  199.  
  200.  
  201.           3.1  The Interactive Mode          3.1  The Interactive Mode
  202.  
  203.  
  204.               To start PrnSet, type PRNSET and press <Enter>.  Sooner or
  205.           later, (emergencies over) you'll see a menu something like this:
  206.  
  207.           -------------------PrnSet for Epson LQ-800----------------------
  208.           |F1 Help F2 DOS F3 Setup F5 Test  F7 Print F9 ->File <Esc> Quit|
  209.           |--------------------------------------------------------------|
  210.           | Misc         || Fonts        || Style        || Format       |
  211.           |--------------||--------------||--------------||--------------|
  212.           |[Reset Prn   ]|| Pica         || NLQ          || LMargin      |
  213.           | ManualStyle  || Elite        || Cond         || RMargin      |
  214.           | VerySmall    || 15 cps       || Wide         || 8 Line/inch  |
  215.           | Tiny         || Proportional || Underline    || 6 Line/inch  |
  216.           |              ||              || Italic       || n/180"/Line  |
  217.           |              ||              || Dbl Strike   || SkipOver     |
  218.           |              ||              || SpScr        ||              |
  219.           |              ||              || SbScr        ||              |
  220.           |              ||              ||              ||              |
  221.           |--------------------------------------------------------------|
  222.           | Arrows move; <Enter> turn on/off; F10 sets prn;  Del clrs;   |
  223.           ----------------------------------------------------------------
  224.  
  225.           If anything's gone wrong, there'll be a message like "Can't find
  226.           PRNSET.DAT" in the bottom line.  In such a case, check to make
  227.           sure PRNSET.DAT is on the default drive or at least somewhere on
  228.           the DOS path.
  229.           PrnSet: The Interactive Mode                               Page 4
  230.  
  231.  
  232.               If your monitor is the old CGA type, you may see a notice:
  233.           "If you can't read the menu above, press the spacebar."  If you
  234.           can't, press the spacebar, and PrnSet will fix the screen.  As a
  235.           matter of fact, it'll automatically dump you into the reconfigu-
  236.           ration menu (see page 14) with everything set in black-and-white,
  237.           asking you "Record this setting permanently? (Y/N)"  Answer Y,
  238.           and it will fix up its own PRNSET.EXE, and also MANGLER.EXE, PA-
  239.           GINA.EXE, and PRN2BOTH.EXE, if it finds them in the default
  240.           drive\directory.
  241.  
  242.  
  243.  
  244.           3.1.1  Setting the Printer          3.1.1  Setting the Printer
  245.  
  246.  
  247.               Assuming all's well, first you specify what instructions you
  248.           want to send the printer; then you send them.  The menu explains
  249.           itself pretty well, and you can get some help by pressing F1.
  250.  
  251.  
  252.           To Specify What to Send,
  253.  
  254.            1. Use the cursor pad keys to move the emphasized bar to the in-
  255.               struction you want to give.  Then press <Enter>.  One press
  256.               toggles the instruction ON ("Tell the printer to turn this
  257.               feature on"), another <Enter> toggles it OFF ("Tell the
  258.               printer to turn this off"), and a third toggles it back to
  259.               silent ("Say nothing to the printer about this feature").
  260.               Some instructions (like "Pica") have no OFF instruction, so
  261.               they just toggle between ON and silent.  Some instructions
  262.               (like "LMargin") need a number, so when you toggle it on,
  263.               you're asked for "Number."  Type in what you want and press
  264.               <Enter>.
  265.  
  266.                                            or,
  267.  
  268.            2. Just type the first two letters of the instruction you want
  269.               (uppercase or lowercase doesn't matter).  "EL" for "Elite" is
  270.               the equivalent of moving to "Elite" and pressing <Enter>.
  271.  
  272.  
  273.           To Send the Instructions:
  274.  
  275.               Press F10.  As you enter instructions, the ones that are live
  276.           are highlighted.  They aren't sent to the printer until you press
  277.           F10.  Then, you get a solemn announcement to that effect, and you
  278.           can press either Esc to quit or any other key to continue in
  279.           PrnSet.
  280.  
  281.               If you send several instructions at once, they'll be sent NOT
  282.           in the order you punched but in the order of the screen, from top
  283.           to bottom for the left column, then top to bottom for the next
  284.           column and so on.  Thus, if a later instruction cancels an ear-
  285.           lier one, that's what you'll get.  For example, if you set "Pica
  286.           ON," "Elite ON," "8 Line/inch ON," "6 Line/inch ON" from the menu
  287.           above.  It would turn on Pica, then turn on Elite (which cancels
  288.           Pica), then 8 lines per inch, then 6 lines per inch (canceling 8
  289.           PrnSet: Setting the Printer                                Page 5
  290.  
  291.  
  292.           per inch), and you'd wind up with Elite at 6 lines per inch.
  293.           That's why "Reset Prn" is put first, so it can clear the printer
  294.           before anything else is sent.
  295.  
  296.               Unless you tell it to, PrnSet never clears the printer.  That
  297.           means that successive sendings, even successive runs of PrnSet
  298.           are cumulative.  If you send "Elite", quit PrnSet, run PrnSet
  299.           again and send "Wide", you have a printer set for Wide Elite.
  300.  
  301.  
  302.           If You've Made a Mess:
  303.  
  304.               You can clear PrnSet by pressing Del.  That turns all in-
  305.           structions silent and puts the bar back at upper left. This does
  306.           nothing to the printer.  It just lets you start PrnSet afresh.
  307.  
  308.  
  309.           To See What You've Done:
  310.  
  311.               Press F5, and PrnSet will send a test line of type to the
  312.           printer.
  313.  
  314.  
  315.  
  316.           3.1.2  Printing and Sending to Files          3.1.2  Printing and Sending to Files
  317.  
  318.  
  319.           To Send Files to the printer:
  320.  
  321.               Press F7, and PrnSet will send a file to the printer.  If you
  322.           use wildcards ("*" and "?") to say what files you want, PrnSet
  323.           will confirm each file before printing it.  For speed, the file
  324.           will be read and sent to the printer in blocks. If you change
  325.           your mind after it starts, you can't stop it on a dime, but press
  326.           <Esc> and it will stop after the next block of print.
  327.  
  328.               The point of this facility is to allow you to sit in PrnSet
  329.           and send a series of files, each with suitable printer settings,
  330.           including added FF's as you'd have to do if they end in the mid-
  331.           dle of a page.  The alternative is to make up a batch file to
  332.           copy the files, calling PrnSet between them with command line in-
  333.           structions.
  334.  
  335.  
  336.           To Redirect PrnSet's Output:
  337.  
  338.               Press F9, and PrnSet will ask you for a file name.  If you
  339.           give one, everything which would normally go to the printer will
  340.           be sent to that file.  To resume sending to the printer, press F9
  341.           again; it's a toggle.  The point here is to allow you to make up
  342.           a file containing text(s) with suitable printer instructions, to
  343.           be copied to a printer somewhere and somewhen else.  If you have
  344.           suitable .DAT files, you can set up files this way for printers
  345.           different from your own.  Also, by combining PrnSet with the DOS
  346.           PRINT command, you can pretty quickly set up files with printer
  347.           instructions and start it all printing in the background.
  348.           PrnSet: Stepping Briefly into DOS                          Page 6
  349.  
  350.  
  351.               When PrnSet sends files to a printer, it adds a newline (car-
  352.           riage return and line-feed) to files which don't end with one.
  353.           It doesn't do this when it sends to a file.
  354.  
  355.  
  356.  
  357.           3.1.3  Stepping Briefly into DOS          3.1.3  Stepping Briefly into DOS
  358.  
  359.  
  360.               When you get to using PrnSet to make up files with various
  361.           texts, printer controls and such, you may want to use some other
  362.           facility that has to be launched from the DOS command line.  F2
  363.           opens a DOS door. That means you seem to be back at the regular
  364.           DOS command line.  From there, you can do (almost) anything you
  365.           can normally do at the command line.  When you're done, type EXIT
  366.           and press <Enter> to return to PrnSet.
  367.  
  368.               You'll notice the DOS prompt shows an asterisk (*) that isn't
  369.           normally there.  It's to remind you that you're not at the normal
  370.           DOS command line.  When you use this facility, PrnSet remains in
  371.           the computer's memory.  If you do a CHKDSK, you'll notice that
  372.           the number of "bytes free" is less than usual.  For this reason,
  373.           you want to keep in mind you're standing on PrnSet's shoulders
  374.           (it's easy to forget).[2]
  375.  
  376.               One warning: if you've started to send things to a file from
  377.           PrnSet, don't try to work the same file after you step through
  378.           the DOS door. You can confuse the various sets of DOS into open-
  379.           ing and closing the same file several times.  It makes a mess of
  380.           the file.
  381.  
  382.  
  383.           3.2  The Command Line Mode          3.2  The Command Line Mode
  384.  
  385.  
  386.  
  387.               When you know what's on PrnSet's menu, you may prefer to skip
  388.           all the foofaraw and enter what you want directly at the DOS com-
  389.           mand line. Naturally, if you want to run PrnSet from a batch
  390.           file, you have to use this method.  To do it, after "PRNSET " or
  391.           "PRNSET filename ", put a "+" (to say "Turn on") or a "-" ("Turn
  392.  
  393.  
  394.           -----------
  395.  
  396.  
  397.           2. If you're not familiar with this manoever, try this experi-
  398.              ment: Do a CHKDSK and make note of the number of bytes free.
  399.              Then run PrnSet and press F2.  Do another CHKDSK and note the
  400.                                            _______             bytes free.  Run PrnSet again without doing an EXIT first.
  401.              Run another CHKDSK.  Keep doing this until the computer re-
  402.              fuses.  Either DOS won't run another PrnSet or another CHKDSK
  403.              or PrnSet won't give you another DOS command line. You've
  404.              filled up all the available memory, as the CHKDSK figures
  405.              should show.  If you're at DOS do an EXIT; if you're in PrnSet
  406.              press <Escape> to quit.  Keep doing this until you're back to
  407.              the home DOS command line, without an asterisk.
  408.           PrnSet: The Command Line Mode                              Page 7
  409.  
  410.  
  411.           off") and the name of the feature you want turned on or off.
  412.           Thus:
  413.  
  414.                  PRNSET +ELITE
  415.  
  416.           turns on Elite without going through the menu.  If all's well,
  417.           PrnSet will confirm what it sent to the printer.  Otherwise, you
  418.           get an error message.  You can send several instructions at once.
  419.           To turn on Elite, turn off italics, and set the left margin to 12
  420.           characters, you enter:
  421.  
  422.                  PRNSET +ELITE -ITALIC +LMARGIN/12
  423.  
  424.           As a matter of fact, you need only the first two letters of the
  425.           instruction (that's all PrnSet will notice) and they can be upper
  426.           or lower case.  You'd get the same effect with:
  427.  
  428.                  PRNSET +EL -it +Lm/12
  429.  
  430.           Notice how the number for LMargin is entered with a slash, as
  431.           /12.  Remember, the full syntax for starting PrnSet is:
  432.  
  433.                  PRNSET [[d:][\path]datafile] [{+|-}inst[/n]]...
  434.  
  435.           Here are the rules for instructions:
  436.  
  437.                                  ____              - Each instruction must begin with either + or -.
  438.  
  439.               - Each instruction that requires a number must end with /n
  440.                 (where n is the number).
  441.  
  442.               - Spaces must be used to separate instructions from each
  443.                 other.
  444.  
  445.               - There must be no spaces in the instruction.
  446.  
  447.               In the command line mode, unlike the menu mode, instructions
  448.           are executed in the order in which they are given.  Thus:
  449.  
  450.                  PRNSET +pica +elite
  451.  
  452.           leaves the printer set for elite, while
  453.  
  454.                  PRNSET +elite +pica
  455.  
  456.           leaves it set for pica.
  457.  
  458.               Run this way, PrnSet reports what it's doing.  You enter:
  459.  
  460.                  PRNSET +ELITE +DBL
  461.  
  462.           and Prnset will reply with:
  463.           PrnSet: The Command Line Mode                              Page 8
  464.  
  465.  
  466.                  PrnSet 2.94 for Epson LQ-800
  467.                  "Elite ON" sent to printer.
  468.                  "Dbl Strike ON" sent to printer.
  469.                  That's it.
  470.  
  471.           If you run PrnSet from a batch file, you can suppress this report
  472.           by redirecting it to a file or to nul.  If the line in your batch
  473.           file says
  474.  
  475.                  PRNSET +ELITE +DBL > NUL
  476.  
  477.           Prnset will do the job but won't say anything about it.
  478.  
  479.  
  480.                         4  Making a Data File for Your Printer                        4  Making a Data File for Your Printer
  481.  
  482.  
  483.               Everything PrnSet knows about your printer it gets from the
  484.           data file.  By default, it uses file PRNSET.DAT, though you can
  485.           tell it otherwise when you load.  If you have several printers,
  486.           you might want to keep separate data files for them and tell
  487.           PrnSet to use the one you want when you load it.
  488.  
  489.               To make a data file, you can use any text editor that can re-
  490.           frain from putting funny characters in the files.  (WordStar
  491.           works, for example, but only in the nondocument mode).[3]  You
  492.           will need to work out in advance a list of the features you want
  493.           to control from the menu and the ASCII numbers of the symbols the
  494.           printer must be sent to turn each of those features on and off.
  495.           You'll need to explore your printer's manual to find these.
  496.  
  497.           Here are the rules for a PrnSet data file:
  498.  
  499.            1. Title: The first line is a title.  The first 18 characters of
  500.               what you put here will appear after "PrnSet 2.94 for " at the
  501.               top of the menu.  Best use the name of the printer.  (But,
  502.               see Sec. 4.1, "Hex Numbers and Characters," p. 10 below.)
  503.  
  504.            2. Categories: Any line (after the first) which does not contain
  505.               an equal sign ("=") will be taken as the name of a category.
  506.  
  507.                 - The category name may have up to 12 characters.
  508.  
  509.                 - You may have up to four categories, and each category may
  510.                   have up to 17 instruction items in it.
  511.  
  512.  
  513.           -----------
  514.  
  515.  
  516.           3. If you have nothing else, EDLIN, the silly line editor that
  517.              comes with DOS would do.  Since I wouldn't wish EDLIN on a
  518.              dog, I've put a simple text editor called Terse on the disk.
  519.              Please note that Terse is not in the public domain.  It's a
  520.              shareware program, copyright by Joseph (Yossi) Gil.  If you
  521.              find you use it, you ought to pay up the reasonable price
  522.              asked.
  523.           PrnSet: Making a Data File for Your Printer                Page 9
  524.  
  525.  
  526.                 - Items entered after a category name will be assigned to
  527.                   that category.  If no items are entered for a category,
  528.                   the category is ignored.  (If you enter two category
  529.                   names with nothing between, only the second one counts.)
  530.  
  531.            3. Items: The format for an instruction item goes like this:
  532.  
  533.                      Name= n,n,n...[#|$n].. [m,m..]
  534.  
  535.               That means:
  536.  
  537.               (a) There must be a name (up to 12 characters) followed by an
  538.                   equal sign followed by at least one series of numbers.
  539.  
  540.               (b) The first series of numbers (n,n,n...) must be the ASCII
  541.                   numbers (decimal) for the symbols to turn ON the instruc-
  542.                                                _______                  tion.[4]  I say again, ASCII numbers. Enter "Escape E" as
  543.                   27,69.  If you want to put a character (instead of its
  544.                   ASCII number) in the file, you must precede it with a
  545.                   backslash (\). "Escape E", therefore, could also be
  546.                   written: 27,\E.
  547.  
  548.               (c) The numbers must be separated with commas.  There must be
  549.                   no spaces in the string.
  550.  
  551.               (d) At any point in the ON sequence, a Dollar sign with a
  552.                   numeral ($1 to $4) or a pound sign (#) will tell PrnSet
  553.                   to get a number from the user for the instruction (like
  554.                   LMargin).  "#" tells PrnSet to get the number in the form
  555.                   of a byte.  "$n" tells it to get the number in the form
  556.                   of a string of n numerals.  If necessary, zeros will be
  557.                   prefixed to make up the n characters: given $4, PrnSet
  558.                   will turn the entry "23" into "0023".
  559.  
  560.               (e) After the first string, you can put a space followed by a
  561.                   second string of numbers to provide a turn-OFF instruc-
  562.                   tion.  If there's no OFF string, then:
  563.  
  564.                     - If the instruction takes a number (ON string contains
  565.                       # or $n), PrnSet will send ON 0 for off.  (That would
  566.                       work for Left Margin, but not for Right Margin.)
  567.  
  568.                     - If it doesn't take a number, PrnSet will send no OFF
  569.                       signal at all.  It will toggle between ON and silent.
  570.                       (That's how "Pica" and "Elite" work on Epsons.)
  571.  
  572.            4. Comments: Two kinds of comment are possible:
  573.  
  574.               (a) Semicolons and anything on a line after a semicolon will
  575.                   be ignored altogether, so you can use semicolons to put
  576.                   REMarks in your file.  Blank lines also are ignored.
  577.           -----------
  578.  
  579.  
  580.           4. If you prefer to use hex numbers or to enter (most) characters
  581.              directly, there's a way to do it.  See Section 4.1, on "Hex
  582.              Numbers and Characters," p. 10 below.
  583.           PrnSet: Making a Data File for Your Printer               Page 10
  584.  
  585.  
  586.               (b) You can put comments in the menu itself in the form of
  587.                   subheadings in the columns --labels, divider lines and
  588.                   such.  To do this, begin the line with an @ sign.  A lone
  589.                   @ sign causes a blank row in the menu.  An @ sign follow-
  590.                   ed by a single character makes a row of that character:
  591.                   @- would produce a line of hyphens, -------, across the
  592.                   menu column.  If you put more than one character (you're
  593.                   allowed up to 12) after the @, PrnSet will center the
  594.                   text in the column.
  595.  
  596.  
  597.           4.1  Using Hex Numbers and Characters          4.1  Using Hex Numbers and Characters
  598.  
  599.  
  600.               As explained above, PrnSet normally accepts only decimal num-
  601.           bers, separated by commas, in the data file.  Some people may
  602.           prefer Hex numbers (if nothing else, they're shorter), and some
  603.           may want to enter the characters directly.  To make PrnSet accept
  604.           data in these forms, you put a dollar sign on the end of the
  605.           Title string (the first string in the data file), followed by a
  606.           code letter.  In brief, the codes are:
  607.  
  608.                   $H =  Use hex numbers (wherever you need numbers)
  609.                   $C =  Use characters (or decimal numbers after a backslash)
  610.           $HC or $CH =  Use characters (or hex numbers after a backslash)
  611.  
  612.           The $H tail won't show, of course; PrnSet will bobtail the title
  613.           string at the $.  Notice that you get your choice of decimal or
  614.           hex numbers, but you must stick to one or the other.  You can't
  615.           put both hex and decimal numbers in the same data file.
  616.  
  617.               If you prefer to use characters for most of your entries, you
  618.           put $C after the title string.  This mode is a little tricky.
  619.           Some characters, like "E" are easy to enter, but some, like "Es-
  620.           cape" are not.  What and how you can put these into the file de-
  621.           pends on your editor.  If necessary, you can use the backslash to
  622.           enter by the ASCII numbers.  In character mode, to enter "Escape
  623.           E" you might use \027E.  Notice two things about this.  First,
  624.           there are no commas separating the characters.  Second, the Es-
  625.           cape character is represented with three digits.  In this mode,
  626.                    _____          the next three digits after a backslash are taken to be the ASCII
  627.           number called for.  For numbers smaller than 100, you must add a
  628.           leading zero or two to pad it out to 3 places.  If you like Hex
  629.           numbers, $CH or $HC sets PrnSet for characters or backslashes
  630.                                                                  ___          followed by hex numbers.  In hex, you must use exactly two digits
  631.           for each number; "Escape E" could now be entered as \1BE.[5]
  632.  
  633.               Keep in mind that in character mode, some characters can't be
  634.           entered straight.  You can't enter a carriage return, because
  635.                                          _____          that ASCII number would merely cause a carriage return and ter-
  636.           -----------
  637.  
  638.  
  639.                                            ___          5. If your editor can do it, you can put a genuine "escape"
  640.              character (#27, 1B hex) or maybe a line-feed (#10, 0A hex) or
  641.              form-feed (#12, 0C hex) in the file.  Don't try to copy such a
  642.              file to the printer, though.
  643.           PrnSet: Using Hex Numbers and Characters                  Page 11
  644.  
  645.  
  646.           minate the line at that point.  Nor can you enter a blank space,
  647.           because a blank space is PrnSet's string terminator sign, and
  648.           would be construed merely as the end of the string.  So too, the
  649.           dollar sign, the pound (#) sign, and the backslash all have spec-
  650.           ial meanings.  You must enter these numerically or precede them
  651.           with a backslash:
  652.  
  653.                   Form-Feed:       \012 (dec)  \0C (hex)
  654.                   Carriage Return: \013        \0D
  655.                   Escape:          \027        \1B
  656.                   Blank Space: \   \032        \20
  657.                   Pound:       \#  \035        \23
  658.                   Dollar:      \$  \036        \24
  659.                   Backslash:   \\  \092        \5C
  660.  
  661.           To see how these data forms look, compare three of the supplied
  662.           printer files: LQ-800.DAT is the data file I use myself for an
  663.           Epson LQ-800. LQ-800H.DAT and LQ-800HC.DAT are exactly equivalent
  664.           files, in hex and characters-with-hex-number form.
  665.  
  666.  
  667.  
  668.           4.2  Helpful Hints About Data Files          4.2  Helpful Hints About Data Files
  669.  
  670.  
  671.               To see how a file should look, see any of the printer DAT
  672.           files supplied as a model.  A few hints:
  673.  
  674.               - Each category will occupy one column on the menu, and it
  675.                 can have 17 instruction lines.  If you need more than that,
  676.                 you'll have to devote a second category like "Fonts" and
  677.                 "Fonts Cont'd".
  678.  
  679.                 You can overdo the use of @ sign lines to make sub-headings
  680.                 on the screen; each of them uses up one of the 17 lines in
  681.                 the column.
  682.  
  683.               - Remember that the order in which you put things in the data
  684.                 file is the order in which they will appear on the screen,
  685.                 and that is the order in which (in the menu mode) they'll
  686.                 go to the printer. Consider what must be done before what.
  687.                 If you use a tab set, it may matter whether you send it
  688.                 before or after a font width change.  Put "Reset Printer"
  689.                 first.  (Pointless to send other things and then reset, but
  690.                 you may want to reset and then send.)
  691.  
  692.               - Be careful what names you use.  PrnSet recognizes only the
  693.                 first 2 characters for command line entries or keyboard
  694.                 interaction.  (It's not case-sensitive; upper and lower
  695.                 case count the same.) If you use "Superscript" and "Sub-
  696.                 script", PrnSet will treat them both as "SU" and you'll get
  697.                 whichever comes first.  That's why my PRNSET.DATs call them
  698.                 "SperScript" and "SbScript".
  699.  
  700.               - It's tempting to put everything the printer can do into
  701.                 your data file.  It may be better to keep the menu clean.
  702.                 If you never use international alphabets, why clutter the
  703.           PrnSet: Helpful Hints About Data Files                    Page 12
  704.  
  705.  
  706.                 menu with them?  It's easy to edit your data file if you
  707.                 need to expand your offering. You can make several files
  708.                 for different purposes.  Call for the one you want on the
  709.                 command line or copy it to PRNSET.DAT.
  710.  
  711.                 Some of the ready made DAT supplied on the disk are ones
  712.                 I've used.  Those printers will do lots of things I never
  713.                 wrote into the file, because so far I'm not using them.
  714.                 Explore your printer manual.
  715.  
  716.               - You can, in a sense, create features your printer doesn't
  717.                 have by combining instructions it does have.  For instance,
  718.                 my LQ-800.DAT (for an Epson LQ-800) contains:
  719.  
  720.                     Manual Style= 27,103,27,48  27,80,27,50
  721.                     Very Small= 27,83,0,27,80,15,27,51,16  27,50,18,27,84
  722.                     Tiny= 27,83,0,27,77,15,27,51,16  27,50,18,27,80,27,84
  723.  
  724.                 "Manual Style" is 15 char/inch and 8 lines/inch, which just
  725.                 puts an 8.5" x 11" pica layout onto a 5.5" x 8.5" page for
  726.                 IBM manual size binders (provided the file is paged with
  727.                 FF's).  "Very Small" and "Tiny" are both superscript at
  728.                 16/180 inches per line.  "Very Small" uses condensed pica
  729.                 at 17 characters per inch, while "Tiny" puts 20 by using
  730.                 condensed elite.  I may have overdone it.
  731.  
  732.               - If you have trouble, you can make PrnSet report exactly
  733.                 what data it's getting from your file.  It puts the report
  734.                 in a file, PRNSET.LST, and it's not a bad idea, whenever
  735.                 you make a data file, to see what PRNSET.LST will show.
  736.                 See Section 5.3, p. 15 below.
  737.  
  738.  
  739.  
  740.           4.3  Two Special Codes          4.3  Two Special Codes
  741.  
  742.  
  743.  
  744.           4.3.1  Printer Reset          4.3.1  Printer Reset
  745.  
  746.  
  747.               A printer "reset" or "initialization" is supposed to restore
  748.           all the printer's default settings; that is, the condition it's
  749.           in when first turned on.  There are two ways to do this:
  750.  
  751.           __ _________          In Hardware: There is a signal the computer can send which is
  752.               supposed to re-initialize the printer.  When this happens,
  753.               you can see and hear the printer do a front-and-center, ex-
  754.               actly as it does when you turn it on.
  755.  
  756.               PrnSet has a special code, 0 0 0, for this.
  757.  
  758.                  Init Printer= 0,0,0
  759.  
  760.               in PRNSET.DAT, will put "Init Printer" into the menu.  When
  761.               you send it, PrnSet will send the hardware reset signal, and
  762.               you should hear the click-jump as the printer sets itself up.
  763.           PrnSet: Printer Reset                                     Page 13
  764.  
  765.  
  766.           __ ________          In Software: Some Printers have a reset instruction which you can
  767.               send as you send any other printer instruction.  Almost any
  768.               Epson can be reset in this way by Esc "@" (27,64).  A soft-
  769.               ware reset is usually silent.
  770.  
  771.               To use this kind of reset, you put it into PRNSET.DAT like
  772.               any other instruction.  If your printer has no software reset
  773.               instruction, you can make a sort of reset instruction by mak-
  774.               ing a string that turns off everything you might have turned
  775.               on.  PrnSet will accept up to 40 numbers per instruction.
  776.  
  777.               Experiment to see which of these methods you want.  You may
  778.           want both of them; they have somewhat different effects.  On an
  779.           Epson, a software reset wipes out all instructions but does not
  780.           remove a downloaded software font; a hardware reset wipes out
  781.           everything.  Hardware resets may not work, however, if you use a
  782.           printer buffer.  Further, PrnSet's 0,0,0 hardware reset instruc-
  783.           tion operates only when you are sending to the printer.  It does
  784.           nothing when you've redirected output to a file (or to "PRN");
  785.  
  786.  
  787.           4.3.2  Keyboard Entry on the Fly          4.3.2  Keyboard Entry on the Fly
  788.  
  789.  
  790.               Occasionally, you may want to send a string of instructions
  791.           you never thought to put in your data file.  Beginning with ver-
  792.           sion 2.92, you can make a menu item to let you do it.  If you put
  793.           ____          four zeros, 0,0,0,0, for an ON string (and leave out the off
  794.           string), PrnSet will let you enter numbers for it when you turn
  795.           it ON in the menu.[6]  Put something like this in the data file:
  796.  
  797.              Keyboard= 0,0,0,0
  798.  
  799.           That'll put an item named "Keyboard" on your menu.  When you turn
  800.           it on, it will prompt you for a string.  You must use the same
  801.           format (hex or decimal numbers, with or without characters) as
  802.           your data file, and the prompt will remind you what that is. If
  803.           you want to repeat that sequence, turn on "Keyboard" again. It
  804.           will pop up showing the string you gave it before; you can change
  805.           it, or press <Enter> to keep it and continue.
  806.  
  807.               What pops up isn't a simple replica of what you entered.
  808.           It's translated back from what PrnSet extracted from your string.
  809.           To make sure that PrnSet understood, press <Enter> a couple of
  810.           times, and you'll see what actually went in.
  811.  
  812.               Like any other datum, PrnSet will file what's in "Keyboard"
  813.           whenever you press F10 in the Reconfiguration Menu to file your
  814.           data to PRNSET.LST (see page 15 about filing data this way).  If
  815.           you change the data form when when you file PRNSET.DAT, by the
  816.  
  817.           -----------
  818.  
  819.  
  820.           6. 0,0,0,0 would be right in pure number modes.  In Characters
  821.              with Hex, it would be \00,\00,\00,\00 and \000,\000,\000,\000
  822.              in Characters with decimal.
  823.           PrnSet: Keyboard Entry on the Fly                         Page 14
  824.  
  825.  
  826.           way, the change will hold true for data entry and display for
  827.           "Keyboard".
  828.  
  829.               This feature is available only from the menu.  You can't call
  830.           for it from the command line.
  831.  
  832.  
  833.                           5  Screen Colors and Other Things                          5  Screen Colors and Other Things
  834.  
  835.  
  836.               PrnSet has a built-in reconfiguration procedure.  From its
  837.           regular menu, press F3, and you'll get a different menu:
  838.  
  839.           -------------------------------------------------------------
  840.           |                                                           |
  841.           |                   Reconfiguration Menu                    |
  842.           |                                                           |
  843.           |                   F1   Emphasized   F2                    |
  844.           |                                                           |
  845.           |                   F3   Plain Text   F4                    |
  846.           |                                                           |
  847.           |                   F5     Frame      F6                    |
  848.           |                                                           |
  849.           |                   F7    Reversed    F8                    |
  850.           |                                                           |
  851.           |          To adjust foregrounds use F-keys plain           |
  852.           |          For backgrounds, use Ctrl with F-keys            |
  853.           |                                                           |
  854.           |              To file current data press F10               |
  855.           |                                                           |
  856.           | <Esc> cancels changes       To accept the colors: <Enter> |
  857.           |                                                           |
  858.           -------------------------------------------------------------
  859.  
  860.           From this menu, you can do two things.  You can adjust the color
  861.           scheme, and you can make a record of the printer data read from
  862.           the .DAT file to help debug a new .DAT file.
  863.  
  864.  
  865.           5.1  Screen Colors          5.1  Screen Colors
  866.  
  867.  
  868.               At the Reconfiguration Menu, press the indicated function
  869.           keys and the menu will change colors to show what you've done.
  870.           The colors cycle.  Odd-numbered keys (F1, F3, F5) take you round
  871.           the cycle one way; even-numbered keys go around the other way.
  872.           Pressing the keys plain adjusts foreground colors.  To adjust
  873.           backgrounds, hold down Ctrl while you press the keys. Experiment.
  874.           What looks best depends on your taste and your monitor.  Here are
  875.           two settings I like:
  876.  
  877.               Plain text:      Green on Black     White on Blue
  878.               Emphasized:      White on Black     Yellow on Blue
  879.               Frame:           Black on Brown     Black on Cyan
  880.               Reversed:        Black on White     Black on White
  881.           PrnSet: Screen Colors                                     Page 15
  882.  
  883.  
  884.               When you like the setting, press <Enter>.  Before it lets you
  885.           out, PrnSet will ask
  886.  
  887.                        Record this setting permanently? (Y/N)
  888.  
  889.           If you press Y, PrnSet will make the change permanent by rewrit-
  890.           ing part of PRNSET.EXE.  This works only if PRNSET.EXE is on the
  891.           default drive:\directory, so make sure you have it there when you
  892.           want to reconfigure.  If they are on the default drive:\direc-
  893.           tory, PrnSet will also set colors in PAGINA.EXE, PRN2BOTH.EXE,
  894.           MANGLER.EXE.  (COUNTPGS.EXE and Terse have nothing to set; they
  895.           use whatever color they finds on the screen.)
  896.  
  897.  
  898.           5.2  If You Need Black & White:          5.2  If You Need Black & White:
  899.  
  900.  
  901.               If your monitor is a monochrome MDA type, PrnSet will auto-
  902.           matically set the colors to black-and-white when it starts. You
  903.           can still change "colors" with the Reconfiguration menu. This
  904.           could matter if you want PrnSet to whiten its friends, Mangler,
  905.           Pagina, and Prn2Both.  Go into the Reconfig menu and change any
  906.           color to something else and back (say, punch F1 and then F2).
  907.           That makes PrnSet think you've changed something; when you press
  908.           <Enter>, it'll go into its act and redo all the files.
  909.  
  910.               If you have a black and white or a gray scale monitor, like
  911.           many of the laptop/notebook computers, it may be difficult to see
  912.           the display.  Go to the "colors" configuration screen (that is,
  913.           press F3) and press any F-key, F1 to F8, until the screen comes
  914.                                      ___          clear.  The trick is, turn any foreground black, and PrnSet will
  915.           offer a straight white on black screen.  It will startle you if
  916.           it happens when you're using a color screen.  Fear not.  Punch
  917.           again, and it will go back to color.
  918.  
  919.  
  920.           5.3  Debugging Help          5.3  Debugging Help
  921.  
  922.  
  923.               When you're writing a printer data file, mistakes are easy to
  924.           make and often curiously hard to spot.  For this reason, I've
  925.           left a debugging feature in the program.
  926.  
  927.               If PrnSet is unable to load its data because of a defect in
  928.           the .DAT file (too much data, too many categories, etc.) it will
  929.           create a file called PRNSET.LST on the default drive:\directory
  930.           containing a record of the data it succeeded in getting.  In such
  931.           a case, the  data in PRNSET.LST will be in the same format (hex
  932.           or decimal numbers, with or without characters) as the .DAT file.
  933.           (If it isn't, the title or its $ string must be missing, erron-
  934.           eous, or preceded by a semi-colon.)  If the data loads all right
  935.           but the printer doesn't seem to be doing what you meant, you can
  936.           force PrnSet to create a PRNSET.LST by pressing F10 at the Recon-
  937.           figuration Menu.  You get a chance, then, to change the form of
  938.           the data.  If you wrote the DAT file in numbers, it may be help-
  939.           ful to see them printed out as characters.
  940.           PrnSet: Debugging Help                                    Page 16
  941.  
  942.  
  943.               PRNSET.LST should contain the title, The data format option
  944.           (decimal/hex numbers and characters/numbers), each of your categ-
  945.           ory names, and all the instructions.  For each instruction, you
  946.           see
  947.  
  948.             o its name.
  949.  
  950.             o the two-character key PrnSet has constructed for it.  (If
  951.               this key duplicates something above, you'll get a warning,
  952.               pointing it out.)
  953.  
  954.             o If the instruction is an @ sign sub-head marker, you'll find
  955.               "Subhead Marker: " followed by the marker it makes.  Other-
  956.               wise, you're told:
  957.  
  958.                 - whether it takes a number, some numeral characters or
  959.                   nothing at all.
  960.  
  961.                 - the turn-on and turn-off instructions.  The format of
  962.                   these will follow the format of a data file as near as
  963.                   possible.  In numerical format, the numbers will be sep-
  964.                   arated with commas.  In character format, you may find
  965.                   that things you entered with numbers turn up as charac-
  966.                   ters and vice versa.  Two special cases:
  967.  
  968.                   The Escape character (#27) is represented as "<Esc>".  To
  969.                   avoid confusion, if a real 5-character sequence, "<Esc>"
  970.                   happens to occur, it will be displayed as "\060Esc\062"
  971.                   (in decimal) or "\3CEsc\3E" (if you asked for hex).
  972.  
  973.                   In the place where run-time numbers are inserted, you
  974.                   should find a "#" if the instruction takes a number; if
  975.                   it takes numerals, there'll be dollar signs: "$$" means
  976.                   two numerals, "$$$" means three, etc.  If you need real #
  977.                   or $ signs in your file, you'll have entered them either
  978.                   as numbers or with a preceding "\", and that's how
  979.                   they'll be in PRNSET.LST.
  980.  
  981.           These data should all be the same as what you've put in your data
  982.           file, of course, but they aren't just reprinted from your file.
  983.           They're reconstructed from the data as PrnSet absorbed it, so you
  984.           can tell what's going down properly and what isn't.
  985.           PrnSet: Update History                                    Page 17
  986.  
  987.  
  988.  
  989.  
  990.                              Appendix A:  Update History                             Appendix A:  Update History
  991.  
  992.  
  993.           Version 1.1 December, 1986
  994.  
  995.           Okidatas, it turns out, want certain  numbers (left margin, for
  996.           instance) entered as strings of numerals.  So provided in 1.1.
  997.           Also, provision made for comments in data file.
  998.  
  999.  
  1000.           Version 1.2 February, 1987
  1001.  
  1002.           Minor change: screen colors specified with typed constants.
  1003.           Colors can be jiggered with DEBUG or disk editor without source
  1004.           code or Turbo compiler.
  1005.  
  1006.  
  1007.           Version 1.3 June, 1987
  1008.  
  1009.           Another minor change to make recovery from off-line printer more
  1010.           graceful.  A minor cost for this is giving up the option to
  1011.           redirect output to a file by changing a constant in the source.
  1012.  
  1013.  
  1014.           Version 1.4 November, 1987
  1015.  
  1016.           Reconfiguration option added, so user no longer needs source
  1017.           code.  Just to be sure, maximum length of print control strings
  1018.           is increased from 24 to 40.  Help screen prettied up some, too.
  1019.  
  1020.  
  1021.           Version 1.5  Also November, 1987
  1022.  
  1023.           Screens more polished, and reconfiguration can be done from
  1024.           inside PrnSet.
  1025.  
  1026.               {========================================================}
  1027.               {  The less said about versions 1.6 and 2.0 the better.  }
  1028.               {========================================================}
  1029.  
  1030.           Version 2.1  December, 1987
  1031.  
  1032.           Rewritten in Turbo Pascal 4; smoothed and slightly shrunk; now
  1033.           makes an .LST record automatically if error prevents loading
  1034.           data.  Reconfiguration procedure simplified.
  1035.  
  1036.  
  1037.           Version 2.2  March, 1988
  1038.  
  1039.           Better handling of disk and printer errors.  Reconfiguration also
  1040.           recolors E88.EXE if it's on the default drive.
  1041.           PrnSet: Update History                                    Page 18
  1042.  
  1043.  
  1044.           Version 2.3  August, 1988
  1045.  
  1046.           New function: copy a file to PRN without leaving PrnSet. Block-
  1047.           Reads files for speed.  Handles lines of any length.
  1048.  
  1049.  
  1050.           Version 2.4  August, 1988
  1051.  
  1052.           Uses an inline "BlockPrint" procedure to feed text to printer via
  1053.           INT 17h.  Much faster, though less ingenious than 2.3's method.
  1054.  
  1055.  
  1056.           Version 2.5 August, 1988 (busy month)
  1057.  
  1058.           Output can be redirected to a file.
  1059.  
  1060.  
  1061.           Version 2.6 September, 1988
  1062.  
  1063.           Debugged a loose cannon in the BlockPrint routine. Redirected
  1064.           output was fine; bug showed only when printing to paper.
  1065.  
  1066.  
  1067.           Version 2.61 October, 1988
  1068.  
  1069.                               ___          2.5 and 2.6 checked too thoroughly for printer error.  Most
  1070.                                                                   ___          printers never "acknowledge."  Should be ignored. Maybe now
  1071.           PrnSet will let the message through.
  1072.  
  1073.  
  1074.           Version 2.70 October, 1988
  1075.  
  1076.           Various versions of 2.6 had various unreliabilities, mostly in
  1077.           copying files.  These are now (I hope) fixed, and the error trap-
  1078.           ping is somewhat improved.  Yes, you can BlockWrite to a text
  1079.           device if you Reset or Rewrite to RecSize 1.
  1080.  
  1081.           PRN, LPT2,and LPT3 get special treatment.  I'd appreciate word
  1082.           from anyone who's tried Prnset on a serial printer.
  1083.  
  1084.  
  1085.           Version 2.71 November, 1988
  1086.  
  1087.           Wildcards (* and ?) can now be used in file names.  Smoothed
  1088.           error messages and bulletproofed as far as I can, but you can
  1089.           still make a mess by opening the drive door in the middle of a
  1090.           write.
  1091.  
  1092.  
  1093.           Versions 2.72 & 2.73 December, 1988
  1094.  
  1095.           Trivial changes, mainly in getting file names from user and pre-
  1096.           serving data in bungled output files.
  1097.           PrnSet: Update History                                    Page 19
  1098.  
  1099.  
  1100.           Version 2.80 March, 1989
  1101.  
  1102.           Some associated text file tools added: Pagina, Prn2Both, Mangler,
  1103.           & CountPgs (which has been around for a while).  The only change
  1104.           in PrnSet proper is the ability to re-color its "friends" if they
  1105.           are on the drive:\directory when the reconfig function is run.
  1106.  
  1107.  
  1108.           Version 2.81 April, 1989
  1109.  
  1110.           Cured a 2.80 bug (wouldn't file data for debugging) and added a
  1111.           DOS door.  2.81a slightly smooths and bulletproofs it.  2.81b & c
  1112.           smooth screen attribute handling on monochrome monitor.
  1113.  
  1114.  
  1115.           Version 2.82 June, 1989
  1116.  
  1117.           Hardware reset capability added along with some complications
  1118.           (they may be improvements) in checking for missing or off-line
  1119.           printer.
  1120.  
  1121.           Serious bug in file printing routine repaired.  (It wouldn't work
  1122.           without a printer buffer.)
  1123.  
  1124.           2.82 makes an improvement but not a full cure.  The problem is
  1125.           when to check printer status and when NOT to check.  Versions
  1126.           2.83 and 2.84 make further improvements.  2.85 fixes 2.82-intro-
  1127.           duced bungle about command line instructions and removes Ctrl-Z
  1128.           from end of file being printed or copied. (Matters only when
  1129.           output is redirected to file.)
  1130.  
  1131.  
  1132.           Version 2.86 January, 1990
  1133.  
  1134.           Repairs a bug in the path-searching routine (it would hang when
  1135.           trying to read an environment string more than 255 characters
  1136.           past the beginning of the environment).
  1137.  
  1138.           2.86b adds a correction to the path searching routine to make
  1139.           sure it doesn't overlook the default drive.  2.86c cures a VGA
  1140.           cursor bug.  2.86d enlarges the title string to 18 characters.
  1141.           2.86e sends output to standard output and/or standard error when
  1142.           bypassing the menu.
  1143.  
  1144.  
  1145.           Version 2.90 November, 1990
  1146.  
  1147.           To accommodate H-P printers, numbers or numerals entered at run-
  1148.           time can be put anywhere in the instruction's ON string (instead
  1149.           of only at the end).
  1150.  
  1151.           Labels and dividers can be put into the menu columns to mark sub-
  1152.           heads.
  1153.           PrnSet: Update History                                    Page 20
  1154.  
  1155.  
  1156.           Version 2.91 September, 1991
  1157.  
  1158.           Data files can be made with hex numbers (instead of decimals) or
  1159.           direct characters.  PRNSET.LST debugging information file warns
  1160.           of duplicate instruction ID's.  2.91a cleans up the treatment of
  1161.           the "Escape" character in PRNSET.LST. 2.91b & 2.91c neaten up
  1162.           PRNSET.LST.  2.91d uses "Reversed" color for text entry field
  1163.           instead of reverse of "Normal".  Also fixes buglet about blanks
  1164.           in instruction names
  1165.  
  1166.  
  1167.           Version 2.92 June, 1992
  1168.  
  1169.           New function: It's now possible to make a menu item that accepts
  1170.           direct entry of keystrokes from the keyboard.  To check these,
  1171.           you can now file data into PRNSET.LST repeatedly.  (Each over-
  1172.           writes the last, though.)  2.92a fixes a bug in the handling of
  1173.           errors in direct entry.
  1174.  
  1175.  
  1176.           Version 2.93 October, 1992
  1177.  
  1178.               Bug repair: File copy can access Read Only files.  (Turbo
  1179.           Pascal's reset balks at read only non-text files.)  2.93 re-
  1180.           repairs this bug the right way (it's really only a documentation
  1181.           fault).
  1182.  
  1183.           Version 2.93b January, 1993
  1184.  
  1185.               Minor bug fix to prevent reconfig function from trying to
  1186.           work on compressed (PKLITE or LZEXE) files.  An important change,
  1187.           however is that E88, the text editor in the "PrnSet & Friends"
  1188.           package, has been replaced by Terse (T.COM).  Terse can handle
  1189.           bare CR's.
  1190.           PrnSet: Update History                                    Page 21
  1191.  
  1192.  
  1193.  
  1194.  
  1195.           Version 2.94 June, 1993
  1196.  
  1197.               At the color configuration screen, turning any foreground
  1198.           color black gets you a black-and-white screen, thus punching F-
  1199.           keys on an invisible screen eventually makes it visible.  Added
  1200.           this feature after seeing what happens on a black-and-white
  1201.           laptop screen.
  1202.  
  1203.  
  1204.                               Appendix B:  About Updates                              Appendix B:  About Updates
  1205.  
  1206.  
  1207.               Updates to my programs appear irregularly and sometimes fre-
  1208.           quently, as bugs or suggestions are brought to my attention.
  1209.           Since I make no charge for these things, I can't afford to send
  1210.           updates to every software library and BBS which may be carrying
  1211.           them.  As of this writing, one place I do make an effort to keep
  1212.           up to date is Nelson Ford's "Public (software) Library."  The
  1213.           address is:
  1214.  
  1215.                             The Public (software) Library
  1216.                                    P.O. Box 35705
  1217.                                Houston, TX 77235-5705
  1218.  
  1219.           Since the PsL is prompt both in updating their material and in
  1220.           filling their orders, they're one place where you can be sure of
  1221.           getting my latest efforts.  It is not unethical to take my pro-
  1222.                                                                __          grams off a PsL disk and package them yourself.  (It is unethical
  1223.           and probably illegal to copy the whole PsL disk including other
  1224.           programs and the PsL's own explanatory files and programs.)
  1225.  
  1226.               Of course, people who send me useful suggestions and bug
  1227.           reports are liable to be sent a copy of the fix (if I can make
  1228.           one).  They are also liable to be drafted into my Beta Testing
  1229.           Division.
  1230.  
  1231.  
  1232.                                      Programmer: R. N. Wisan, January, 1993
  1233.                                       37 Clinton Street, Oneonta, NY, 13820
  1234.                                               internet: wisanr@hartwick.edu
  1235.           PrnSet 2.94                                                Page i
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.                                         Contents                                        Contents
  1243.  
  1244.  
  1245.  
  1246.  
  1247.                   1  What PrnSet is  . . . . . . . . . . . . . . . . 1
  1248.                   2  Setting up: The Files . . . . . . . . . . . . . 1
  1249.                   3  Running PrnSet  . . . . . . . . . . . . . . . . 3
  1250.                      3.1  The Interactive Mode . . . . . . . . . . . 3
  1251.                         3.1.1  Setting the Printer                   4
  1252.                         3.1.2  Printing and Sending to Files         5
  1253.                         3.1.3  Stepping Briefly into DOS             6
  1254.                      3.2  The Command Line Mode  . . . . . . . . . . 6
  1255.                   4  Making a Data File for Your Printer . . . . . . 8
  1256.                      4.1  Using Hex Numbers and Characters . . . .  10
  1257.                      4.2  Helpful Hints About Data Files . . . . .  11
  1258.                      4.3  Two Special Codes  . . . . . . . . . . .  12
  1259.                         4.3.1  Printer Reset                        12
  1260.                         4.3.2  Keyboard Entry on the Fly            13
  1261.                   5  Screen Colors and Other Things  . . . . . . .  14
  1262.                      5.1  Screen Colors  . . . . . . . . . . . . .  14
  1263.                      5.2  If You Need Black & White: . . . . . . .  15
  1264.                      5.3  Debugging Help . . . . . . . . . . . . .  15
  1265.                   Appendix A:  Update History  . . . . . . . . . .  17
  1266.                   Appendix B:  About Updates . . . . . . . . . . .  21