home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PRINT / CPRT218.ZIP / CPRINT.TXT < prev    next >
Text File  |  1994-02-18  |  7KB  |  169 lines

  1. CPRINT 2.18 ■ LaserJet Code Printer with Comment Hi-Lighting              ║
  2. Copyright (c) 1991-94 Cactus Software.  All rights reserved.     Cactus ║ ║ ║
  3.                                                                Software ╚═╣ ║
  4. CPRINT is a refinement of the common utility to print          (c) 1994   ╠═╝
  5. "two up" on LaserJet compatible printers.  I wrote CPRINT
  6. after spending half an hour trying to understand a section of someone else's
  7. program, before realizing that that section was commented out.  CPRINT
  8. hi-lights remarks in program code by printing them in bold text.
  9.  
  10. The default print orientation will print two page side by side with each
  11. page containing 66 lines of 80 characters.  The portrait orientation (/P1)
  12. prints a single page with 93 lines of 120 characters.  (Great for reading
  13. long lines of Pascal or C code!)  Lines longer than the maximum are indicated
  14. with a "»" character in the right margin and will be wrapped to the next line
  15. (or truncated if the /W0 option is set).
  16.  
  17. If you use the standard filename extensions for your source files (e.g. .PAS
  18. for Pascal), CPRINT will be able to identify the remarks in your file.  For
  19. non-standard names, specify the remark style using the Language [/Ln] parm.
  20.  
  21. Revision History:
  22.  
  23. 2.18  Added line number printing capability.
  24.  
  25. 2.17  Added logic to print light background stripes on page.
  26.       Ignore unknown program switches.
  27.       Fixed bug with specifying partial pathnames.
  28.  
  29. 2.16  Fixed network printing problem.
  30.       Fixed printer status check.
  31.  
  32. 2.15  First public release.
  33.  
  34. Usage:   CPRINT input [dest] [options]
  35.  
  36.    input - File(s) to be printed    (e.g. c:\source\*.c*)
  37.     dest - Output (defaults to PRN) (e.g. LPT2: or SOURCE.PRN)
  38.  
  39. Options: (defaults are indicated by '*')
  40.  
  41. Box Style [/Bn]
  42.   /B0  No boxes are printed
  43.  */B1  Each column is boxed
  44.   /B2  Line is printed on the top, bottom and between columns
  45.   /B3  Line is printed on the top and between columns
  46.  
  47. Header Placement [/Hn]
  48.   /H0  No file or page information is printed
  49.   /H1  File and page information across the top of the page
  50.  */H2  File and page information across the bottom of the page
  51.  
  52. Language [/Ln]
  53.  */L0  AutoDetect - determined by extension of filename as shown below
  54.   /L1  Assembler  (.ASM)
  55.   /L2  BASIC      (.BAS)
  56.   /L3  C          (.C, .H, .CPP, .HPP)
  57.   /L4  COBOL      (.COB, .CBL)
  58.   /L5  Pascal     (.PAS, .INC)
  59.  
  60. Portrait [/Pn] - Single column mode
  61.  */P0  Landscape Mode
  62.   /P1  Portrait Mode
  63.  
  64. Remarks [/Rn]
  65.   /R0  Don't hilight remarks
  66.  */R1  Hilight remarks
  67.  
  68. Stripes [/Sn]
  69.  */S0  Don't print stripes
  70.   /S1  Print stripes on page
  71.  
  72. Tab Width [/Tn] - Valid range is 1 to 16
  73.   /Tn  Use /T1 for no tab expansion.  /T8 is the default
  74.  
  75. Wrap Lines [/Wn]
  76.   /W0  Don't wrap lines (lines will be truncated)
  77.  */W1  Wrap lines after 80/120 characters reached (depends on orientation)
  78.  
  79. Numbering [/Nn]
  80.  */N0  Don't print line numbers.
  81.   /N1  Print line numbers.
  82.  
  83. Notes:
  84.  
  85. - the BASIC REM statement is not recognized.  Use the Quote(') for remarks
  86. - the COBOL REMARKS section is not recognized.  Use (*) in column 7.
  87.  
  88. Custom Graphics:
  89.  
  90. For an additional fee, I will customize your copy of CPRINT so that it
  91. prints a copy of your company logo or other graphics on each page of the
  92. output instead of the Cactus Software logo.
  93.  
  94. The maximum size of an individual graphic is 128 x 64.
  95.  
  96. Ordering Graphics:
  97.  
  98. If you are ordering a customized version of CPRINT, I will require your
  99. logo in Windows BMP format.  The image can be up to 128 x 64 and must be
  100. monochrome.  Alternatively, you can send your logo in the following format:
  101.  
  102. 0000000000000111100000000000000000000000000000000000000000000000011100000000
  103. 0000000000001000010000000000000000010000000000000000000000000000011100000000
  104. 0000000000010000000000000000000000010000000000000000000000000000011100000000
  105. 0000000000010000000001111000111100111100010001000111000000111000011100001110
  106. 0000000000010000000010001001000000010000010001001000000000111000011100001110
  107. 0000000000010000000010001001000000010000010001000111000000111000011100001110
  108. 0000000000001000010010001001000000010010010001000000100000111000011100001110
  109. 0000000000000111100001111000111100001100001111000111000000111000011100001110
  110. 0000000000000000000000000000000000000000000000000000000000111000011100001110
  111. 0000000000000000000000000000000000000000000000000000000000111000011100001110
  112. 0111100000000000011000000000000000000000000000000000000000111111111100001110
  113. 1000010000000000100000100000000000000000000000000000000000111111111100001110
  114. 0100000000000000100000100000000000000000000000000000000000011111111111111110
  115. 0011000001110001111001111000100010001111001011000111000000000000011111111110
  116. 0000100010001000100000100000100010010001001100001000100000000000011111111100
  117. 0000010010001000100000100000101010010001001000001111000000000000011100000000
  118. 1000010010001000100000100100101010010001001000001000000000000000011100000000
  119. 0111100001110000100000011000010100001111001000000111100000000000011100000000
  120.  
  121. Please keep in mind that images that are mostly black (1's in the graphic)
  122. do not work well on the LaserJet.  If you do not send a graphic image defined
  123. as above, but send a business card or letterhead, I will attempt to generate
  124. the image for you.  However, I cannot guarantee that your image will be to
  125. your satisfaction.
  126.  
  127. There should be several print files (.PRN) with your copy of CPRINT.  These     
  128. files are sample printouts with different logos to show the detailed graphics 
  129. that are possible.  To print them, issue the command: COPY *.PRN PRN /B
  130.  
  131. You are permitted to evaluate this software for a two week period.  If you
  132. continue to use it beyond the evaluation period, you must register by sending
  133. CAN$25 / US$20 to the address below.
  134.  
  135. Order Form:                           Date:________________________________
  136.  
  137. Name:_____________________________ Company:________________________________
  138.  
  139. Address:___________________________________________________________________
  140.  
  141. City:_____________________________ Prov/State:_________ Zip/Postal: _______
  142.  
  143. Country:_______________________ Daytime Ph:______________ FAX:_____________
  144.  
  145. Where did you get CPRINT? ________________________Compuserve ID:___________
  146.  
  147. What version of CPRINT do you have?________________________________________
  148.  
  149. Which programming language(s) do you use?__________________________________
  150.  
  151. Individual License:  ....................................  $25 CAN / $20 US
  152.  
  153. Multi-User License:  up to 5 users....................... $100 CAN / $80 US
  154.                      up to 10 users...................... $180 CAN / $140 US
  155.                      up to 25 users...................... $375 CAN / $300 US
  156.                      up to 50 users...................... $500 CAN / $400 US
  157.  
  158. Custom Graphics:  .......................................  $25 CAN / $20 US
  159. (please include a disk with your logo in BMP format.)
  160.  
  161.                     Ontario Residents add 8% P.S.T.       _________
  162.  
  163.                                             Total         _________
  164.  
  165. Please make cheques payable to Tony Yeung.
  166.  
  167.                       « Tony Yeung - Cactus Software »
  168.      « 147 The Country Way, Kitchener, Ont N2E 2L1 Canada (519) 570-0864 »
  169.