home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / LJ2UP25.ZIP / LJ2UP.DOC next >
Text File  |  1991-01-17  |  6KB  |  171 lines

  1. LaserJet landscape lister, version 2.5
  2. Copyright (c) 1987 by Joe Barnhart
  3. OS/2 Version (c) 1988 by Martin Heller
  4. LJ III-D Version (c) 1990 by Guy Scharf, Software Architects, Inc.
  5.  
  6.  
  7.  
  8. LJ2UP prints files "two up" on an HP LaserJet or compatible.  Using a
  9. II-D or III-D printer, it will optionally print on both sides of the
  10. paper, resulting in 4 pages being printed on a single sheet of paper.
  11. This saves desk space and filing space, not to mention trees. 
  12. Optionally, use a HP III or III-D printer, it will print index tab
  13. dividers.
  14.  
  15.  
  16.  
  17. SYSTEM REQUIREMENTS
  18.  
  19. LJ2UP requires an HP printer or compatible.  A landscape line printer
  20. font must be available, either internally in the printer or in a
  21. cartridge.
  22.  
  23. The index tab feature requires a HP III or III-D printer and the
  24. Univers font in 14 point bold.
  25.  
  26. LJ2UP is a bound program, and works with both DOS and OS/2.  Under
  27. OS/2, LJ2UP works in both full-screen and PM text windows.  LJ2UP is
  28. a character mode program and not a PM window program.
  29.  
  30.  
  31. USAGE
  32.  
  33.     LJ2UP [switches] [filenames]
  34.  
  35. The following switches are available:
  36.  
  37.     -x      turn off date and time stamp             
  38.  
  39.             By default, a date and time stamp is printed at the
  40.             bottom of each page.  The -x option turns off this
  41.             line.
  42.  
  43.     -s      enable Forth screenfile mode             
  44.             
  45.             Prints file as Forth screenfiles.
  46.  
  47.     -v      disable vertical line            
  48.     
  49.             By default, a vertical line is printed between the
  50.             left and right pages.  The -v option turns off this
  51.             line.
  52.  
  53.     -t<num> spacing of tab stops                     
  54.             
  55.             If tab characters are in the file, they are interpreted
  56.             as being spaced 8 characters apart.  If you want a 
  57.             different definition for tab width, use this option.
  58.             For example, to translate physical tab characters as
  59.             4 spaces, use -t4.
  60.  
  61.     -p<num> print length in lines                    
  62.  
  63.             Normally, with date and time stamp enabled, 65 lines
  64.             are printed on each page.  Any page ejects in the file
  65.             will be honored.  If you want the default number of
  66.             lines per page to be different, use this parameter.
  67.             For example, -p50 will make a page 50 lines long.
  68.  
  69.     -i      IBM mode, 66 lines, no FF's              
  70.  
  71.     -d      turn on duplex printing                  
  72.  
  73.             If you have a duplex printer such as the HP II-D or
  74.             III-D, this option will enable the printer to print
  75.             on both sides of the paper.
  76.  
  77.     -b<num> paper bin (1=top, 2=bottom, 3=manual)    
  78.  
  79.             By default, paper is selected from the default input
  80.             tray on the printer.  If you have a HP II-D or III-D
  81.             printer, you can select the second input tray by
  82.             using the -b2 option.  The -b3 option will cause the
  83.             printer to take paper from the manual feed.
  84.  
  85.     -c      combine files on one sheet               
  86.  
  87.             When using the -d option to enable duplex printing, each
  88.             separate file printed will start on a new physical sheet
  89.             of paper.  This means that the back side of the last 
  90.             sheet of paper for a file may be blank.  The -c option
  91.             forces the next file to be printed on the back of the
  92.             blank sheet from the previous file, if the back page
  93.             of the last file was blank.
  94.  
  95.     -m<num> create index divider tabs [start pos]    
  96.  
  97.             The -m option causes index tabs to be printed for each
  98.             file.  There are six index tab positions, numbered from
  99.             1 to 6.  If no number is specified, the index tab for the
  100.             first file will be at position 1.  Each successive file
  101.             will have its index tab at the next position.
  102.  
  103.     -n<str> name to print on index tab               
  104.  
  105.             If index tabs are enabled, the name printed on the tab is
  106.             the name of the file.  If you want some other name
  107.             printed on the tab, use this option.
  108.  
  109.     -o<str> output device or file               
  110.     
  111.             Output is normally directed to the standard printer.  To
  112.             direct output to another device or file, use this option.
  113.  
  114. Switches may be combined.
  115.  
  116.  
  117. EXAMPLES
  118.  
  119.  
  120. 1)  To print LJ2UP.DOC, with two pages on one side of the paper and
  121. no index tabs:
  122.  
  123.     lj2up   lj2up.doc
  124.  
  125. 2)  To print all *.C files in the current directory, on both sides of
  126. the paper (using a HP II-D or III-D), with index tabs, using paper in
  127. the second tray:
  128.  
  129.     lj2up   -dmb2  *.c
  130.  
  131. 3)  To print a READ.ME file that accompanies some product, but using
  132. an index tab with a more appropriate name of "NEWPROG.DOC", and using
  133. the 2nd tab position:
  134.  
  135.     lj2up   -dm2 -nNEWPROG.DOC read.me
  136.  
  137.  
  138. SETTING DEFAULT VALUES IN ENVIRONMENT VARIABLES
  139.  
  140. If you commonly use the same parameters, you may specify those
  141. parameters in a LJ2UP environment variable.  For example, if you
  142. always use -dbm2, then place the following statement in your
  143. AUTOEXEC.BAT file:
  144.  
  145.     set lj2up=-dmb2
  146.  
  147. Now, each time you use LJ2UP, these parameters will be applied
  148. automatically.
  149.  
  150.  
  151. HISTORY
  152.  
  153. V 2.5   Guy Scharf, January 17, 1991
  154.  
  155.         Add support for duplex printing, index tabs, paper tray
  156.         selection, and more lines on each page.  This version is a
  157.         bound program for use with both DOS and OS/2.
  158.  
  159. V 2     Martin Heller   OS/2 version                    June 30, 1988
  160.  
  161.         Joe Barnhart    added vertical line to page     Apr 3, 1987
  162.                         prt redirect                    Oct 26, 1986
  163.         Joe Barnhart    added wildcards, split long 
  164.                         lines, command line switches, 
  165.                         screenfiles                     July 24, 1986
  166.         Ray Duncan      modified for Microsoft C        Oct. 18, 1985
  167.         Joe Barnhart    added pathname support, 
  168.         Joe Barnhart    revised date stamping           June 6, 1985
  169.         Ray Duncan      date and time stamping          May 22, 1985
  170.         Joe Barnhart    original version for Lattice C  May 5, 1985
  171.