home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / WP / WP052.ZIP / BPRINT.DOC < prev    next >
Text File  |  1991-01-07  |  9KB  |  241 lines

  1. .pn
  2. .co no
  3. .cs 2
  4. B-Print
  5.  
  6. Large Character Print Formatting
  7. Copyright Hexagon Products 1990
  8. .cs 1
  9. .co on
  10.  
  11. B-Print prints ASCII text files on dot matrix printers using large
  12. characters.  B-Print is a free sample of large character software 
  13. available from Hexagon Products.  See the last page of this document
  14. for further information.
  15.  
  16. In its simplest form, B-Print works just like the DOS PRINT command.
  17. The simplest form is:
  18.  
  19.     BPRINT filename
  20.  
  21. B-Print also has a few command line options to control the printing.
  22. Each option consists of a dash and a letter, such as -D for device.
  23. The order is unimportant, as is capitalization.  For example, if your
  24. printer is attached as Device COM1, you would use the following command:
  25.  
  26.     BPRINT bprint.doc -Dcom1
  27.  
  28. In addition to options given on the DOS command line, you can embed 
  29. B-Print commands within your document file.  Each command consists
  30. of dot ('.') in the first column followed by a two character command.
  31. For example, if you want to skip to the top of a new page in your document,
  32. you can embed a page eject command (PA) in your document:
  33.     .PA
  34.  
  35. This document contains many embedded commands to format the document.
  36. Print it with the command BPRINT BPRINT.DOC.
  37.  
  38. .pa
  39. .cs 2
  40. Options
  41. .cs 1
  42. The command line options are given on the DOS command line when you first
  43. execute B-Print.  Each is preceded by a dash ('-'), such as:
  44.     BPRINT bprint.doc -Dcom1
  45.  
  46. .cs 2
  47. Device (-D)
  48. .cs 1
  49. By default, B-Print writes to device LPT1.  If your printer is attached
  50. as LPT2 or COM1, etc., use the Device option to direct B-Print output to
  51. your printer.  You can alternatively use a filename instead of a device name.
  52. If so, B-Print writew output to a disk file.  You can later print 
  53. this file with the DOS command: COPY /B FILE LPT1.  The Device option is:
  54.     -Ddevice   COM1, COM2, LPT1, etc.
  55.     -Dfilename any disk filename
  56.  
  57. .cs 2
  58. Printer Type (-P)
  59. .cs 1
  60. By default, B-Print formats output for an Epson dot matrix printer.  For
  61. a different type of printer, use the Printer option.  The Printer option is:
  62.     -P0 Printer type is HP
  63.     -P1 Printer type is Epson
  64.  
  65. .cs 2
  66. Character Set (-C)
  67. .cs 1
  68. B-Print starts with character set 2, which has 16-dot characters.
  69. Use the Character set option (-C) to change this.  The character
  70. sets differ in size and shape.  This option only names the starting
  71. character set.  You can override it for a portion of any document with
  72. the .CS command described later.  The Character set option is:
  73.     -CS 0 a tiny 8-bit character set
  74.     -CS 1 a small 12-bit character set
  75.     -CS 2 a medium 16-bit character set 
  76.     -CS 3 a medium 24-bit font
  77.     -CS 4 a large san-serif font
  78.     -CS 5 a large serif font
  79.     -CS 6 a large  bold font
  80.  
  81. .pa
  82. .cs 2
  83. Commands
  84. .cs 1
  85. Several print control commands are supported by B-Print.  The commands
  86. must be embedded within the document to be printed.  Each consists of a
  87. dot ('.') in the first column followed by a two character command.
  88.     .PA     eject to a new page
  89.     .PN n   set page number
  90.     .PW n   set paper width in dots
  91.     .PL n   set paper length in dots
  92.     .CO n   set combine ON or OFF
  93.     .CS n   select character set
  94.     .LD n   set leading
  95.     
  96. .cs 2
  97. PA Command
  98. .cs 1
  99. By default, B-Print fills each page with text.  If your document contains
  100. a new section to be set off by itself, precede that text with a Page eject
  101. command, and that section will start at the top of a new page.  For example,
  102. the section "Commands" in this document was preceded by a PA command.
  103.  
  104. .cs 2
  105. PN Command
  106. .cs 1
  107. By default, B-Print does not number pages of text.  If you want pages to 
  108. be numbered, use the PN command.  After that, B-Print will display the number
  109. of each page in the center of the bottom margin.  B-Print will start with
  110. page number 1 unless you give a different value on the PN command.
  111.  
  112. If, for example, you are only printing out the second section of a document,
  113. you can use PN to start with an appropriate page number.
  114. .pa
  115. .cs 2
  116. PW Command
  117. .cs 1
  118. The print width of each printer B-Print supports is coded within B-Print.
  119. However you may want to override it.  You can do so with the PW command.
  120. For example, if your printer works like an Epson, but handles paper that
  121. is twelve inches wide, you will have to override the print width.
  122.  
  123. The argument to print width is in dots.  So, for example, if your printer
  124. prints 60 dots per inch and supports a 12 inch print width, use the command
  125.     
  126.     .PW 720
  127.  
  128. You can use the PW command with a smaller than default value to create a
  129. larger right margin.
  130.  
  131. .cs 2
  132. PL Command
  133. .cs 1
  134. The print length of each printer B-Print supports is coded within B-Print.
  135. However you may want to override it.  You can do so with the PL command.
  136. For example, if your printer works like an Epson, but your paper is 14 
  137. inches long, you will have to override the print length.
  138.  
  139. The argument to print length is in dots.  So, for example, if your printer
  140. prints 60 dots per inch and supports a 14 inch print length, use the command
  141.  
  142.     .PL 840
  143.  
  144. You can use the PW command with a smaller than default value to create a
  145. larger bottom margin.  You can use the PL command to set a large print
  146. length and the page commands PA and PN to avoid printing page number on a 
  147. particular page, maybe that of a diagram in a document.
  148. .pa
  149. .cs 2
  150. CO Command
  151. .cs 1
  152. By default, B-Print breaks up lines so they will fit on your printer.  When
  153. it gets to the end of a line, it COncatenates or COmbines the next line
  154. and continues printing.  If you want to format lines yourself, you can turn
  155. concatenation on or off yourself.  The arguments are either ON or OFF.
  156.  
  157. For example, you don't want the heading of a letter to be concatenated,
  158. place .CO commands before and after the block of text like this:
  159.     .co off
  160.     Hexagon Products
  161.     P.O.Box 1295
  162.     Park Ridge, IL  60068
  163.     .co on
  164.  
  165. .cs 2
  166. CS Command
  167. .cs 1
  168. By default, B-Print uses characters that fit in a dot matrix 16 high and 
  169. 16 wide.  On a printer that prints 80 dots per inch, this results in
  170. characters that are a fifth (16/80) of an inch high and wide, or about
  171. 14 points (72*16/80).  These characters are approximately the shape of the
  172. characters used on a standard video display.
  173.  
  174. You can override the character set used with the -C command when you run
  175. B-Print from DOS.  However, you can also change the size used by B-Print
  176. in the middle of a document with the CS command.  The argument is a number
  177. indicating the character set, the same as used with the -C option.
  178.  
  179. For example, you might want headings of section printed in a larger character 
  180. size than the body of a document.  The heading of this document are produced
  181. with the following three lines:
  182.     .cs 2
  183.     CS Command
  184.     .cs 1
  185.     
  186. .cs 2
  187. LD Command
  188. .cs 1
  189. Leading (pronounced "ledding") is a printer's term referring to the amount of
  190. space left between lines.  (Historically small pieces of lead were placed
  191. between rows of type to separate them.)  A good leading value results in
  192. text that is easier to read.
  193.  
  194. By default, B-Print sets the leading at one quarter the size of the text 
  195. characters.  If you change the character size with the CS command, B-Print 
  196. automatically adjusts the leading.  
  197.  
  198. You can override the leading with the LD command.  Follow the LD command with
  199. the leading value in dots.  For example, the default leading value for the 16 
  200. dot character size is one quarter of 16, or 4 dots.  Get a larger leading 
  201. value with a command such as:
  202.     .ld 5
  203. .pa
  204. I'm currently taking requests for B-Print improvements.  Let me know
  205. what suggestions for improvements you have.  I'm specifically interested
  206. in:
  207.  * What other dot matrix printers need to be supported.
  208.  * What other character sizes or styles you want.
  209.  * If you are interested in proportionally spaced fonts.
  210.  * If you are interested in text that is aligned on both sides.
  211.  * If you have suggestions for more embedded commands.
  212.  
  213. .cs 2
  214. Other Products
  215. .cs 1
  216. B-Print is a free sample of large character software from Hexagon Products.
  217. Other products provide large character displays on your monitor making
  218. software easier to read.  They include:
  219. .co no
  220. Free B's:
  221. B-Type  - like DOS's TYPE command
  222. B-Dir   - like DOS's DIR command
  223. B-Look  - ASCII file browser
  224. B-Print - ASCII file printer
  225.  
  226. Low-Priced Products:
  227. B-Edit          - text editor
  228. B-Pop           - memory resident text enlarger
  229. BIG for 1-2-3   - enlarger only for 1-2-3
  230. BIG for WP      - enlarger for WordPerfect
  231.  
  232. Call or write for further information:
  233.  
  234. Hexagon Products
  235. P.O. Box 1295
  236. Park Ridge, IL  60068-1295
  237.  
  238. 1-708-692-3355
  239. 76064,1776
  240.  
  241.