home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / wordperf / wptools5.arc / WPTOOLS5.DOC < prev   
Encoding:
Text File  |  1990-02-11  |  73.2 KB  |  1,741 lines

  1. Copyright (c) 1988 - 1990 by David Seidman
  2. February 11, 1990
  3.  
  4.                           WPTOOLS VERSION 5
  5.  
  6. INTRODUCTION
  7.  
  8.  
  9. WPTOOLS Version 5 is a collection of utility programs for use with
  10. WordPerfect Versions 5.0 and 5.1 (WP50, WP51, or, collectively, WP5).
  11. Some may also be used with PlanPerfect 5.0 (PP5) and may work with
  12. files from other recent or forthcoming WordPerfect Corp. products.
  13. The shareware distribution consists of a what's new file, this
  14. documentation, and fourteen programs:  DISKFONT, FIXPRE, FONTFILE,
  15. FONTLIST, IS5XDOC, LISTMACS, MAKETABS, MERGESUM, PRINTIT, PRSFONTS,
  16. STYLIST, WHATPTRS, WP5LOOK, and WPSNOOP.  Users who pay the license
  17. fee also receive Supplemental Tools, now six additional programs:
  18. COMMENTS, ENDFOOT, MASTER, STYLEUSE, TARGETS, and WPGSIZE.  WPDOCS.NB,
  19. a WordPerfect Library Notebook file written by Barry Zimmerman, and
  20. WPDOCS2.NB are distributed with WPTOOLS for use with MERGESUM.
  21.  
  22.  
  23. Briefly, this is what the WPTOOLS and Supplemental Tools programs do:
  24.  
  25.  
  26. COMMENTS  Reads a WP5 document file, extracts the comments, and writes
  27.           them to standard output.
  28.  
  29. DISKFONT  Searches a directory for specified soft font files and,
  30.           optionally, lists descriptive information about the fonts it
  31.           finds.
  32.  
  33. ENDFOOT   Converts all footnotes (endnotes) to endnotes (footnotes),
  34.           changing automatic references appropriately.
  35.  
  36. FIXPRE    Removes deleted (and optionally other) data packets from the
  37.           prefix of WP5 document files and removes deleted data
  38.           packets from WP5 setup files (WP{WP}.SET).  For document
  39.           files, this will often facilitate changing the printer
  40.           driver used with the file and shrink the file.  Setup files
  41.           grow as you modify your setup; FIXPRE shrinks them again.
  42.           And FIXPRE sometimes helps when WP5 just seems to be acting
  43.           strangely.  Optionally deletes styles, initial codes.  Also
  44.           works with PP5 set files, and perhaps with set files from
  45.           other forthcoming WPCorp programs.
  46.  
  47. FONTFILE  Lists the file names of the soft font files specified in a
  48.           PRS file.
  49.  
  50. FONTLIST  Lists the names of the fonts used in a WP5 document and the
  51.           PRS file the document calls for.
  52.  
  53. IS5XDOC   Identifies WP5 document files.  Useful in batch files.
  54.  
  55. LISTMACS  Lists the names and descriptions of macros in WPM and WPK
  56.           files (and the keys for WPK macros), optionally sorted.
  57.           Also works with PP5 macro and keyboard files.
  58.  
  59. MAKETABS  Converts an ASCII text file to a WP50 document, replacing
  60.           spaces by tabs.  Used with columnar material.
  61.  
  62. MASTER    Reads a WP5 master document and lists the unexpanded
  63.           subdocuments it calls for.
  64.  
  65. MERGESUM  Creates (or adds to) a WP50 secondary merge file, each
  66.           record containing the information from a WP5 document
  67.           summary (or, optionally, the first 400 or so characters of a
  68.           document if no summary was created), along with information
  69.           from the DOS file directory.  In effect, creates a database
  70.           of document summaries that can be processed using the WP5
  71.           Merge and Sort functions, or WordPerfect's Notebook program.
  72.  
  73. PRINTIT   Paginates and formats an ASCII text file for printing.
  74.  
  75. PRSFONTS  Lists and optionally numbers the names of the fonts
  76.           available in a WP5 PRS file.
  77.  
  78. STYLIST   Lists names and descriptions of styles, optionally sorted.
  79.  
  80. STYLEUSE  Lists the styles used in the text of a document.  Lists the
  81.           styles found in the prefix but not used in the document.
  82.           Optionally deletes unused (or all) styles from the prefix.
  83.           Optionally deletes style on and off codes from the text of a
  84.           document, leaving the codes added by the style.
  85.  
  86. TARGETS   Lists the automatic reference targets and references in a
  87.           WP5 document file, indicating unreferenced targets and
  88.           references to nonexistent targets.
  89.  
  90. WHATPTRS  Lists the printers described in ALL files, optionally sorted
  91.           by printer name.
  92.  
  93. WP5LOOK   Displays one or more WP5 document files specified on the
  94.           command line (or piped to the program).  Particularly
  95.           because files can be specified with wildcards, WP5LOOK may
  96.           be more convenient than WP5 itself for browsing through WP5
  97.           documents.
  98.  
  99. WPGSIZE   Extracts and lists the dimensions of the image coordinate
  100.           space for WPG files.  Useful in getting the aspect ratio
  101.           right.
  102.  
  103. WPSNOOP   Determines, in greater or lesser detail, the file type of
  104.           many, but not all, files associated with recent WordPerfect
  105.           Corporation products.  For WP5 document files, lists the
  106.           document summary and the PRS file.  For macro files, lists
  107.           the description.  Optionally reveals the structure of WP5
  108.           document file prefixes and of set file prefixes.
  109.  
  110.  
  111. More detail is given below.  In most cases, running the program from
  112. the DOS command line without any parameters specified will produce a
  113. brief explanation of program usage.
  114.  
  115. WPCorp has no connection with these programs, except that it provided
  116. the technical information necessary to write some of them.
  117.  
  118.  
  119.         .......................................................
  120.                      Note on Other WPCorp Programs
  121.  
  122. PP5 uses the same ALL and PRS files as WP50.  PP5's setup, macro,
  123. and keyboard files share a file structure with WP5.  The WPTOOLS
  124. programs that work with such files work with both WP5 and PP5 files.
  125. WPCorp probably will use similar file structures for other programs,
  126. so WPTOOLS should work with them too.
  127.  
  128. This documentation does not always indicate whether a particular
  129. program works with files from WPCorp programs other than WP5.  When in
  130. doubt, give it a try.  But WPTOOLS does not work with early WPCorp
  131. program files, such as WP4.x, DataPerfect in all versions released so
  132. far, or the programs in the versions of Library released so far.
  133.  
  134.         .......................................................
  135.  
  136.  
  137.                        Notes on Input and Output
  138.  
  139. You normally supply these programs with one or more input file names
  140. ("Infile") and sometimes an output file name ("Ofile") on the DOS
  141. command line.  The file name may always include drive and path
  142. specifications.  The individual program descriptions mention where
  143. wildcards (* and ?) can be used.  Several programs supply default
  144. extensions if you give a filename without an extension.  To avoid the
  145. default extension (for files which really have no extension), end the
  146. filename with a period.
  147.  
  148. Many of these programs are intended to read WP5 files, and except in
  149. the case of IS5XDOC, it does not make any difference which version of
  150. WP5 produced the files.
  151.  
  152. Many of these programs by default write their output to "standard
  153. output," but output will go to a WP50 file instead if you specify an
  154. output file (usually with a -o switch before the name of the file).  A
  155. WP50 file can, of course, be read in WP51.
  156.  
  157. By default, standard output means the screen -- the output goes to the
  158. screen in a continuous flow.  This may not be what you want, either
  159. because more than one screen's worth of output will be generated or
  160. because you want to keep or otherwise use the output.  Instead of
  161. letting standard output go directly to the screen, you can pipe it to
  162. another program, or redirect it to either the printer or a file.  For
  163. example, screen display is more useful if you pipe output to the DOS
  164. filter MORE:
  165.  
  166.  
  167.                WPSNOOP *.* |MORE
  168.  
  169.  
  170. or, better, to Vernon Buerg's LIST:
  171.  
  172.  
  173.                WPSNOOP *.* |LIST /s
  174.  
  175.  
  176. You might also pipe to PRINTIT and redirect the output from PRINTIT to
  177. the printer directly or to a file for later printing:
  178.  
  179.  
  180.                WPSNOOP *.* |PRINTIT >prn
  181.  
  182. or
  183.  
  184.                WPSNOOP *.*|PRINTIT >outfile
  185.  
  186.  
  187. Or you can have the program output go directly to an ASCII text file:
  188.  
  189.                WPSNOOP *.*>outfile
  190.  
  191.  
  192.         .......................................................
  193.  
  194.                      Notes on WP50 and WP51 Files
  195.  
  196. Several WPTOOLS programs identify, in their output, input document
  197. files as either WP50 or WP51, based on version information in the file
  198. prefix.  This information may be less useful than you think.  In the
  199. initial release of WP51, the version information usually identifies
  200. the version originally used to create the file.  Thus if you create a
  201. file in WP50, save it, read it in to WP51, add codes specific to WP51,
  202. and save the file again, it will still be identified as a WP50 file,
  203. even though it contains codes unknown to WP50.  We believe this has
  204. been changed in subsequent releases of 5.1.
  205.  
  206.         .......................................................
  207.  
  208. I.  COMMENTS
  209.  
  210.  
  211. COMMENTS extracts the comments (if any) in a WP5 document file and
  212. writes them to standard output.  This allows you to read all the
  213. comments in a document without retrieving the document into WP5 and
  214. searching for the comments individually.  COMMENTS writes the comments
  215. to standard output, so you can read them on the screen, send them to
  216. the printer, or capture them in an ASCII text file.
  217.  
  218.  
  219. Usage:COMMENTS Infile
  220.  
  221.           Infile is a WP5 document file.
  222.  
  223.           Output is written to standard output.
  224.  
  225.      Examples
  226.  
  227.      COMMENTS Myfile
  228.  
  229.      The comments in Myfile are written to the screen.
  230.  
  231.      COMMENTS Myfile |PRINTIT >prn
  232.  
  233.      Comments in Myfile are printed.
  234.  
  235.      COMMENTS Myfile >Comments.out
  236.  
  237.      Comments in Myfile are written to the ASCII text file
  238.      Comments.out on the default drive.
  239.  
  240.  
  241. II.  DISKFONT
  242.  
  243.  
  244. DISKFONT has two uses:
  245.  
  246.      1.   To provide information about soft fonts by reading the soft
  247.           font disk files.
  248.  
  249.      2.   To examine a list of fonts to determine whether their files
  250.           are on the disk.
  251.  
  252. DISKFONT reads a list of soft font file names and searches for the
  253. files in a specified disk directory.  By default, it lists information
  254. about the fonts in the soft font files it finds (if the soft font is
  255. compatible with the HP LaserJet Series II or the HP DeskJet and
  256. includes the standard information internally).  Optionally, it merely
  257. reports the names of the font files it fails to find.
  258.  
  259. FONTFILE (another WPTOOLS program) creates a list of soft font file
  260. names referenced in a PRS file.  This list may be used as input to
  261. DISKFONT, which can process the list to find whether the files are
  262. available or to provide more information about them.  Note that the
  263. ALL file from which a PRS file was made may reference more soft fonts
  264. than the PRS file references.  Soft fonts are referenced in a PRS file
  265. only if you chose to include them in the PRS file, using * or + (or
  266. both).  Therefore, the list generated by FONTFILE may be smaller than
  267. the list WPerf is capable of displaying.
  268.  
  269.  
  270. Usage:DISKFONT [-Option] [-Option]
  271.  
  272.           Input is a list of filenames from standard input.  The
  273.           filenames may include standard DOS wildcards.  FONTFILE
  274.           output is acceptable input to DISKFONT, and may be piped to
  275.           it.  If the input is a file containing a list of soft font
  276.           file names, use input redirection (<infile).  Input may also
  277.           come from the keyboard; in that case, use ^Z followed by
  278.           Enter to terminate keyboard input.  Note that it is an error
  279.           to put an input file on the command line without < before
  280.           it.
  281.  
  282.           Output goes to standard output by default and may be piped
  283.           or redirected.  Output may optionally be in WP50 format.
  284.  
  285.  
  286.           Options:
  287.  
  288.           -D   directory (Directory where fonts are)
  289.                If no directory is supplied, default directory is
  290.                assumed.  If the input filenames include directory
  291.                information, that overrides the command line.
  292.  
  293.           -O   OFile For WP50 output.
  294.                Formatting of the WP50 file assumes, but does not set,
  295.                left and right margins of 1" and a 10-pitch monospaced
  296.                font; the tabs set by DISKFONT may seem strange if
  297.                those are not your defaults.
  298.  
  299.           -F   Only find fonts--no info given
  300.  
  301.           -?   Help message
  302.  
  303.  
  304.  
  305.           Examples:
  306.  
  307.           DISKFONT
  308.  
  309.           Keyboard input, output to standard output (screen).
  310.  
  311.           DISKFONT <myfonts.txt
  312.  
  313.           Input, myfonts.txt, is an ASCII text file containing a list
  314.           of font file names.  Output to screen.
  315.  
  316.  
  317.           FONTFILE My.PRS|DISKFONT -Dc:\wp\fonts|PRINTIT >prn
  318.  
  319.  
  320.           Input is list of font files referenced by My.PRS.  The list
  321.           is created by FONTFILE and piped to DISKFONT.  The font
  322.           files are in subdirectory \wp\fonts on drive C:.  DISKFONT
  323.           output is piped to PRINTIT.  PRINTIT output is redirected to
  324.           the printer.
  325.  
  326. Here is an example of DISKFONT output:
  327.  
  328.  
  329.           Report for LJ font file AC0060RH.HPF:
  330.           FontName      Swiss
  331.           Typeface      4 (Helvetica)
  332.           Orientation   Portrait
  333.           Height        6.0 points
  334.           Style         Upright
  335.           Font Weight   2
  336.           Font type     8-bit
  337.           Symbol Set    HP Roman-8
  338.           Spacing       Proportional.  Space width is 1.68 points
  339.  
  340.  
  341.       The first line gives the file name and identifies the file as
  342.        either a LaserJet (LJ) or a DeskJet (DJ) font file.
  343.  
  344.       FontName is the name stored in the font file as the name of the
  345.        font, although some fonts are usually referred to by a
  346.        different name.
  347.  
  348.       Typeface is a number (0-255).  For some typefaces, DISKFONT can
  349.        supply the typeface name.
  350.  
  351.       Orientation is Portrait or Landscape.
  352.  
  353.       Height is a standard measure of the height of the font.  It is
  354.        not necessarily the height of any character in the font.
  355.  
  356.       Style is either Upright or what HP calls "italic."  HP notes
  357.        that other values may be assigned -- DISKFONT will not
  358.        recognize them.
  359.  
  360.       Weight is the stroke weight of the font, a value from -7 to +7.
  361.        According to HP, 0 means "medium," 3 means "bold," and -3 means
  362.        "light." DISKFONT translates the numbers to words according to
  363.        HP's scheme.  Not everyone uses that scheme.  BITSTREAM, for
  364.        example, apparently treats 2 as meaning bold.
  365.  
  366.       Font Type comes in three varieties.  "7-bit" indicates that
  367.        ASCII codes 32-127 are printable.  "8-bit" indicates that ASCII
  368.        codes 32-127 and 160-255 are printable.  "PC-8" indicates that
  369.        all ASCII codes except 0,7-15, and 27 are printable.
  370.  
  371.       Symbol Set indicates which characters will actually print.  This
  372.        is stored by number in the file.  It is possible DISKFONT will
  373.        not translate some numbers to words.
  374.  
  375.       Spacing is proportional or fixed.  For either, an appropriate
  376.        measure of the spacing is listed.
  377.  
  378.  
  379. DISKFONT was inspired by Gary Elfring's program FONTINFO.
  380.  
  381.  
  382. III.  ENDFOOT
  383.  
  384.  
  385. ENDFOOT converts all the footnotes in a document file to endnotes, or
  386. all the endnotes to footnotes.  Of course, you can do this with a
  387. macro (distributed with WP51).  But macros do not adjust your
  388. automatic references appropriately, so that references to the former
  389. footnotes become references to endnotes (or references to endnotes
  390. become references to footnotes).  ENDFOOT does.  Also, ENDFOOT is
  391. likely to be faster than a macro.
  392.  
  393. Usage:ENDFOOT Infile Outfile [-Option]
  394.  
  395.        Infile is the WP5 file to be converted.
  396.  
  397.        Outfile is the converted WP5 file.
  398.  
  399.        Options (use at most one):
  400.  
  401.        -F Convert footnotes to endnotes (the default, so you do not
  402.           have to indicate the option)
  403.  
  404.        -E Convert endnotes to footnotes
  405.  
  406.  
  407.  
  408. IV.  FIXPRE
  409.  
  410. A.  WP5 Document Files
  411.  
  412. WP5 document files have two sections:  the prefix (created by WP5),
  413. which contains document default settings, fonts, styles, and similar
  414. information; and the document itself (text and codes entered by the
  415. user).  FIXPRE strips certain information out of the prefix; much of
  416. it concerns printers and fonts, while most of the rest is obsolete.
  417. When you read the stripped file created by FIXPRE back into WP5, WP5
  418. restores the printer and font information.
  419.  
  420. This sounds pretty pointless.  Why do it?  There are several reasons:
  421.  
  422. (1)  Some users have had difficulty printing files after changing
  423. printer drivers or when the files were created on another system.  Use
  424. FIXPRE to clean the printer-related information out of the prefix;
  425. then read the file into WP5 and install with new drivers.  The
  426. difficulties may disappear.  (The UPDATE function introduced in the
  427. WP50 July 1988 maintenance release solves many printer driver problems
  428. of this kind, but apparently not all.)
  429.  
  430. (2)  As you edit a file, WP5 adds new information to the prefix and
  431. marks old information as no longer valid.  In early releases of
  432. Version 5.0, this led to some problems.  Although these problems may
  433. have disappeared with the November 15, 1989 release, some aspects may
  434. remain.  This description is based on earlier releases of WP50.  The
  435. FASTSAVE option in the configuration setup (which is not the default
  436. setting with which the program is shipped) speeds disk saves of
  437. documents because it does not delete from the prefix the old, invalid
  438. information.  Therefore, files edited in FASTSAVE mode tend to be
  439. larger than other WP5 files, sometimes startlingly so.  If you
  440. SLOWSAVE a file, most (but not all) of the outdated information is
  441. physically deleted from the prefix, but not if you FASTSAVE.  FIXPRE
  442. physically deletes the information marked as deleted (and, depending
  443. on how you configure FIXPRE, other information as well--the valid
  444. printer and font information, as noted above).  So you could either
  445. use SLOWSAVE regularly, or you could use FASTSAVE -- and FIXPRE from
  446. time to time.
  447.  
  448. (3)  Another reason for using FIXPRE is harder to describe.  Sometimes
  449. the formatting in a WP5 file goes haywire.  The problem may -- or may
  450. not -- go away if you FIXPRE the document.  For example, this document
  451. was originally written in WP5, using Courier 10.  I changed to Courier
  452. 12, didn't like the results, and went back to Courier 10.  After those
  453. changes, centered lines were no longer centered properly, and many of
  454. the tabbed and indented lines were also off.  After trying a few ways
  455. of fixing the problem, I FIXPREd the document and read it back into
  456. WP5.  Problem gone.  I can't explain why the document went bad, or why
  457. FIXPRE fixed it.  But if you run into strange formatting problems,
  458. give FIXPRE a try.  Other problems to which this solution may apply
  459. include misplaced graphic lines and improper font printing.
  460.  
  461. (4)  FIXPRE optionally strips styles and initial codes from the
  462. prefix.  Stripping the initial codes with FIXPRE may sometimes be the
  463. easiest way to get rid of them.  Stripping styles helps to save disk
  464. space by shrinking the file.  Stripping styles from the prefix does
  465. not affect any use you have already made of the styles in the
  466. document, but it prevents you from using the style again in the
  467. document (until you retrieve it again or otherwise recreate it).  So
  468. it makes sense to strip styles mainly when you have finished working
  469. on a document and simply want to store it.  (Note that STYLEUSE
  470. provides a more flexible way of dealing with styles.)
  471.  
  472. B.  WP5 Setup Files
  473.  
  474. The WP5 setup file, WP{WP}.SET, also contains a number of data
  475. packets.  As you change your setup (without making a new setup file),
  476. new data packets are added and old ones marked as deleted.  WP50 seems
  477. never actually to remove these deleted data packets from the setup
  478. file.  FIXPRE will remove them.  I have seen setup files shrink to
  479. 1/10th their size.  WordPerfect Corporation advises erasing the set
  480. file and starting again.  FIXPRE is easier.  WP51 does remove at least
  481. some deleted data packets from the setup file sometimes.  It may turn
  482. out that there is little point in using FIXPRE on WP51 setup files.
  483.  
  484. C.  PlanPerfect And Other Programs
  485.  
  486. FIXPRE works with PP5 set files and should work with any other set
  487. files WPCorp comes out with.
  488.  
  489.  
  490. D.  Using FIXPRE
  491.  
  492.  
  493. Usage:FIXPRE Infile [Outfile] [-Option] . . [-Option]
  494.  
  495.                Infile is the WP5 document or setup file to be fixed.
  496.                May include wildcards.
  497.  
  498.                Outfile is not required, and if it is provided it will
  499.                not be used if Infile contains wildcards.  If Outfile
  500.                is used, Infile will be unchanged, and the fixed file
  501.                written to Outfile.  If Outfile is not used, Infile
  502.                will be renamed (as a backup), and the fixed file will
  503.                be written under the original Infile name.  The backup
  504.                file name is based on the Infile name.  It is the main
  505.                part of the Infile name, with a new extension.  The
  506.                backup file will NOT overwrite any existing file.
  507.                Suppose the Infile you supply is LETTER.DOC.  The
  508.                program tries to use the name LETTER.F01 for the
  509.                backup.  If a file with that name exists, the program
  510.                tries LETTER.F02, and so on through F99 (where the
  511.                program gives up and asks you to provide an output file
  512.                name).  When the program is finished, LETTER.DOC will
  513.                be the fixed file.
  514.  
  515.  
  516.                Options:  (precede each with -, separate multiple
  517.                options by blanks)
  518.  
  519.                -K  Kill (do not preserve) the backup file.  The .Fxx
  520.                    file will be deleted when the program finishes.
  521.  
  522.                -E  Process input wildcard specification through the
  523.                    directory tree.  For example, if Infile is
  524.                    c:\wp51\*.*, FIXPRE will process all files in
  525.                    c:\wp51 and all files in the tree of subdirectories
  526.                    branching from subdirectory wp51.  Thus it would
  527.                    process all files in subdirectories c:\wp51\memos,
  528.                    c:\wp51\letters, c:\wp51\letters\jan, etc.
  529.  
  530.                -T  DOS directory entry for the output file has the
  531.                    date and time of the input file.  Otherwise,
  532.                    current date and time are used.
  533.  
  534.                -A  Process wildcard files only if archive bit is set.
  535.                    Useful if you use FIXPRE to save space before
  536.                    backing up your files.  Avoids re-FIXPREing files
  537.                    already backed up.
  538.  
  539.                    The remaining options are ignored if the input file
  540.                    is a setup file.
  541.  
  542.                -D  With this option, FIXPRE strips only deleted data
  543.                    packets from the prefix.  Without it, other
  544.                    information is also stripped.
  545.  
  546.                    The remaining options have no effect if -D is
  547.                    chosen.
  548.  
  549.                -F  By default, FIXPRE replaces Infile's "document
  550.                    flags."  -F preserves the original document flags.
  551.                    It is not clear this is ever useful.
  552.  
  553.                -H  By default, FIXPRE eliminates the prefix's
  554.                    "formatter hash table."  -H preserves it. It may
  555.                    never be sensible to use this option.
  556.  
  557.                -P  With this option, FIXPRE does not strip printer-
  558.                    related information from the prefix.
  559.  
  560.                -I  Strip initial codes.
  561.  
  562.                -S  Strip styles from the prefix.
  563.  
  564. WARNING:  If FIXPRE has stripped the printer-related information, do
  565. not attempt to print the document file from disk before WP5 has
  566. restored the printer-related information.
  567.  
  568.  
  569. V.  FONTFILE
  570.  
  571.  
  572. FONTFILE extracts the list of names of soft font files found in a PRS
  573. file.  These files must be present on disk and accessible to WP5 in
  574. order to print documents which use the fonts they contain.  FONTFILE
  575. can be used in conjunction with DISKFONT to determine whether those
  576. files are present on disk.
  577.  
  578.  
  579. Usage:   FONTFILE  Infile [Ofile]
  580.  
  581.  
  582.                Infile should be a PRS file.  The file extension
  583.                defaults to PRS.
  584.  
  585.                Output goes to standard output, unless Ofile is
  586.                supplied.  Output can, and often should, be piped to
  587.                DISKFONT.  See example above.  Or you can redirect the
  588.                output to an ASCII text file and then use that file as
  589.                input to DISKFONT before printing a document that uses
  590.                the PRS file. If Ofile is supplied, the output is in
  591.                WP50 format.
  592.  
  593.  
  594. VI.  FONTLIST
  595.  
  596.  
  597. FONTLIST displays a list of the names of the fonts used in a WP5 
  598. document file.  (This list is found in the document's prefix.)  This 
  599. list may be useful if you are not sure whether the fonts used in a 
  600. document are available on your disk.  The output also identifies the 
  601. PRS file and printer assumed by the document. 
  602.  
  603. FONTLIST output can be misleading in two ways.  First, the initial
  604. font, or any font specified in initial codes, or any font specified in
  605. a document's initial codes setting, will appear on the list even if
  606. you did not use the font.  (FIXPRE in default mode will delete initial
  607. fonts.)
  608.  
  609. Second, fonts once used in a document but later replaced or removed
  610. will also appear in the list.  To avoid listing these fonts, you can
  611. FIXPRE the document, read it into WP5, and then save it.  FONTLIST
  612. should then produce a list of fonts actually used in the document
  613. (plus the initial font).
  614.  
  615. If the second character of a font name (as it appears when you display
  616. the list of base fonts) is in upper case, the name of the font in the
  617. FONTLIST output may be preceded by an extraneous character.
  618.  
  619.  
  620. Usage:         FONTLIST Infile [Ofile] [-gfilespec]
  621.  
  622.                Infile is a WP5 document file.
  623.  
  624.                Output is written to standard output unless Ofile is
  625.                provided.  If Ofile is provided, output is in WP5
  626.                format.
  627.  
  628.                -g   If Ofile is provided, output file will have the
  629.                     same file prefix as filespec.  This option allows,
  630.                     for example, creation of WP51 output files, or
  631.                     formatting to a set of initial codes.
  632.  
  633.  
  634. VII.  IS5XDOC
  635.  
  636.  
  637. IS5XDOC allows a batch file to determine whether another file is a WP5
  638. document file, and if so, whether it is 5.0, 5.1 or, assuming WPCorp
  639. does not change its file formats, 5.2, 5.3, etc.  It does this by
  640. setting the DOS errorlevel.  Thus:
  641.  
  642. Usage: IS50DOC Infile
  643.  
  644.         Resulting errorlevel:
  645.  
  646.          0   WP50 document file
  647.          1   WP51 document file
  648.          2   WP52 document file
  649.          n   WP5n document file, where n is a number
  650.         98   Other file
  651.         99   File not found, etc.
  652.  
  653. How can you use this?  Suppose you wanted a file browser that would
  654. use WP5LOOK to browse a WP5x file and Vern Buerg's LIST to browse any
  655. other file.  The following batch file would work:
  656.  
  657.      is5xdoc %1
  658.      if errorlevel 99 goto quit
  659.      if errorlevel 98 goto list
  660.      WP5Look %1
  661.      goto quit
  662.      :list
  663.      list %1
  664.      :quit
  665.  
  666. Call the batch file BROWSE.BAT and use it this way:
  667.  
  668.      BROWSE Infile
  669.  
  670. A similar batch file would allow you to invoke WP5 to edit WP5
  671. document files but another editor to edit other files.
  672.  
  673.  
  674. VIII.  LISTMACS
  675.  
  676.  
  677. LISTMACS produces a list of up to 1000 macros in its input files; both
  678. WPM and WPK files contain macros (each key redefinition in a WPK file
  679. is a macro).  The output includes the file name, macro description,
  680. and, for WPK macros, the name of the key to which the macro is
  681. assigned.  By default, the output is sorted by filename and, within
  682. filename, by macro description.  Alternate sorts, or no sort, may be
  683. selected as options.
  684.  
  685.  
  686. Usage: LISTMACS infile .. [infile] [-oOfile] [-sortoption]
  687.  
  688.                Up to 5 Infiles, which may include wildcards.
  689.  
  690.                Output to standard output unless Ofile specified with
  691.                -o.  If Ofile specified, output is in WP5 format.  WP5
  692.                tab settings assume 1" left margin and 10 pitch
  693.                monospaced font.
  694.  
  695.                Sort options (default is sort by filename):
  696.  
  697.                -N   No sort
  698.                -D   Sort on macro Description
  699.                -K   Sort on Key name
  700.  
  701.  
  702.                Example:
  703.  
  704.                LISTMACS c:\wp\*.wpk c:\wp\*.wpm -D
  705.  
  706.                lists macros in all wpm,wpk files, sorted by
  707.                description
  708.  
  709. IX.  MAKETABS
  710.  
  711.  
  712. MAKETABS converts ASCII text files to WP50 documents, replacing
  713. sequences of spaces by ordinary left tabs or, optionally, right tabs.
  714. It is useful for converting columnar material, such as spreadsheet
  715. output, to WP5 format.  MAKETABS replaces spaces with tabs by either
  716. of two methods and, in one method, according to either default tab
  717. settings or those the user supplies.  The output WP50 file begins with
  718. a tab set code if the user supplied a tabstring or tab spacing
  719. information to the program.  Note that the tab set code always
  720. indicates ordinary left tabs, even though the tabs appearing in the
  721. document may be either left or right tabs.  If you want your tab
  722. settings to indicate right tabs (and you may if, for example, you want
  723. to extend the columnar lists after converting to WP50), you will have
  724. to change the tab settings in WP5 manually.
  725.  
  726. MAKETABS is not well suited to text that is not organized by columns.
  727. If you have an ASCII file that includes both columnar material and
  728. ordinary text, it would be best to create separate files, one with the
  729. columnar material and one with the ordinary text, convert them
  730. separately, and then recombine them in WP5.
  731.  
  732. Note that all trailing blanks are stripped before conversion.
  733.  
  734. Note also that MAKETABS cannot handle a line longer than 255
  735. characters.
  736.  
  737. Usage: MAKETABS [-Option] . . . [-Option]
  738.  
  739.  
  740.                Options:
  741.  
  742.                -F  Parameter file name.  Instead of supplying options
  743.                    on the command line, you may supply them in a
  744.                    parameter file.  The parameter file is an ASCII
  745.                    text file containing options, one option per line.
  746.                    Thus if you include, e.g., -Fmyfile.cfg on the
  747.                    command line, you need include no other options on
  748.                    the command line.  You may, however, include other
  749.                    options on the command line with you use -f.
  750.                    However, you should not duplicate options between
  751.                    the command line and the parameter file.
  752.  
  753.                    A typical parameter file might look like this:
  754.  
  755.                    -IBudget.prn
  756.                    -oBudget.WP5
  757.                    -R
  758.                    -t10;35;73;88
  759.                    -N2
  760.  
  761.                    With such a parameter file, -F could be the only
  762.                    option indicated on the command line.
  763.  
  764.                -O  Output file name.  Required.  Optional only in the
  765.                    sense that it may be included in the parameter file
  766.                    rather than on the command line.
  767.  
  768.                -I  Infile Input filename.  If there is no -I option,
  769.                    MAKETABS defaults to standard input, and input may
  770.                    be piped or redirected, or it may come from the
  771.                    keyboard.
  772.  
  773.                -T  n1;n2;..;nm Tabstring (in columns of the ASCII
  774.                    input counting from 0).  If you do not use the -R
  775.                    option, you may include Rs in the tab settings to
  776.                    indicate that particular tabs are to be right tabs.
  777.                    For example, if you used -t10;20R;30 as your tab
  778.                    settings, the first tab would be a regular left
  779.                    tab, the second a right tab, and the third a left
  780.                    tab.
  781.  
  782.                -Sn Tab spacing (for equally spaced tabs).  In columns.
  783.                    Default is 5.  If you wish to use the default, do
  784.                    not include a -S option.
  785.  
  786.                -M  Use Method 2 (tabs not based on tabstring or tab
  787.                    spacing)
  788.  
  789.                -R  Use Right tabs in all cases (Method 1 only)
  790.  
  791.                -Nn MiNimum spaces to replace.  Default is 3.
  792.  
  793.                -Xn MaX spaces to replace by a single tab (Method 2).
  794.                    Default is 80.
  795.  
  796.                -Ln WP5 Left margin (inches and tenths). Default 1.0.
  797.  
  798.                -Bn n is the number of spaces permitted in the string
  799.                    between a right tab and the tab stop, if the string
  800.                    contains non-spaces.  Default is 0.  Whatever the
  801.                    value of n, spaces are not permitted at the end of
  802.                    the string.  To disable checking for blanks
  803.                    internal to the string (thus permitting any
  804.                    number), set n equal to 99 or to any value greater
  805.                    than or equal to Minimum spaces to replace.
  806.  
  807.  
  808. Method 1, the default method, replaces spaces by tabs to match tab
  809. specifications you supply.  The idea is to reproduce in WP5 the ASCII
  810. text file you started with, using tabs instead of spaces as
  811. appropriate.  The tab specification is in terms of columns in the
  812. ASCII text file.  By default, the tab specifications are set this way:
  813. 5;10;15;20, etc.  Although that corresponds to WP5's default tab
  814. settings, it will rarely be appropriate for columnar data you wish to
  815. convert to WP5 format.  You therefore will usually have to supply a
  816. different tab specification.
  817.  
  818. In order to do that, you have to figure out column positions in your
  819. ASCII text file, since the tab specification you supply must match the
  820. ASCII text file.  This is not as easy as it sounds.  Usually when you
  821. count columns in an ASCII text file, you think of the first column at
  822. the left of a line as 1.  WP5 thinks of the first column as 0.  In
  823. order to get things to work well between the ASCII file and WP5, it is
  824. necessary for you to think of the first column as 0.  The tenth column
  825. is then 9, and so forth.  You also have to think about how right and
  826. left tabs relate to the tab settings.  Suppose your ASCII text file
  827. starts with a series of blanks followed by a word starting in Column
  828. 10.  That would correspond to a left tab setting of 10.  Suppose
  829. instead your ASCII text file begins with blanks, followed by a column
  830. of numbers, with the last digit in column 9.  That would correspond to
  831. a right tab setting of 10.
  832.  
  833. As an example, suppose you redirected the output of LISTMACS to an
  834. ASCII text file but then wanted to convert the ASCII to WP5, with tabs
  835. rather than spaces.  You would use -T8;14;60 (you would also use -N1,
  836. because there are likely to be some very short sequences of spaces).
  837.  
  838. Right tabs and spaces have a complicated relationship.  If you have
  839. "    100.00" ending at a tab stop, a right tab replaces the spaces.
  840. If "        " ends at a tab stop, the spaces are replaced by a right
  841. tab, because the sequence of spaces is longer than the minimum number
  842. of spaces to replace).  If "    100.00 " ends at a tab stop, the
  843. terminating space prevents replacement of the other spaces by a tab
  844. (assuming the minimum number of spaces to replace is greater than
  845. 1).  If you have, for example, "    John Jones" ending at a tab stop,
  846. whether the spaces before "John" are replaced by a right tab depends
  847. on how you have chosen to treat sequences of spaces less than the
  848. minimum number of spaces to replace.  By default, no spaces are
  849. permitted between the right tab and the tab stop, so there would be no
  850. right tab here.  If you use -B99, there is no checking for sequences
  851. of spaces less than the minimum number of spaces to replace, so there
  852. would be a right tab here.  You could also set -B1 to permit one space
  853. but no more (so there would a right tab here because there is only one
  854. space between "John" and "Jones"), or you could set -B2 to permit two
  855. spaces, and so forth.
  856.  
  857. If you do specify tab settings, the appropriate tab set command is
  858. included at the beginning of the WP5 output file.  Column positions
  859. are assumed to represent tenths of an inch.  However, the WP5 tab
  860. settings are not a direct translation into inches of your column
  861. specification.  MAKETABS assumes that the ASCII text file begins at
  862. the beginning of a line, but that WP5 files have a left margin.  By
  863. default, MAKETABS assumes a WP5 left margin of 1.0".  So the WP5 tab
  864. settings resulting from the -T command in the previous paragraph are
  865. 1.8", 2.4", and 7.0".  You can change the assumed left margin with the
  866. -L command (e.g., -L1.5).  MAKETABS does not put a margin change
  867. command in the output file, but it does adjust the tab settings.
  868.  
  869. Method 2 ignores tab settings.  It replaces any sequence of spaces of
  870. at least the minimum length (up to the maximum -- see the -X option
  871. above) by a single tab.  This is likely to produce reasonable results
  872. even when the ASCII text file is not perfectly aligned in columns, but
  873. it will produce very bad results where right tabs are required.
  874.  
  875. For another example, see below under WHATPTRS.
  876.  
  877. Warning: if your ASCII input includes actual ASCII tab characters, as
  878. opposed to spaces, MAKETABS will give incorrect results and the ASCII
  879. tab characters will appear in the output WP5 file as control-Is (^I).
  880.  
  881.  
  882. X.  MASTER
  883.  
  884.  
  885. MASTER displays the file dependencies in master document/subdocument
  886. structures.  MASTER checks to see if a document calls for included
  887. subdocuments.  If it does, each such subdocument (if it can be found)
  888. is checked to see whether it calls for included subdocuments.  The
  889. output shows each subdocument indented under its master document.
  890. Thus if document One includes subdocuments OneA, OneB, and OneC, and
  891. subdocument OneA includes subsubdocuments SubOne and SubTwo, the
  892. output would look something like this:
  893.  
  894. One
  895.   OneA
  896.     SubOne
  897.     SubTwo
  898.   OneB
  899.   OneC
  900.  
  901. In addition, the file size and date may be included on the line with
  902. the file name, for those files which can be located.
  903.  
  904.  
  905. Usage: MASTER Infile [-option] [-option]
  906.  
  907.         Output is written to standard output.  Pipe or redirect as
  908.         needed.
  909.  
  910.         Options:
  911.  
  912.         -D        include file date
  913.         -S        include file size
  914.  
  915.  
  916.  
  917. XI.  MERGESUM
  918.  
  919.  
  920. MERGESUM extracts document summaries from WP5 files and writes or
  921. appends them, along with DOS file directory information, to a WP5
  922. secondary merge file.  The result is a database of document summaries.
  923. You can then use the WP5 Merge and Sort functions to manipulate the
  924. output.  You can also use WordPerfect's Notebook program, a part of
  925. Library, to display and manipulate the document summaries.
  926.  
  927. For consistency with prior versions of MERGESUM, output in either an
  928. old or a new format is available.  The new format, which is the
  929. default, includes information not in a WP50 document summary but found
  930. in a WP51 document summary.  To minimize the problems of changing
  931. format, the new format begins with the same 13 fields as the old
  932. format.
  933.  
  934. Both the old and new format secondary merge files MERGESUM creates
  935. have the following fields:
  936.  
  937.  
  938.                 1:  File path
  939.                 2:  File name (without extension)
  940.                 3:  File extension
  941.                 4:  Creation date (as it appears in the summary in new
  942.                     format, but in old format, WP51 creation dates are
  943.                     converted to the WP50 format, e.g., May 5, 1990)
  944.                 5:  Creation date (yy/mm/dd, for easier sorting)
  945.                 6:  File date (yy/mm/dd) from DOS directory
  946.                 7:  File size (bytes, 7 column field, right justified)
  947.                 8:  Descriptive Filename (for WP51 summaries in old
  948.                     format, this is Document Name - Document Type; in
  949.                     new format it is just Document Name)
  950.                 9:  Subject/Account (WP50), or Subject (WP51)
  951.                10:  Author
  952.                11:  Typist
  953.                12:  Comments (WP50) or Abstract (WP51)
  954.                13:  Volume Label
  955.  
  956. The new format has the following additional fields:
  957.  
  958.                14:  Document Type (blank for WP50 summaries)
  959.                15:  Account (blank for WP50 summaries)
  960.                16:  KeyWords (blank for WP50 summaries)
  961.                17:  Version Number of document (5.0 or 5.1)
  962.  
  963. If, for example, you wanted a report listing, in three columns, the
  964. full file name, the creation date in yy/mm/dd form, and the
  965. Descriptive Filename, you would use a primary merge file like this:
  966.  
  967.  
  968. ^F1^^F2^.^F3^[Tab]^F5^[Tab]^F8^
  969.  
  970.  
  971. (After the merge output file is created, replace hard page breaks by
  972. hard returns.  Or use ^N^P^P at the end of the primary merge file to
  973. avoid hard page breaks.)
  974.  
  975. By default, the secondary merge file does not include WP5 document
  976. files that lack document summaries.  However, the filename, file date,
  977. file size, volume label, and version number for these files are
  978. available.  You can choose to write this information to standard
  979. output.  You can also choose to include records for these files in the
  980. secondary merge file, using just the DOS file directory information or
  981. also including the first roughly 400 characters of the document text
  982. as the "comments" or "abstract."
  983.  
  984. MERGESUM recognizes date information in the default format for the 
  985. U.S. language version; it also recognizes European format written 
  986. dates (e.g., 3 March 1990) and months written in French, Dutch, and 
  987. Spanish. Where MERGESUM creates a written date for field 4 in the 
  988. output secondary merge file, the language is always English.  Where 
  989. MERGESUM creates a written date for field 4 from a WP51-format 
  990. document summary and the date information format in the document 
  991. summary differs from the U.S. language default of mm-dd-yy, the result 
  992. will be incorrect, as will be the result in field 5. 
  993.  
  994. MERGESUM permits use of an "indirect" input file specification.  If an
  995. input file name on the command line is preceded by @ (e.g.,
  996. @c:\wp50\flist), the file is not a WP5 document, but an ASCII text
  997. file containing a list of input file specifications, one per line.
  998. (If you want to use MERGESUM on a WP5 file whose name begins with @,
  999. you must specify that file in an indirect file, not on the command
  1000. line.)
  1001.  
  1002.  
  1003. Usage:MERGESUM Infile [Infile] -oOfile [-A] [-C] [-S]
  1004.  
  1005.                Up to 5 Infiles, which may include wildcards.
  1006.  
  1007.                If Infile is specified as @Infile, infile is an ASCII
  1008.                text file containing a list of filenames
  1009.  
  1010.                -oOfile the secondary merge output file
  1011.  
  1012.                Options:
  1013.  
  1014.                -N  do NOT use the New output format
  1015.  
  1016.                -U  Update the output file (appends to the output file
  1017.                    if it already exists, but does not check for
  1018.                    duplicates)
  1019.  
  1020.                -A  include All WP5 files in Ofile, even if they have
  1021.                    no document summary.
  1022.  
  1023.                -C  like -A, but includes the beginning of the document
  1024.                    text as Comments or Abstract.
  1025.  
  1026.                -S  information on files with no summaries written to
  1027.                    Standard output.
  1028.  
  1029.                Note:  You can use -S along with -A or -C.
  1030.  
  1031. WPDOCS.NB, written by Barry Zimmerman and distributed with WPTOOLS by
  1032. Mr. Zimmerman's permission, gives a very nice display of MERGESUM old
  1033. format output in WordPerfect's Notebook program.  To create a Notebook
  1034. file, simply designate (a copy of) WPDOCS.NB as the MERGESUM output
  1035. file, using the -U option.  WPDOCS2.NB is similar, but is designed for
  1036. the new output format.
  1037.  
  1038.  
  1039. XII.  PRINTIT
  1040.  
  1041.  
  1042. PRINTIT has nothing to do with WP5 and does no printing.  It formats
  1043. ASCII text files for printing.  Many WPTOOLS programs write output to
  1044. standard output by default.  This output is unpaginated and has no
  1045. left margin.  Sending it directly to your printer will produce less
  1046. than ideal results.  PRINTIT reads standard input, paginates it, puts
  1047. a heading (with date, page number, and optionally a title) on each
  1048. page, and writes it to standard output.  It does not use any printer
  1049. control codes -- pages are filled with blank lines where necessary.
  1050. By default, it provides no left margin, assumes the page length is 66
  1051. lines, and puts 60 lines of text on the page.  You can specify a left
  1052. margin on the command line, and you can clone the program to change
  1053. the default left margin, the page length, and the last printing line.
  1054. The default page length and bottom line are suitable for most
  1055. printers.  For printers such as the HP LaserJet, you will want to
  1056. clone the program to change the number of lines of text on a page.
  1057.  
  1058. PRINTIT does NOT write anything to the printer. It writes to standard
  1059. output.  You can redirect its output to the printer, or you can
  1060. redirect its output to a file and copy the file to the printer.
  1061.  
  1062. Usage:         PRINTIT ["title"] [-Option]
  1063.  
  1064.                    Input from standard input
  1065.  
  1066.                    Output to standard output
  1067.  
  1068.                    Title appears on each page of the output.  Enclose
  1069.                    the title in double (") or single ( ', but NOT ` )
  1070.                    quotes if it contains blanks.  If the title
  1071.                    includes one kind of quotation mark, use the other
  1072.                    to enclose it.
  1073.  
  1074.                    Options:
  1075.  
  1076.                -?   Help
  1077.  
  1078.                -n   n is a digit, 0-9, the number of columns to offset
  1079.                     the output from the left edge.
  1080.  
  1081.                -C   Clone for page length, bottom line, offset (number
  1082.                     of blank  columns to insert before the text).
  1083.  
  1084.                     Cloning is prompted -- just follow the
  1085.                     directions.  Cloning overwrites the executable
  1086.                     file with a modified version. If you use DOS 2.x,
  1087.                     you must have PRINTIT.EXE in the default
  1088.                     directory.  If you use DOS 3.x (or, presumably,
  1089.                     4.x), PRINTIT will find itself under whatever name
  1090.                     you use for it.
  1091.  
  1092. PRINTIT is based on code in Software Tools in Pascal, by Kernighan and
  1093. Plauger.  The cloning routine is David Doty's WritExec, which is based
  1094. on David Dubois' AutoInst.  Because of the origins of the program, it
  1095. is not subject to the limitations of the WPTOOLS license provisions.
  1096. Anyone may use PRINTIT without paying the WPTOOLS license fee.
  1097.  
  1098.  
  1099. XIII.  PRSFONTS
  1100.  
  1101.  
  1102. PRSFONTS lists the fonts available in a WP5 PRS file.  This is useful
  1103. if you have a laser printer and create numerous PRS files.  PRSFONTS
  1104. can number the list, starting with zero.  These numbers are the basis
  1105. for the ID numbers you must supply to an HP LaserJet Series II
  1106. printer, and perhaps other printers, if you download soft fonts from
  1107. the DOS command line, rather than relying on WP5 to download them.
  1108.  
  1109.  
  1110. Usage:         PRSFONTS Infile [Ofile] [-N]
  1111.  
  1112.                     Infile is a WP5 PRS file.  If no extension is
  1113.                     supplied, extension PRS is assumed.
  1114.  
  1115.                     Output is written to standard output unless Ofile
  1116.                     is specified.  If it is specified, output is in
  1117.                     WP5 format.
  1118.  
  1119.                     -N   Number the fonts.
  1120.  
  1121. XIV.  STYLIST
  1122.  
  1123.  
  1124. STYLIST produces a list of up to 1000 styles in document files and
  1125. style libraries.  The list includes the filename, the name of the
  1126. style, the letter P (for paired), the letter O (for open), or the
  1127. letter T (for ouTline) to indicate the type of style, and the style
  1128. description.  By default, the output is sorted by filename and within
  1129. filename by style name.  Other sorting options are available.
  1130.  
  1131.  
  1132. Usage:         STYLIST Infile [Infile] [-oOfile] [-sortoption]
  1133.  
  1134.                     Up to 5 Infiles may include drive, directory,
  1135.                     wildcards.
  1136.  
  1137.                     Output to standard output, unless Ofile is
  1138.                     specified (with -o).  If Ofile specified, output
  1139.                     is in WP5 format.  WP5 formatting sets left and
  1140.                     right margins to 0.5".  Tab settings based on
  1141.                     assumption of 10 pitch monospaced font.
  1142.  
  1143.                     Sort options (default is sort by filename):
  1144.  
  1145.                     -N   No sort
  1146.                     -D   Sort on style Description
  1147.                     -M   Sort on style naMe
  1148.                     -T   Sort on style Type (Paired, Open, ouTline)
  1149.  
  1150.  
  1151.                Example: STYLIST c:\wp\*.sty c:\wp\*.doc -D
  1152.  
  1153.      lists styles in all sty and doc files, sorted by description.
  1154.  
  1155.  
  1156. XV.  STYLEUSE
  1157.  
  1158. WP5 styles are stored in the document prefix -- you see the styles
  1159. stored there listed when you call up the list of styles.  When you use
  1160. a style, style on and style off codes are inserted into the document;
  1161. between those codes go the codes which make up the body of the style.
  1162.  
  1163. By default, STYLEUSE produces two lists, a list of the styles actually
  1164. found in the text of a document (whether or not they are still in the
  1165. document prefix), and a list of the styles found in the prefix but not
  1166. found in the text of the document (which usually means not used in the
  1167. document).  STYLEUSE also can delete unused (or all) styles from the
  1168. prefix.  And it can delete the style on and style off codes from the
  1169. document itself, leaving the codes which make up the body of the
  1170. style.
  1171.  
  1172. The main reason to delete styles is to make the document file smaller.
  1173. If styles are deleted from the prefix, the text of the document is
  1174. unaffected, although the styles deleted can no longer be chosen from
  1175. the style menu.  But you can read the styles into the document prefix
  1176. again from a style library.  If you delete the style on and style off
  1177. codes, you can no longer change the document by editing the style --
  1178. the codes added by the style are frozen, in the sense that they have
  1179. the same status as any other codes you added to the document, since
  1180. WordPerfect no longer knows the codes were added by a style.
  1181. Therefore, you should not delete styles from the body of a document
  1182. until you are very sure you do not want to change the document by
  1183. changing the styles.
  1184.  
  1185.  
  1186. Usage: StyleUse Infile [Ofile] [-Option] .. [-Option]
  1187.  
  1188.  
  1189.           Infile: The input WP5.x file.  May include wildcards (?,*)
  1190.           Ofile: Output file. Not used with wildcards or if none of
  1191.                  the delete options is selected.
  1192.           Options:
  1193.  
  1194.           -N  do Not list styles.
  1195.           -U  delete Unused styles from prefix
  1196.           -S  delete all Styles from prefix
  1197.           -D  delete style information from Document body
  1198.  
  1199.           The following options are identical to options in FIXPRE.
  1200.           See the FIXPRE documentation for further explanation.
  1201.  
  1202.           -K  kills the backup if no ofile specified
  1203.           -T  output gets Time and date of input file
  1204.           -A  process wildcard files only if archive bit set
  1205.           -E  process wildcard through directory trEE
  1206.  
  1207.           The list of used and unused styles is written to standard
  1208.           output, and may be piped or redirected as needed.
  1209.  
  1210. If either the U or the S option is chosen, STYLEUSE will delete from
  1211. the document prefix not only the styles to be deleted, but also data
  1212. packets marked as deleted, just as FIXPRE does (but STYLEUSE does not
  1213. do this if the U option is chosen and there are no unused styles).
  1214.  
  1215. If all you want to do is delete all styles from the prefix, FIXPRE is
  1216. a better choice.
  1217.  
  1218.  
  1219. XVI.  TARGETS
  1220.  
  1221.  
  1222. TARGETS lists the automatic reference targets and references in a WP5
  1223. document.  It first lists the targets by name, with the number of
  1224. times that target name is used.  Targets which are not referenced in
  1225. the document are marked by an asterisk.  The list of targets is
  1226. followed by a list of references, which includes the name of the
  1227. target referenced, the type of reference, and the number of references
  1228. of that type to the particular target.  References to targets not
  1229. found in the file are marked with an asterisk.
  1230.  
  1231. Usage:         Targets  Infile
  1232.  
  1233.                     Infile is a WP5 document.
  1234.                     Output is written to standard output.
  1235.  
  1236.  
  1237. XVII. WHATPTRS
  1238.  
  1239.  
  1240. A single ALL file can be used to create PRS files for a number of
  1241. different printers.  WHATPTRS lists the printers for which the input
  1242. ALL file can create drivers.  Each line of output begins with the name
  1243. of the input ALL file, followed by the name of a printer.  The program
  1244. can usually sort by printer name.  Whether WHATPTRS can sort all the
  1245. printer names depends on how many printers there are in the input ALL
  1246. files and on the amount of memory available.  If you cannot sort the
  1247. full collection with WHATPTRS itself, you could pipe unsorted output
  1248. to the DOS SORT routine.  The WHATPTRS sort is not sensitive to case;
  1249. because the DOS sort is sensitive to case, the -L option is available
  1250. to put printer names into all lower case.  Some printer names in ALL
  1251. files begin with *, to indicate that the source of the printer
  1252. information in the file is not WordPerfect Corporation.  To permit a
  1253. proper sort, WHATPTRS moves the * from the beginning to the end of the
  1254. printer name.
  1255.  
  1256. Usage:WHATPTRS Infile[.ext] Infile[.ext] [-oOfile] [-option] [-option]
  1257.  
  1258.                     Up to 5 Infiles.  Each may include wildcards.  ext
  1259.                     defaults to ALL.
  1260.  
  1261.                     Output to standard output unless Ofile is
  1262.                     specified.
  1263.  
  1264.                     Options:
  1265.  
  1266.                     -oOfile Output WP5 file.
  1267.  
  1268.                     -S      Sort output by printer name.
  1269.  
  1270.                     -L      output Lower case printer names.
  1271.  
  1272.  
  1273.      Examples       WHATPTRS *|PRINTIT>prn
  1274.  
  1275.                     Prints a list of printers in all the ALL files in
  1276.                     the default directory.
  1277.  
  1278.                     WHATPTRS * -L|Sort /+15|MAKETABS -oOutFile -M
  1279.  
  1280.                     Produces (in OutFile) an alphabetically sorted
  1281.                     list of printers in all the ALL files in the
  1282.                     default directory, in the form of a WP5 file
  1283.                     formatted with tabs rather than spaces.  You can
  1284.                     get the same results with
  1285.  
  1286.                          WHATPTRS * OutFile -S -L
  1287.  
  1288.                     WHATPTRS * -L|find "panasonic" >prn
  1289.  
  1290.                     Prints the names of all Panasonic printers in the
  1291.                     ALL files in the default directory, together with
  1292.                     the name of the ALL file applicable to each
  1293.                     printer.
  1294.  
  1295.  
  1296. XVIII. WP5LOOK
  1297.  
  1298.  
  1299. WP5LOOK is a file browsing program for WP5 document files.  It
  1300. displays WP5 document files listed on the command line or piped from
  1301. another program, such as a file uncompressor.  The document summary is
  1302. displayed if it exists.  The program pauses as each screen is
  1303. displayed.  If there is more information in the document, you can page
  1304. forward.  Generally, you can also page backward, although only for a
  1305. few screens (the number varies, but is never more than eight).  At
  1306. each screen, you also have the options of going back to the beginning
  1307. of the file (Home), jumping to the end of the file, going on to the
  1308. next file, or quitting the program.  (If there are no more files, the
  1309. next file and quit options produce the same results.) You can also
  1310. search for strings in the displayed file.  And you can "dump" the
  1311. information on the screen to an ASCII text file.  The top line of the
  1312. display indicates the corresponding WordPerfect page numbers.
  1313.  
  1314. Because WP5LOOK will accept piped input, it can be used with many file
  1315. manager and shell programs to display files.  If the program with
  1316. which you want to use it allows you to specify the file browser, you
  1317. simply specify WP5LOOK.  Some programs do not allow you to specify the
  1318. file browser, and then some ingenuity is required.  For example,
  1319. QFiler, an excellent file management program, assumes the file browser
  1320. is List.com.  You can use WP5LOOK with QFiler by renaming WP5LOOK.EXE
  1321. as List.com.
  1322.  
  1323. WP5LOOK does not correctly format files, but it usually does a
  1324. reasonable approximation.  The program is designed for use when you
  1325. need to rummage through one or more WP5 documents quickly (or when not
  1326. enough memory is available to use WP5 itself), not for when you care
  1327. about the details of formatting.  Here are some of the formatting
  1328. problems:
  1329.  
  1330.  
  1331.       Paragraphs are reformatted by default to a 75-character line,
  1332.        although you can change the number; the right margin is ragged,
  1333.        because words are not split at hyphens.  Margin changes and
  1334.        line spacing are ignored.  Multiple columns are placed end to
  1335.        end.
  1336.  
  1337.        Everything is displayed in the same font.
  1338.  
  1339.       Tab settings are ignored.  Ordinary tabs are displayed as five
  1340.        spaces, more exotic tabs as a single space.  Indent codes are
  1341.        all treated as ordinary, not left-right.  An indent code is
  1342.        represented as five spaces.  Indented text is indented five
  1343.        spaces, regardless of how deeply the text is indented.
  1344.  
  1345.       Characters a standard IBM PC cannot display and overstruck
  1346.        characters are displayed as upsidedown question marks.
  1347.  
  1348.       Footnotes and endnotes are displayed embedded in the text where
  1349.        they occur.  They are set off by line breaks and enclosed
  1350.        between **FN: and **EFN.
  1351.  
  1352.       Initial codes are ignored.
  1353.  
  1354.        The contents of all "boxes" (except text boxes) is ignored,
  1355.        although the fact that a box exists is displayed, along with
  1356.        the caption (and text where there is any).
  1357.  
  1358.        Tables are not displayed in normal table format.  Instead, the
  1359.        cells are listed in sequence, identified by row and column.
  1360.        Certain kinds of cell contents are not displayed.
  1361.  
  1362.  
  1363.  
  1364. Usage:  WP5LOOK  [Infile] .. [Infile]
  1365.  
  1366.          Infile may include wildcards.  You may specify as many
  1367.          Infiles as fit on the command line.  If no input file is
  1368.          specified, a help screen is displayed unless input is piped.
  1369.  
  1370. Once you have started the program, operation is prompted and for the
  1371. most part intuitive.  The bottom line on the screen indicates which
  1372. keystroke options may be chosen (except for W and D, which are never
  1373. indicated).  In some cases, you can use different keystrokes to
  1374. achieve the same result.  The prompt does not indicate that
  1375. flexibility.  Here is the full set of options, only some of which may
  1376. be available at particular screens:
  1377.  
  1378.  
  1379.      Move one screen forward           PgD, [space], [return]
  1380.      To last screen in file            [End]
  1381.      Move one screen Back              PgU, b, B
  1382.      To first screen in file           [Home]
  1383.      To next file                      N
  1384.      Exit from the program             Q, [esc], F7
  1385.      Search (exact match)              S
  1386.      Find (match ignoring case)        F
  1387.      Set line Width, 10-80 chars.      W
  1388.      Dump screen to file               D
  1389.  
  1390.  
  1391.  
  1392. Searching and Finding
  1393.  
  1394. Search and Find prompt for a search string.  Search looks for an exact
  1395. match to your search string.  Find looks for a match but ignores
  1396. differences in case.  (Searching for cat will not match CAT, but
  1397. Finding cat will match CAT.)  If you have previously done a Search or
  1398. Find in the same WP5LOOK session, you will be shown your previous
  1399. search string.  If you want to use the same search string, simply hit
  1400. <enter>.  You can also edit the search string.  If the first keystroke
  1401. you hit is a character rather than an editing key, the previous search
  1402. string will disappear, and you simply enter (and edit) a new one.
  1403.  
  1404. Search and Find search from the currently displayed screen to the end
  1405. of the file.  The first screen containing a match is displayed, with
  1406. each line containing the match highlighted.  After each match, you are
  1407. asked whether you want to continue looking for the same string.  To
  1408. search the entire file, you must start the search at the beginning of
  1409. the file (which you can reach with the Home key).
  1410.  
  1411. Leading and trailing blanks in the search string can be used if you
  1412. want to limit searches to matching whole words.  For this purpose,
  1413. screen display lines of your WP5 document file are treated as
  1414. beginning and ending with blanks.  The search string may include
  1415. blanks, so you can search for phrases (limited to 60 characters).
  1416. However, matches are limited to a single line -- if a phrase is split
  1417. between lines in the display, you cannot match it.
  1418.  
  1419. The search string can be edited using the cursor keys and other keys.
  1420. WordStar editing commands are also available.  A complete list of
  1421. editing commands follows (commas indicate alternatives):
  1422.  
  1423.  
  1424.      <Enter> (<Return>)       Accept line
  1425.  
  1426.      <Esc>                    Quit without changing line; don't search
  1427.  
  1428.      <Left>,<CtrlS>           Cursor left one character
  1429.  
  1430.      <Right>,<CtrlD>          Cursor right one character
  1431.  
  1432.      <CtrlLeft>,<CtrlA>       Cursor left one word
  1433.  
  1434.      <CtrlRight>,<CtrlF>      Cursor right one word
  1435.  
  1436.      <Home>,<CtrlQ><S>        Cursor to line beginning
  1437.  
  1438.      <End>,<CtrlQ><D>         Cursor to line end
  1439.  
  1440.      <Del>,<CtrlG>            Delete character at cursor
  1441.  
  1442.      <Bksp>,<CtrlH>,<CtrlBksp>Delete character to left of cursor
  1443.  
  1444.      <CtrlEnd>,<CtrlQ><Y>     Delete to end of line
  1445.  
  1446.      <CtrlY>, <CtrlX>         Delete entire line
  1447.  
  1448.      <CtrlHome>               Delete from beginning of line
  1449.  
  1450.      <CtrlT>                  Delete word to right of cursor
  1451.  
  1452.      <Ins>                    Toggle insert mode on or off.  Size of
  1453.                               cursor indicates the mode.  Default is
  1454.                               insert mode off.
  1455.  
  1456.      <CtrlR>,<CtrlQ><L>       Restore original contents of line after
  1457.                               editing
  1458.  
  1459.  
  1460. These editing commands work with responses to other prompts as well.
  1461.  
  1462. Dumping Screens to a File
  1463.  
  1464. When you type a D to dump a screen to an ASCII text file, you are
  1465. asked for a file name.  The next time you type a D, the same file name
  1466. will be proposed.  Hit Return to append to that file, or enter a new
  1467. file name to use a different file.
  1468.  
  1469. Piped Input
  1470.  
  1471. Piped input can present problems when more than one file is piped.
  1472. Suppose you want to pipe all the files in MYDOCS.ZIP to WP5LOOK, using
  1473. Phil Katz's PKUNZIP program.  The command line would look something
  1474. like this:
  1475.  
  1476.      >PKUNZIP -c MYDOCS |WP5LOOK
  1477.  
  1478. This works well if all the files in MYDOCS.ZIP are WP5 document files.
  1479. It will also work well if all the files that are not WP5 document
  1480. files are extracted before the WP5 document files are extracted.  But
  1481. if the WP5 document files are interspersed with the other files, there
  1482. can be a problem.  The reason is that when input is piped, WP5LOOK can
  1483. locate the beginning of a WP5 document file, but it cannot locate the
  1484. end of a WP5 document file.  So once WP5LOOK begins processing a piped
  1485. WP5 document file, it will continue processing until either the end of
  1486. all piped input or the beginning of the next WP5 document file.  Thus
  1487. an ASCII file which follows a WP5 document file in a stream of piped
  1488. input will be displayed as part of the preceding WP5 document file.
  1489. The same is true of binary files, such as EXE and COM files.  However,
  1490. binary files may contain information that will cause WP5LOOK to behave
  1491. in very strange ways.
  1492.  
  1493.  
  1494. XIX.  WPGSIZE
  1495.  
  1496. WPG graphics files identify the dimensions of the "image coordinate
  1497. space" for the graphics they contain, but WP5 never displays that
  1498. information.  WPGSIZE extracts that information from the file and
  1499. displays the full path name of the file, followed by the width and
  1500. height of the image coordinate space in inches.  Normally, you would
  1501. use a wildcard file specification.  By default, the output is then
  1502. sorted by filename.  It can also be sorted by directory (and by
  1503. filename within directories).
  1504.  
  1505. WPG graphics appear with least distortion if the dimensions are in the
  1506. same proportions as the dimensions of the image coordinate space.  In
  1507. principle, WP5 can automatically scale the dimensions of a graphic to
  1508. these proportions, but there may be problems.  The information WPGSIZE
  1509. provides can be used to cope with those problems.
  1510.  
  1511. Usage:     WPGSIZE infile [-Option] .. [-Option]
  1512.  
  1513.             Infile is a WPG file, but may include wildcards.
  1514.                 Default extension is WPG
  1515.             Output to standard output
  1516.             Options:
  1517.              -E  process wildcard through directory trEE
  1518.              -T  Tab rather than spaces in output
  1519.                  By default, the full file name is separated from the
  1520.                  dimensions by spaces in the output.  If you want to
  1521.                  reformat (or sort) the output in WP5, it is
  1522.                  convenient to replace the spaces by a single tab.
  1523.                  You could use MAKETABS to do this, but the -T option
  1524.                  does it directly.
  1525.  
  1526.             Sort options (default is sort by filename):
  1527.              -N          No sort
  1528.              -D          sort on Directory name
  1529.  
  1530.       Example:
  1531.  
  1532.              >WPGSIZE c:\* -T -E
  1533.  
  1534.                Lists all WPG files on drive c, with tabs in the output
  1535.                list instead of spaces.  Output is sorted by filename.
  1536.  
  1537. WPGSIZE can process only 2000 WPG files at a time if you want sorted
  1538. output.  If you want a list with more than 2000 WPG files, use the -N
  1539. option; if you want a sorted list, use another program to do the
  1540. sorting.
  1541.  
  1542.  
  1543. XX.   WPSNOOP
  1544.  
  1545.  
  1546. WPSNOOP displays information concerning its input file(s).  If WPSNOOP
  1547. recognizes an input file as a WPCorp-type file, it at least identifies
  1548. the WPCorp product to which the file is related.  If the file is
  1549. recognized as a WordPerfect file (and it is not for versions earlier
  1550. than 5.0), WPSNOOP reports on the type of file.  If the file is a WP5
  1551. document file, WPSNOOP lists the document summary if one exists, as
  1552. well as the required PRS file and the printer.  If the file is a WP5
  1553. macro file, WPSNOOP lists the macro description.  Used with a wildcard
  1554. input file specification, WPSNOOP can therefore provide useful
  1555. identification for many of the files.
  1556.  
  1557. For WP5 document files and setup files, WPSNOOP optionally provides
  1558. considerably more information, although most WP5 users will not find 
  1559. this information useful.  WPSNOOP can display information about the 
  1560. file prefix -- which data packets are contained in the prefix, where 
  1561. they are located and how large they are.  (Data packets are part of 
  1562. the organizational structure of the file prefix; the term data packet 
  1563. is WPCorp's.) 
  1564.  
  1565. Version information is displayed for various kinds of WPCorp files,
  1566. and it may not be what you expect.  For example, the version number
  1567. for WP50 macros is 1.0, and for WP51 macros it is 1.1.  PRS files and
  1568. ALL files associated with WP51 as originally released have the version
  1569. number 3.3.
  1570.  
  1571. WPSNOOP will display similar information for files associated with
  1572. recent versions of some other WPCorp products.  The information,
  1573. however, is sometimes misleading.  In certain cases, the files used by
  1574. WPerf and other WPCorp programs are actually identical.  In
  1575. distributing files for other programs, WPCorp has simply changed the
  1576. name of the appropriate WPerf file, leaving the file identified
  1577. internally as a WPerf file.  In those cases, WPSNOOP will misidentify
  1578. the WPCorp product with which the file is associated.
  1579.  
  1580. Usage: WPSNOOP infile [infile] [-oOfile [-V]
  1581.  
  1582.                Up to 5 infiles, which may include wildcards.
  1583.  
  1584.                Output is written to standard output, unless Ofile is
  1585.                specified (with -o).  If Ofile is specified, output is
  1586.                in WP50 format.
  1587.  
  1588.                -V option for Verbose report, which includes full map
  1589.                of data packets.
  1590.  
  1591. Limitations:
  1592.  
  1593. With the Verbose option, WPSNOOP may not provide information about a
  1594. few indexes which technically exist but provide no information.  The
  1595. end of useful information is signalled (generally) by an index
  1596. identifying a data packet of the "end of prefix" type.  All data
  1597. packets after the first such data packet are identical (or at least
  1598. provide no useful information).  WPSNOOP reports on only the first of
  1599. these, even though others may exist.  If the index pointing to the
  1600. "end of prefix" data packet has an index number less than 4, enough
  1601. additional identical indexes exist so that the last of them is No. 4.
  1602.  
  1603.  
  1604.         .......................................................
  1605.  
  1606.  
  1607.                              UPDATE NOTES
  1608.  
  1609.  
  1610. Information about changes in WPTOOLS is contained in the Whats.New
  1611. file distributed with the programs.
  1612.  
  1613.  
  1614.                                           David Seidman
  1615.                                     Software by Seidman
  1616.                                  2737 Devonshire Pl. NW
  1617.                                    Washington, DC 20008
  1618.                                CompuServe: [70441,2414]
  1619.  
  1620.  
  1621.  
  1622.  
  1623.                           LICENSE INFORMATION
  1624.  
  1625.  
  1626.  
  1627. WPTOOLS is not in the public domain.  Both the collection and the
  1628. individual programs are fully protected by copyright.  (WPDOCS.NB and
  1629. WPDOCS2.NB are not considered part of WPTOOLS and are in the public
  1630. domain.)
  1631.  
  1632. You are granted without charge a license which permits (a) use of the
  1633. programs for a period of 30 days for evaluation and testing; (b)
  1634. making copies for distribution to others without charge, provided the
  1635. programs and the accompanying documentation are distributed together
  1636. and without modification; (c) posting the programs, together with the
  1637. accompanying documentation, on electronic bulletin board systems.  The
  1638. permissions granted in this paragraph do NOT apply to the programs
  1639. included only in Supplemental Tools; in particular, you are NOT
  1640. permitted to distribute programs in the Supplemental Tools.  (For
  1641. PRINTIT only, you are granted without charge a license to use the
  1642. program for as long as you like.)
  1643.  
  1644. Use after the 30 day evaluation and testing period requires payment of
  1645. a license fee.  For a single copy (plus necessary archival copies), to
  1646. be used on only one computer at a time, the fee is $25.00.  For your
  1647. convenience, an invoice form is included below.  For large quantities,
  1648. discounts and site licenses are available.  Write for information.
  1649. Any license for which payment is properly made is valid for this
  1650. version of WPTOOLS and all subsequent versions.
  1651.  
  1652. What do you get for your license fee?  You get the programs in
  1653. Supplemental Tools, which are not distributed for evaluation, as the
  1654. WPTOOLS package itself is.  You get permission to use the programs and
  1655. the warm feeling that you are not violating the copyright laws.  If
  1656. you pay the license fee to me and tell me the version you have (or if
  1657. I can figure out what version you have), I will send you the next
  1658. version (unless the next version involves a trivial change too small
  1659. to worry you about).  After that, I will send you notification of
  1660. further new versions.  And if you let me know about any problems you
  1661. have with the programs, I will try to solve them.
  1662.  
  1663. Users groups and other not-for-profit organizations may distribute
  1664. unmodified copies of WPTOOLS (not including Supplemental Tools),
  1665. together with its accompanying documentation, for a fee to cover
  1666. duplication and related costs, but not to exceed $6.00.  Your payment
  1667. of such a fee does not eliminate the requirements concerning payment
  1668. of a license fee.  Certain organizations may have been granted
  1669. permission to distribute the program for a fee larger than $6.00, the
  1670. larger fee to include the license fee for a single copy.  If the
  1671. organization from which you received a copy of the program has been
  1672. granted that permission, it should tell you so.
  1673.  
  1674. The United States Department of Justice is granted a license, without
  1675. payment of fee, for all official use of WPTOOLS, including the
  1676. Supplemental Tools.
  1677.  
  1678.  
  1679.  
  1680.  
  1681.                          WARRANTY INFORMATION
  1682.  
  1683.  
  1684. These programs are distributed without warranties of any kind, express
  1685. or implied, including, but not limited to, the implied warranties of
  1686. merchantability and fitness for a particular purpose.
  1687.  
  1688. No representation or other affirmation of fact, including but not
  1689. limited to statements regarding suitability for use, or performance of
  1690. the programs, shall be or be deemed a warranty by the licensor for any
  1691. purpose, nor give rise to any liability or obligation of the licensor
  1692. whatever.
  1693.  
  1694. In particular, no statement in program documentation shall be deemed a
  1695. representation or warranty that the programs will perform in any
  1696. particular manner, or perform in any manner whatsoever, or that the
  1697. programs are suitable for any particular use or any use at all.
  1698.  
  1699.  
  1700.  
  1701.  
  1702.                                 Invoice
  1703.  
  1704.  
  1705. David Seidman
  1706. Software by Seidman
  1707. 2737 Devonshire Place, N. W.
  1708. Washington, D. C. 20008
  1709.  
  1710.                                               DATE:
  1711.  
  1712. SOLD TO:
  1713.  
  1714. __________________________
  1715. __________________________
  1716. __________________________
  1717.  
  1718.  
  1719. ┌──────────────────────────────────────┬────────────────────────┐
  1720. │ Description                          │     Price              │
  1721. │                                      │                        │
  1722. ├──────────────────────────────────────┼────────────────────────┤
  1723. │                                      │                        │
  1724. │ License for WPTOOLS5                 │      $   25.00         │
  1725. │                                      │                        │
  1726. │ additional licenses @ $25.00         │       _____.__         │
  1727. │                                      │                        │
  1728. │                                      │                        │
  1729. │                                      │                        │
  1730. │                                      │                        │
  1731. └──────────────────────────────────────┴────────────────────────┘
  1732.  
  1733.                                 Total:       $_____.__
  1734.  D.C. Residents add 6% D.C. Sales Tax:          ___.__
  1735.  
  1736.                          Total Charge:       $_____.__
  1737.  
  1738.  
  1739. Make checks payable to Software by Seidman.  Please mark checks
  1740. "WPTOOLS5".
  1741.