home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / lj2.lha / LJ2.DOC < prev    next >
Text File  |  1988-03-07  |  7KB  |  161 lines

  1.                                LJ2
  2.                                ---
  3.                            
  4.    This program will take a standard text file as an input and print it
  5. out to a Hewlett Packard LaserJet, LaserJet Plus, LaserJet Series II or 
  6. compatibles.
  7.  
  8.    The main feature of the program is that it prints the file using a
  9. small landscape font, usually called the lineprinter font, and will fit
  10. two 'logical' pages of text on a standard paper.
  11.  
  12.    The paper will come out in the following format:
  13.  
  14.  ____________________ ____________________
  15. |                    |                    |      Each page will have a title
  16. |                    |                    |  which includes: The name of the
  17. |                    |                    |  file being printed, the current
  18. |                    |                    |  date & time,  and the number of
  19. |                    |                    |  the page that is being printed.
  20. |                    |                    |
  21. |                    |                    |      
  22. |                    |                    |
  23. |                    |                    |
  24. |                    |                    |
  25. |                    |                    |
  26. |                    |                    |
  27. |____________________|____________________|
  28.  
  29.  
  30.    The program can only be started from the CLI.  The following is the format
  31. for using it.  (If you just typed the program's name without anything else,
  32. you will get the following text:)
  33.    
  34.  
  35.   LJ2 :  Print two logical pages of text on the HP LaserJet
  36.          or compatible using a small landscape font.
  37.  
  38. Format:  lj2  [<option>] <filename> [<destination>]
  39.  
  40. Where :  <filename> is the name of the file to be printed.
  41.  
  42.          <destination> is where the output should go.
  43.            The default for this is the printer selected from
  44.            Preferences which is currently <PAR:>
  45.  
  46.          <option> is one or more of the following:
  47.            -x     Turns on single page extra wide print.
  48.            -h     Disable headers.
  49.            -v     Disable vertical line.
  50.            -s     Disable time and date stamp.
  51.            -p     Disable display of page number on console.
  52.            -f     Disable interpretation of FormFeeds in inputfile.
  53.            -n     Enable line numbering. (resets every page.)
  54.            -N     Enable line numbering. (for all document.)
  55.            -l###  Number of lines per page.                       < 65>
  56.            -w###  Max # of characters that will fit on full page. <188>
  57.            -c###  Max number of columns per logical page.         < 92>
  58.            -t###  Number of spaces to represent a TAB.            <  5>
  59.            Options can be grouped as follows: -hvsfl62w190t3
  60.  
  61.                                   By: Khalid Aldoseri,  CIS 75166,2531.
  62.  
  63. For example:
  64.  
  65.    lj2 -sl60f ram:test SER:
  66.    
  67.        This will print the file <ram:test> to the serial port without a time
  68.        and date stamp, with 60 lines of text per page, and without issuing a
  69.        new page every time a FormFeed character is met in the file.
  70.        
  71. The simplest form is:
  72.  
  73.    lj2 ram:test
  74.    
  75.        which just prints the file with the default settings and with all
  76.        options ON to the currently selected port from Preferences.
  77.        
  78.    The program is currently set for a paper size of A4.  I only have the A4
  79. paper cartridge and cannot get my hands on any other.  I have manually
  80. calculated the settings for Letter size paper.  These settings and the
  81. default settings are in the following table:
  82.  
  83.        +-----------------------------+---------+----------+
  84.        |    Variables                |    A4   |   Letter |
  85.        |-----------------------------|---------|----------|
  86.        | Lines per page              |    66   |     66   |
  87.        | Max page width              |   188   |    174   |
  88.        | Max columns per logical page|    92   |     84   |
  89.        +-----------------------------+---------+----------+
  90.  
  91.    Please experiments with these settings if you have different paper
  92. cartridges,  and inform me what are the optimal settings that you can get
  93. (the most text on the paper) so that I can include it in my next version
  94. which will include support for directly specifying paper size instead of
  95. having to set several numbers. (e.g. A4, Letter, Legal, etc.) 
  96.  
  97.  
  98. New Features:
  99.  
  100.     Wide Print Facility:
  101.     
  102.     It is turned on by the -x switch, and forces the program to print one
  103. page per sheet only, but in a very wide style, (188 characters per line on
  104. an A4 paper.)  (I know this makes the name LJ2 somewhat redundant, but what
  105. the h*ll!)
  106.  
  107.     Line Numbering:
  108.     
  109.     Turned on by either -n or -N (case sensitive).  The -n switch puts line
  110. numbers in front of each line, and the numbers are reset every page, while
  111. the -N switch will give you line numbering for the whole file.  You should
  112. not specify both options together, but -N will always override -n.
  113.  
  114.     Configuration file:
  115.     
  116.     This is a new option.  Please read the LJ2_Config file for explanation
  117. on use.
  118.  
  119. ----------------------------------------------------------------------------
  120.  
  121.    The idea for the program comes from an very similar program in the
  122. IBM PC world called (naturally) LJ2, although it is now much better than
  123. the IBM version, and will continue to get better.  The main reason for this
  124. is that I personally use it very much for all draft printouts.  This is placed
  125. in the Public Domain.
  126.  
  127.    If you find any bugs in the program, or would like to see some other 
  128. enhancements,  or even if you like to see the source code, you can send an
  129. EasyPlex on CIS to 75166,2531 or a message in the Amigaforum,  to BDG811
  130. in the Source, or to KHALID in BIX.
  131.  
  132. -------------------------------------------------------------------------------
  133.  
  134.                             UPDATE HISTORY
  135.                             --------------
  136.  
  137. Version 1.3:                                                     29 July 1987
  138.     Much more optimization for speed.  Now works very well with even two or
  139.     three other programs running.
  140.     
  141.     
  142. Version 1.4:                                                       7 Feb 1988
  143.     Conversion to run with Manx Aztec 3.40a, plus a few bug fixes.  The
  144.     program now behaves very well in a multitasking environment, and will
  145.     not hog the system.  (I hope!)
  146.     
  147.     
  148. Version 1.5:                                                      12 Feb 1988
  149.     New features:
  150.         - Wide print facility on a single page.  Major rewrite.
  151.         - Line numbering:  both per page, and for the whole file.
  152.     
  153.     
  154. Version 1.6:
  155.     New LJ2_Config file facility to read in a configuration file that will
  156.     override the built-in defaults.
  157.     
  158.     
  159.                                                    By:  Khalid Aldoseri,
  160.                                                         CIS: 75166,2531.
  161.