home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / c / cprt215.zip / CPRINT.TXT < prev    next >
Text File  |  1993-02-15  |  7KB  |  152 lines

  1. CPRINT 2.15 ■ LaserJet Code Printer with Comment Hi-Lighting              ║
  2. Copyright (c) 1991-93 Cactus Software.  All rights reserved.     Cactus ║ ║ ║
  3.                                                                Software ╚═╣ ║
  4. CPRINT is a refinement of the common utility to print          (c) 1993   ╠═╝
  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. Usage:   CPRINT input [dest] [options]
  22.  
  23.    input - File(s) to be printed    (e.g. c:\source\*.c*)
  24.     dest - Output (defaults to PRN) (e.g. LPT2: or SOURCE.PRN)
  25.  
  26. Options: (defaults are indicated by '*')
  27.  
  28. Box Style [/Bn]
  29.   /B0  No boxes are printed
  30.  */B1  Each column is boxed
  31.   /B2  Line is printed on the top, bottom and between columns
  32.   /B3  Line is printed on the top and between columns
  33.  
  34. Header Placement [/Hn]
  35.   /H0  No file or page information is printed
  36.   /H1  File and page information across the top of the page
  37.  */H2  File and page information across the bottom of the page
  38.  
  39. Language [/Ln]
  40.  */L0  AutoDetect - determined by extension of filename as shown below
  41.   /L1  Assembler  (.ASM)
  42.   /L2  BASIC      (.BAS)
  43.   /L3  C          (.C, .H, .CPP, .HPP)
  44.   /L4  COBOL      (.COB, .CBL)
  45.   /L5  Pascal     (.PAS, .INC)
  46.  
  47. Portrait [/Pn] - Single column mode
  48.  */P0  Landscape Mode
  49.   /P1  Portrait Mode
  50.  
  51. Remarks [/Rn]
  52.   /R0  Don't hilight remarks
  53.  */R1  Hilight remarks
  54.  
  55. Tab Width [/Tn] - Valid range is 1 to 16
  56.   /Tn  Use /T1 for no tab expansion.  /T8 is the default  
  57.  
  58. Wrap Lines [/Wn]
  59.   /W0  Don't wrap lines (lines will be truncated)
  60.  */W1  Wrap lines after 80/120 characters reached (depends on orientation)
  61.  
  62. Notes:
  63.  
  64. - the BASIC REM statement is not recognized.  Use the Quote(') for remarks
  65. - the COBOL REMARKS section is not recognized.  Use (*) in column 7.
  66.  
  67. Custom Graphics:
  68.  
  69. For an additional fee, I will customize your copy of CPRINT so that it
  70. prints a copy of your company logo or other graphics on each page of the
  71. output instead of the Cactus Software logo.
  72.  
  73. You can have up to 3 different graphics in a single copy of CPRINT, selected
  74. with a /Gn option.  The maximum size of an individual graphic is 128 x 64.
  75.  
  76. For a single order of 10 or more licences, you are allowed one free custom
  77. graphic.
  78.  
  79. Ordering Graphics:
  80.  
  81. If you are ordering a customized version of CPRINT, I will require your
  82. logo in Windows BMP format.  The image can be up to 128 x 64 and must be        
  83. monochrome.  Alternatively, you can send your logo in the following format:
  84.  
  85. 0000000000000111100000000000000000000000000000000000000000000000011100000000
  86. 0000000000001000010000000000000000010000000000000000000000000000011100000000
  87. 0000000000010000000000000000000000010000000000000000000000000000011100000000
  88. 0000000000010000000001111000111100111100010001000111000000111000011100001110
  89. 0000000000010000000010001001000000010000010001001000000000111000011100001110
  90. 0000000000010000000010001001000000010000010001000111000000111000011100001110
  91. 0000000000001000010010001001000000010010010001000000100000111000011100001110
  92. 0000000000000111100001111000111100001100001111000111000000111000011100001110
  93. 0000000000000000000000000000000000000000000000000000000000111000011100001110
  94. 0000000000000000000000000000000000000000000000000000000000111000011100001110
  95. 0111100000000000011000000000000000000000000000000000000000111111111100001110
  96. 1000010000000000100000100000000000000000000000000000000000111111111100001110
  97. 0100000000000000100000100000000000000000000000000000000000011111111111111110
  98. 0011000001110001111001111000100010001111001011000111000000000000011111111110
  99. 0000100010001000100000100000100010010001001100001000100000000000011111111100
  100. 0000010010001000100000100000101010010001001000001111000000000000011100000000
  101. 1000010010001000100000100100101010010001001000001000000000000000011100000000
  102. 0111100001110000100000011000010100001111001000000111100000000000011100000000
  103.  
  104. Please keep in mind that images that are mostly black (1's in the graphic)
  105. do not work well on the LaserJet.  If you do not send a graphic image defined
  106. as above, but send a business card or letterhead, I will attempt to generate
  107. the image for you.  However, I cannot guarantee that your image will be to
  108. your satisfaction.
  109.  
  110. There should be several print files (.PRN) with your copy of CPRINT.  These     
  111. files are sample printouts with different logos to show the detailed graphics 
  112. that are possible.  To print them, issue the command: COPY *.PRN PRN /B
  113.  
  114. You are permitted to evaluate this software for a two week period.  If you
  115. continue to use it beyond the evaluation period, you must register by sending
  116. CAN$25 / US$20 to the address below.
  117.  
  118. Order Form:                           Date:________________________________
  119.  
  120. Name:_____________________________ Company:________________________________
  121.  
  122. Address:___________________________________________________________________
  123.  
  124. City:_____________________________ Prov/State:_________ Zip/Postal: _______
  125.  
  126. Country:_______________________ Daytime Ph:______________ FAX:_____________
  127.  
  128. Where did you get CPRINT? ________________________Compuserve ID:___________
  129.  
  130. What version of CPRINT do you have?________________________________________
  131.  
  132. Individual License:  ....................................    $25.00
  133.  
  134. Multi-User License:  2-10 ................. ____ x $22 =  _________
  135.                     11-25 ................. ____ x $20 =  _________
  136.                     26-50 ................. ____ x $18 =  _________
  137.                   Over 50 ................. Please Call
  138.  
  139. Custom Graphics:        1 ........................ $25    _________
  140. (please include a disk  2 ........................ $40    _________
  141.  with your logo in      3 ........................ $50    _________
  142.  BMP format.)           Disk Size:  3½ ____ 5¼ ____ 
  143.                     
  144.                     Ontario Residents add 8% P.S.T.       _________
  145.  
  146.                                             Total         _________
  147.  
  148. Please make cheques payable to Tony Yeung.
  149.  
  150.                       « Tony Yeung - Cactus Software »
  151.      « 147 The Country Way, Kitchener, Ont N2E 2L1 Canada (519) 570-0864 »
  152.