home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 14 / CDACTUAL.iso / cdactual / demobin / share / program / Basic / SOURCE13.ZIP / SOURCE.PRT < prev   
Encoding:
Text File  |  1992-11-07  |  5.2 KB  |  270 lines

  1. ; SOURCE.PRN
  2. ; Copyright Rick Maddy 1992
  3.  
  4. ; Changes:
  5.  
  6. ; Version 1.01 to 1.1
  7. ;    - Changed name of first printer from HPLJ to LaserJet.
  8.  
  9. ; Version 1.1 to 1.2
  10. ;    - None
  11.  
  12. ; Version 1.2 to 1.3
  13. ;    - Added the definition for the Canon Laser Printer.
  14.  
  15.  
  16. ; This is a sample printer definition file.  Feel free to change any values
  17. ; as needed for your printer or add any new printers you may have.  Do not
  18. ; remove any lines within a definition.  If your printer does not support a 
  19. ; feature, leave the value blank.
  20.  
  21. ; Of all the codes listed, you will probably want to adjust the margins to
  22. ; suit your needs.  The three high on and three high off commands are others
  23. ; you may wish to change.  These specify the highlighting used for comments
  24. ; and keywords.  All printers have defaulted to bold print.  Feel free to 
  25. ; change the codes for others such as italic or underline.  The only others
  26. ; you will probably changes are the init and reset codes.  The init should
  27. ; contain codes to select the proper character set (IBM), place printer in
  28. ; draft or NLQ, etc.  The reset is sent after the file is done printing.  This
  29. ; could be used to place the printer back to its previous settings.
  30.  
  31. ; See SOURCE.DOC for more on modifying this file.
  32.  
  33.  
  34. ; Printer definition for a Hewlett Packard Laserjet.
  35.  
  36. begin LaserJet
  37. page width: 8.5
  38. page length: 11
  39. top margin: .5
  40. bottom margin : .5
  41. left margin: .3
  42. right margin: .2
  43. top edge: .5
  44. bottom edge : .5
  45. left edge : .3
  46. right edge : .2
  47. 10 pitch : [27](s10H
  48. 12 pitch : [27](s12H
  49. compressed : [27](s16.66H
  50. comp size : 16.6666
  51. underline on: [27]&dD
  52. underline off: [27]&d@
  53. 10 high on: [27](s3B
  54. 10 high off: [27](s0B
  55. 12 high on: [27](s3B
  56. 12 high off : [27](s0B
  57. comp high on: [27]&dD
  58. comp high off : [27]&d@
  59. init : [27]E[27]&l2A[27](10U
  60. reset : [27]E
  61. portrait: [27]&l0O
  62. landscape: [27]&l1O
  63. 6 lpi : [27]&l6D
  64. 8 lpi : [27]&l8D
  65. end
  66.  
  67.  
  68. ; Definition for an Epson Dot Matrix printer.
  69.  
  70. begin Epson
  71. page width: 8.5
  72. page length: 11
  73. top margin: .5
  74. bottom margin : .5
  75. left margin: .5
  76. right margin: .5
  77. top edge: 0
  78. bottom edge : 0
  79. left edge : 0
  80. right edge : 0
  81. 10 pitch : [27]P
  82. 12 pitch : [27]M
  83. compressed : [27]g
  84. comp size : 15
  85. underline on: [27]-1
  86. underline off: [27]-0
  87. 10 high on: [27]E
  88. 10 high off: [27]F
  89. 12 high on: [27]E
  90. 12 high off : [27]F
  91. comp high on: [27]E
  92. comp high off : [27]F
  93. init : [27]@
  94. reset :
  95. portrait:
  96. landscape:
  97. 6 lpi : [27]2
  98. 8 lpi : [27]0
  99. end
  100.  
  101.  
  102. ; Definition for an Okidata Dot Matrix printer.
  103.  
  104. begin Okidata
  105. page width: 8.5
  106. page length: 11
  107. top margin: .5
  108. bottom margin : .5
  109. left margin: .5
  110. right margin: .5
  111. top edge: 0
  112. bottom edge : 0
  113. left edge : 0
  114. right edge : 0
  115. 10 pitch : [18]
  116. 12 pitch : [27]:
  117. compressed : [15]
  118. comp size : 17
  119. underline on: [27]-1
  120. underline off: [27]-0
  121. 10 high on: [27]E
  122. 10 high off: [27]F
  123. 12 high on: [27]E
  124. 12 high off : [27]F
  125. comp high on: [27]E
  126. comp high off : [27]F
  127. init : [24]
  128. reset :
  129. portrait:
  130. landscape:
  131. 6 lpi : [27]A[12][27]2
  132. 8 lpi : [27]0
  133. end
  134.  
  135.  
  136. ; Definition for an IBM Proprinter Dot Matrix printer.
  137.  
  138. begin ProPrinter
  139. page width: 8.5
  140. page length: 11
  141. top margin: .5
  142. bottom margin : .5
  143. left margin: .5
  144. right margin: .5
  145. top edge: 0
  146. bottom edge : 0
  147. left edge : 0
  148. right edge : 0
  149. 10 pitch : [18]
  150. 12 pitch : [27]:
  151. compressed : [15]
  152. comp size : 17
  153. underline on: [27]-1
  154. underline off: [27]-0
  155. 10 high on: [27]E
  156. 10 high off: [27]F
  157. 12 high on: [27]E
  158. 12 high off : [27]F
  159. comp high on: [27]E
  160. comp high off : [27]F
  161. init :
  162. reset :
  163. portrait:
  164. landscape:
  165. 6 lpi : [27]A[12][27]2
  166. 8 lpi : [27]0
  167. end
  168.  
  169.  
  170. ; Definition for a Canon LBP Laser printer.
  171.  
  172. begin CanonLBP
  173. page width: 8.5
  174. page length: 12.1
  175. top margin: .5
  176. bottom margin : .5
  177. left margin: .3
  178. right margin: .2
  179. top edge: .5
  180. bottom edge : .5
  181. left edge : .3
  182. right edge : .2
  183. 10 pitch : [27]PzNcourier10.IBML[27]\
  184. 12 pitch : [27]PzNelite12.IBML[27]\
  185. compressed : [27]PzNcourier20.IBML[27]\
  186. comp size : 20
  187. underline on: [27][91]4m
  188. underline off: [27][91]24m
  189. 10 high on: [27][91]7m
  190. 10 high off: [27][91]27m
  191. 12 high on: [27][91]7m
  192. 12 high off : [27][91]27m
  193. comp high on: [27][91]7m
  194. comp high off : [27][91]27m
  195. init : 
  196. reset :
  197. portrait: [27][91]14p
  198. landscape: [27][91]15p
  199. 6 lpi : [27][91]0 L
  200. 8 lpi : [27][91]4 L
  201. end
  202.  
  203.  
  204. ; Definition for a Generic printer.
  205.  
  206. begin Generic
  207. page width: 8.5
  208. page length: 11
  209. top margin: .5
  210. bottom margin : .5
  211. left margin: .5
  212. right margin: .5
  213. top edge: 0
  214. bottom edge : 0
  215. left edge : 0
  216. right edge : 0
  217. 10 pitch :
  218. 12 pitch :
  219. compressed :
  220. comp size :
  221. underline on:
  222. underline off:
  223. 10 high on:
  224. 10 high off:
  225. 12 high on:
  226. 12 high off :
  227. comp high on:
  228. comp high off :
  229. init :
  230. reset :
  231. portrait:
  232. landscape:
  233. 6 lpi :
  234. 8 lpi :
  235. end
  236.  
  237.  
  238. ; Definition to print to the screen - assumes ANSI.SYS loaded.
  239.  
  240. begin Screen
  241. page width: 8
  242. page length: 4.166667
  243. top margin: 0
  244. bottom margin : 0
  245. left margin: 0
  246. right margin: .1
  247. top edge: 0
  248. bottom edge : 0
  249. left edge : 0
  250. right edge : .1
  251. 10 pitch :
  252. 12 pitch :
  253. compressed :
  254. comp size : 
  255. underline on: [27][91]7m
  256. underline off: [27][91]0m
  257. 10 high on: [27][91]1m
  258. 10 high off: [27][91]0m
  259. 12 high on:
  260. 12 high off :
  261. comp high on:
  262. comp high off :
  263. init : [27][91]2J
  264. reset :
  265. portrait:
  266. landscape:
  267. 6 lpi :
  268. 8 lpi :
  269. end
  270.