home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / print / 2col30.zip / 2COL.DOC next >
Text File  |  1992-04-10  |  19KB  |  516 lines

  1.                                  2col
  2.  
  3.                          Shareware Version 3.0
  4.  
  5.                       A Compressed Print Utility
  6.  
  7.                             Copyright 1992
  8.                                   by
  9.  
  10.                           ARCaine Technology
  11.                             960 Neilson St
  12.                            Albany, CA 94706
  13.                             (510) 527-9859
  14.  
  15.                           All Rights Reserved
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. Introduction
  24.  
  25.   2col prints an ASCII text file in two columns,each up to 80
  26.   characters wide, on standard width paper. It eliminates
  27.   consecutive blank lines and prints at 20 characters/inch.
  28.  
  29.   2col is designed to be extremely easy to use. The default settings
  30.   will accommodate most printing needs. On most printers
  31.   you can print a document by simply typing: 2COL [filename] <enter>
  32.   For example, to print this manual type:2COL 2COL.DOC <enter>
  33.   To see a demonstration of 2COL's many print modes you can
  34.   type: DEMO2COL [9 or 24] <enter>
  35.  
  36.   2col is intended to greatly reduce the huge volume of paper that
  37.   results from printing reference manuals and text files. Regular
  38.   use of this program should cut your paper bill by 60 to 70
  39.   percent. It provides excellent readability (unlike other
  40.   compressed print programs) while compressing an average of
  41.   four pages of source material onto one side of a sheet of
  42.   paper. By using its even/odd alternate side print feature eight
  43.   pages of text can be printed using both sides of a page. Since the
  44.   normal draft mode of printing is used it is also much faster than
  45.   those programs which rely on nonstandard print modes.
  46.  
  47.   By reducing the volume of paper, 2col also reduces storage
  48.   requirements and the bulk one has to carry around when traveling.
  49.  
  50.   As a side benefit, many 2col users actually find it easier and
  51.   faster to read the compressed versions than the originals because
  52.   they can take in more words at one time without having to scan
  53.   across the page.
  54.  
  55.   2col will optionally print in subscript mode - doubling the amount
  56.   of text contained on a single sheet to a total of sixteen pages -
  57.   with a significant loss in legibility and printing speed. This
  58.   mode is intended mainly for archival use not for documents that
  59.   will be read frequently.
  60.  
  61.   This program will work on most dot-matrix printers which provide
  62.   17 characters/inch compressed printing but is especially intended
  63.   for newer printers which have a compressed/elite mode (20 char/in)
  64.   allowing two complete 80 character lines to be printed across the
  65.   page. Printers which support 20 char/inch include:KXP1180,KXP1124,
  66.   FX86, 200GX,LQ-series,etc.
  67.  
  68.   Since most printers do not show the 20 char/inch mode on the front
  69.   panel, you should check the manual or just try printing with 2col.
  70.   If your printer supports 20 char/in but does not operate properly
  71.   with 2col, let me know and I will try to provide you with an
  72.   updated version that is compatible with your printer.
  73.  
  74.  
  75. IMPORTANT!
  76.  
  77.   The 20 char/in mode on many printers cannot be accessed by
  78.   software if the DIP switches inside the printer are set for IBM
  79.   mode. The printer MUST be set for the Epson/Standard mode. 2col
  80.   will optionally supply the control characters to cause the full
  81.   IBM character set to print. Also, your printer should have the
  82.   auto linefeed switch turned off. If your printer has a front panel
  83.   pitch control, it should be set to program mode.
  84.  
  85.  
  86. 24-Pin (LQ type) Printers
  87.  
  88.   To print this manual on a 24-pin printer, type:
  89.   COPY 2COLLQ.DOC PRN <enter>
  90.  
  91.   2COLLQ.DOC is an output file generated by the registered version
  92.   of 2COL. By printing this file, you can verify that your printer
  93.   is compatible with 2COL. You can also test 24-pin printer support
  94.   in the demo mode by typing:2COL -K -Q [filename] <enter>.
  95.  
  96.   I have not included 24-pin printer support in the unregistered
  97.   version because, so far, this is the only way I have been able to
  98.   get any registrations. Those with 24-pin printers can run the
  99.   unregistered version, but will find that pages print too long. The
  100.   registered version of 2col supports 24-pin printers. If you are in
  101.   any way dissatisfied with 2COL you will promptly receive a full
  102.   refund.
  103.  
  104.  
  105. Registration
  106.  
  107.   I will keep improving the program if I know enough people are
  108.   finding it useful.
  109.  
  110.   My registration policy is very flexible. The nominal fee is $20 US
  111.   If you don't feel you will get $20 worth of use out of the
  112.   program, send whatever it is worth to you. If you are impoverished
  113.   and can't afford to pay anything, send me a stamped self-addressed
  114.   envelope and I will send you a registered version of 2col.
  115.  
  116.   This is not freeware or public domain. Shareware is simply a means
  117.   of marketing commercial software. You are required to register if
  118.   you intend to use this program after a reasonable trial period.
  119.  
  120.   When registering, please tell me the version number you have and
  121.   where you obtained your copy of 2col. Registration checks should
  122.   be made payable to "Tony Caine".
  123.  
  124.   2col should be registered for the maximum number of copies that
  125.   can be used simultaneously. Multi-site fees for commercial users
  126.   can be negotiated.
  127.  
  128.  
  129.  
  130. Registered version features
  131.  
  132.  
  133. * 24-Pin (LQ type) printer support.
  134.  
  135.  
  136. * Automargin
  137.  
  138.    The automargin option is extremely useful for those who need to
  139.    punch holes for binding. 2col scans the entire document before
  140.    printing and, in effect, moves all the available "white space"
  141.    from the center (and, if necessary,from the right margin) of the
  142.    document to the left margin.
  143.  
  144.    To get an idea of how Automargin operates, type: 2COL 2COL.DOC
  145.    <enter>. This will print with the default settings of 2col. Then
  146.    type: 2COL 2COL.DOC -K -U8 <enter>. This will print a one page
  147.    demo using automargin.
  148.  
  149. * Multiple document names
  150.  
  151.    Multiple document names and wildcards can be entered on the
  152.    command line.
  153.  
  154.  
  155. * Append
  156.  
  157.    When specifying multiple documents to print, registered users
  158.    have the choice of starting each file at the beginning of a page
  159.    or treating all documents as one continuous file without breaks.
  160.  
  161.  
  162. * Redirection of output
  163.  
  164.    Registered users can choose to send the output to a disk file for
  165.    later printing in background (while running other programs) or
  166.    they can send to LPT2, COM1, COM2, etc.
  167.  
  168.  
  169. * Pagefix
  170.  
  171.    Prints a specified number of pages per column retaining original
  172.    line spacing and page breaks.
  173.  
  174.  
  175. * The registration screen is eliminated, of course.
  176.  
  177.  
  178.  
  179. Terminology
  180.  
  181.   Since several pages from the original source file are combined
  182.   onto a single page of printer output, there may be some confusion
  183.   about the word "page." We will always refer to the original
  184.   document pages as "source pages." What is actually printed will
  185.   simply be called "pages."
  186.  
  187.  
  188.  
  189. Usage:
  190.  
  191.   2col  [options] path\filename [options] [path\filename]...
  192.  
  193.  
  194.   Options may be specified in any order before and/or after the file
  195.   name(s). Options MUST be separated from each other by spaces and
  196.   preceded by a "-". Upper and lower case are interchangeable.
  197.  
  198.  
  199.  
  200.  
  201.   Options are defined as follows:
  202.  
  203.    -Lxx = Each column will be xx lines long
  204.    -Cxx = No more than xx consecutive blank lines will be printed
  205.    -Sxx = Skip xx pages before starting to print
  206.    -O   = Print only odd # pages
  207.    -E   = Print only even # pages
  208.    -Wxx = column width (number of characters in each column)
  209.    -P   = Pause before printing each page.
  210.    -N   = Prints filename and page # at lower left corner
  211.    -D   = Delimit each (source) page with a line and page #
  212.    -T   = Truncate long lines instead of wrap.
  213.    -G   = Enable full IBM graphics set.
  214.    -Fx  = Put a margin of x blank lines at the top of each page.
  215.    -K   = Print a one page demo in registered mode.
  216.  * -Mx  = Set left margin.(CAUTION:READ INSTRUCTIONS BEFORE USING)*
  217.  
  218.  
  219.                 *Options for registered users only*
  220.  
  221.    -Q   = 24-pin printer line spacing.
  222.    -A   = Append multiple files.
  223.    -Z   = Route output to disk.
  224.    -Ux  = Scans file before printing and sets margins automatically.
  225.    -Xx  = Print x pages/column preserving page breaks & format
  226.  
  227.   When more than 102 lines/page requested,shifts to subscript
  228.   (half-height) mode. When column width is less than 69 chars,uses
  229.   compressed mode (17 char/in.) When column width is greater than
  230.   68 uses compressed/elite (20 char/in.)
  231.  
  232.   Defaults: 80 characters/column;88 lines/page;1 consecutive blank
  233.            line; no pause before printing page; do not number pages;
  234.            wrap (not truncate) long lines;4 blank lines at top of
  235.            page.
  236.  
  237.  
  238. Description of options
  239.  
  240.  
  241.    -Lxxx
  242.  
  243.       Each column will contain xxx lines of data. Line spacing will
  244.       be automatically adjusted to approximately fill the page.
  245.       Characters will be normal (pica) height until more than 102
  246.       lines/column are specified; printer will then shift to
  247.       subscript mode allowing up to 220 lines/column. Default value
  248.       is 88.
  249.  
  250.  
  251.     -Cxx
  252.  
  253.       Pages of text frequently contain many blank lines of data.
  254.       Experience has shown that most of these can be discarded
  255.       without sacrificing readability. This option specifies that
  256.       when there are more than xx consecutive blank lines, the
  257.       excess will be discarded. If you set xx=66, 2col will print
  258.       each page in its original format without discarding any blank
  259.       lines. The default value is 1.
  260.  
  261.  
  262.     -Sxx
  263.  
  264.       This feature is useful if you have a paper jam or decide to
  265.       print part now and part later. Using this option will cause xx
  266.       pages to be skipped before printing begins. For example,
  267.       specifying "-S2" will cause printing to begin with page 3.
  268.  
  269.  
  270.     -O
  271.  
  272.       This and the -E option allow you to print on both sides of
  273.       each sheet of paper. By specifying "-O", only the odd numbered
  274.       pages will be printed. When printing is complete,reload the
  275.       first page back into the printer with the blank side facing
  276.       the print head and rerun 2col using the -E option.
  277.  
  278.  
  279.     -E
  280.  
  281.       Prints only even numbered pages. When using this option after
  282.       the -O option be sure to shift the paper about 1/2 inch to the
  283.       right before starting to print, to allow space for hole
  284.       punching or other binding requirements.
  285.  
  286.  
  287.     -Wxx
  288.  
  289.       This option specifies how wide each column will be. Wrapping
  290.       or truncating will begin at this position. It also determines
  291.       the print density. If xx is 68 or less, the printer will use
  292.       compressed mode (137 characters across the page). If xx is 69
  293.       or larger the printer will use compressed/elite (160
  294.       characters/line). If your printer does not support
  295.       compressed/elite and you try to use it, you will end up with a
  296.       mess. You should then specify xx as 68 and decide whether you
  297.       want to truncate long lines or wrap them. You may first want
  298.       to use a word processor to do a word wrap since 2col will wrap
  299.       in mid-word.
  300.  
  301.  
  302.     -P
  303.  
  304.       Program will pause before printing each page. Hit any key to
  305.       print a page. This option is useful if you are feeding single
  306.       sheets to the printer.
  307.  
  308.  
  309.     -N
  310.  
  311.       This will cause the filename and page number to be printed in
  312.       the lower left-hand corner of each sheet. To avoid confusion
  313.       when using the -S, -O and -E options the page numbering is not
  314.       reset for each document when multiple documents are specified
  315.       on the command line(registered version only).
  316.  
  317.  
  318.     -D
  319.  
  320.       If you need to keep track of each source page, this option
  321.       will print a dashed line with a page number in the middle
  322.       whenever a form feed is encountered or after 66 lines of data.
  323.       Experience has shown that this option will be rarely used
  324.       because most documents either number their own pages or it is
  325.       just not important to keep track of original page breaks.
  326.  
  327.  
  328.     -T
  329.  
  330.       Normally when lines longer than the specified column width are
  331.       encountered, 2col will wrap the data to the next line. If you
  332.       prefer to truncate or discard excess characters on a line, you
  333.       should invoke this option.
  334.  
  335.  
  336.  
  337.     -G
  338.  
  339.       Sends control codes to enable full IBM graphics set (ASCII
  340.       128-255). The graphics set includes line drawing characters
  341.       and foreign alphabets.
  342.  
  343.  
  344.  
  345.  
  346.     -Fx
  347.  
  348.       2col will insert x blank lines at the top of each page before
  349.       printing. The default is 4.
  350.  
  351.  
  352.     -Mx
  353.  
  354.       CAUTION: IMPROPER USE OF THIS OPTION WILL CAUSE YOUR PRINTER
  355.       TO PRINT PAST THE BOTTOM OF THE PAGE.
  356.  
  357.       This command sets the left margin x spaces from the edge of
  358.       the page. Default is 0. Use this option with caution! Most
  359.       standard width printers only have 160 print positions across
  360.       the page. If you insert spaces with a margin command, the
  361.       printer will wrap characters that go past the 160th print
  362.       position to the left side of the page, causing  extra lines
  363.       to be inserted. If you use a left margin of 5, for example,
  364.       you might have to set the column width to -W77 to prevent
  365.       wraparound (this is only necessary if printable characters
  366.       would be pushed past the 160th column- blanks don't matter).
  367.  
  368.       The easiest way to achieve a left margin without having to
  369.       worry about characters wrapping is to use the Automargin
  370.       option (-Ux) described below.
  371.  
  372.       Given the limitations of standard width printers, it is
  373.       suggested that you permanently shift your paper several spaces
  374.       to the left. You can adjust your word processor margin
  375.       settings to compensate, so that normal printing will be
  376.       unaffected.
  377.  
  378.  
  379.     -K
  380.  
  381.       Including this option on the command line allows any
  382.       registered option listed below to be used, but only for a
  383.       one page demo. This option allows you to explore the
  384.       options available to registered users.
  385.  
  386.  
  387.  
  388.       ***Options below are only in the registered version of 2col***
  389.  
  390.     -Q
  391.  
  392.       Adjusts line spacing for 24-pin printers.
  393.  
  394.  
  395.     -A
  396.  
  397.       When multiple files are specified on the command line
  398.       (registered version only) you have the option of either
  399.       starting a new page for each file (default) or appending them
  400.       as though they were one continuous file. The -A option causes
  401.       them to be appended.
  402.  
  403.  
  404.     -Ux
  405.  
  406.       The aUtomargin function allows you to obtain as much margin as
  407.       possible according to the format of the document. 2col scans
  408.       the entire document before printing and adjusts the column
  409.       width to gain as much space on the print line as possible.
  410.       The space obtained is allocated to the left margin until the x
  411.       value you entered is reached. The remaining space, if any, is
  412.       then added to the right margin.
  413.  
  414.       If you have specified the -E option (to print on the reverse
  415.       side of the page), the first available space is used to create
  416.       a right margin (for binding) rather than a left margin.
  417.  
  418.  
  419.     -Zfilename
  420.  
  421.       Allows output to be routed to a file instead of to the
  422.       printer. The file can then be printed in background while
  423.       running other programs. For example, to send output to a file
  424.       called PRINT.TXT, you should include -ZPRINT.TXT on the
  425.       command line.If PRINT.TXT does not exist, it will be created.
  426.       If PRINT.TXT already exists, 2col output will be appended to
  427.       the end of the file. This command is only active in the
  428.       registered version of 2col. This option can also be used to
  429.       redirect output to LPT2, COM1, COM2, etc.
  430.  
  431.  
  432.    -Xx
  433.  
  434.       Prints exactly x pages in each column preserving original page
  435.       breaks and not suppressing consecutive blank lines. Thus the
  436.       original page formatting is maintained. Allowed range of x
  437.       is 1-3.
  438.                          -X option page formats:
  439.  
  440.              x=1                  x=2               x=3
  441.  
  442.            111 222              111 333           111 444
  443.            111 222              111 333           111 444
  444.            111 222              111 333
  445.            111 222                                222 555
  446.            111 222                                222 555
  447.            111 222              222 444
  448.            111 222              222 444           333 666
  449.            111 222              222 444           333 666
  450.  
  451.  
  452.  
  453. Examples:
  454.  
  455. 2COL 2COL.DOC -L102 <enter>  will print 102 lines/column
  456.  
  457. 2COL 2COL.DOC -L102 -N will print 102 lines/column and number pages.
  458.  
  459. 2COL 2COL.DOC -G -N  will number pages and enable IBM graphics set.
  460.  
  461.  
  462.  
  463.  
  464. Using 2COL with a word processor
  465.  
  466.     2COL will not work with most word processor documents in their
  467.     original form; but most word processors have what is called an
  468.     ASCII output or DOS output mode which 2COL will work with.
  469.  
  470.     For example, with WordPerfect, you can create a 2COL usable
  471.     file with the sequence: Control-F5,1,Save.
  472.  
  473.  
  474. Suggested Usage with most often used options
  475.  
  476.     Create a batch file named "2.bat" containing a call for 2col
  477.     with your most often used options as part of the command line.
  478.     You need then only type "2" followed by the filename you wish to
  479.     print. You could also include options you wish to add or
  480.     override as part of the call. For example 2.bat might contain
  481.     the following line:
  482.  
  483.       2col -G -N -L96 %1 %2 %3 %4
  484.  
  485.     (%2 %3 %4 are there in case you enter options or additional
  486.     fileneames)
  487.  
  488.     The above set of options would cause each page to be 96 lines
  489.     long and numbered at the bottom. IBM graphics characters would
  490.     also print.
  491.  
  492.  
  493. Distribution
  494.  
  495.     Permission is hereby given to copy and distribute this program
  496.     as long as no fee other than a minimal (<$10) handling cost is
  497.     charged. Please include all files in their original unmodified
  498.     form when distributing this program.
  499.  
  500.  
  501. Ye olde disclaimer
  502.  
  503.     The author has made all good faith attempts to provide a
  504.     reliable product. But there are no guarantees expressed or
  505.     implied that this program will work perfectly (or indeed at all)
  506.     or that it won't cause your data or hardware to self destruct.
  507.     If you are a registered user and become dissatisfied with the
  508.     program for any reason, I will be glad to refund your
  509.     registration fee but will not be liable for any damage(s)
  510.     whatever resulting from the use of this program.
  511.  
  512.  
  513.                                                      -Tony Caine-
  514.  
  515. GEnie mail:A.CAINE
  516.