home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / discs / mag_discs / volume_4 / issue_04 / printers / !PrinterLJ / PrDataSrc < prev    next >
Text File  |  1990-07-10  |  8KB  |  211 lines

  1. > PrData *** LaserJet printer configuration ***
  2.  
  3. Header   must appear first, with items in correct order
  4. ======
  5.  
  6. version:               2  ;  Don't change this. It is used to detect
  7.                           ;  incompatible old "PrData" files.
  8.  
  9. total_printers:        4  ; printers in file including default
  10. total_text_printers:   1  ; distinct text definitions including default
  11.  
  12. Default printer definition
  13. ==========================
  14.  
  15. Default graphics resolutions
  16. ----------------------------
  17. pxres:          150             ; dots per inch
  18. pyres:          150
  19. pxres_halftone: 150/8
  20. pyres_halftone: 150/8
  21.  
  22. Graphics job control
  23. --------------------
  24. features:       16_00000000     ; doesn`t support arbitrary transformation
  25.  
  26. manual_feed:    <27>&l2H        ; escape sequence limited to 20 chars
  27. auto_feed:      <27>&l1H
  28.  
  29. Printable character translations
  30. --------------------------------
  31. ; text_char163:      "<163>"    ; any printable character can be
  32.                                 ; translated to a different one
  33. Text font selection
  34. -------------------
  35. text_pica:           ""         ; these defaults do nothing - do not change them
  36. text_elite:          ""         ; to use different font sizes, or line-wrapping
  37. text_condensed:      ""         ; will go wrong - you could change to use different
  38. text_expanded:       ""         ; typefaces if additional ones are available at both
  39.                                 ; 12 point and 8.5 point, e.g "<27>(s5T" for Tms Rmn
  40.  
  41. General text highlights
  42. -----------------------
  43. text_bold_on:        "<27>(s+3B"
  44. text_bold_off:       "<27>(s0B"
  45. text_italic_on:      "<27>(s1S"
  46. text_italic_off:     "<27>(s0S"
  47. text_light_on:       "<27>(s-3B"
  48. text_light_off:      "<27>(s0B"
  49. text_superscript_on: "<27>&a-0.3R"
  50. text_superscript_off:"<27>&a+0.3R"
  51. text_subscript_on:   "<27>&a+0.3R"
  52. text_subscript_off:  "<27>&a-0.3R"
  53. text_underline_on:   "<27>&d0D"
  54. text_underline_off:  "<27>&d@"
  55.  
  56. Real printer definitions
  57. ========================
  58.  
  59. After 'printer_name:' and 'printer_number:', either 'text_alias:'
  60. is used to indicate that all text entries are the same as a 
  61. previously defined printer or default (-1); or 'text_noalias:'
  62. is used (without a value) to indicate that the printer has its
  63. own text definition, in which case any subsequent "text..." values
  64. override the default ones.  If you change/add printers, alter the
  65. 'total...' values at start of the file too.
  66. .............................................................
  67. ; 300 by 300 dpi output
  68. printer_name:    HP LaserJet (High)
  69. printer_number:  0
  70. text_alias:      -1 ; => text same as default
  71.  
  72. pxres:          300                     ; dots per inch
  73. pyres:          300
  74. pxres_halftone: 300/8
  75. pyres_halftone: 300/8
  76.  
  77. .............................................................
  78. ; 150 by 150 dpi output
  79. printer_name:    HP LaserJet (Medium)
  80. printer_number:  1
  81. text_alias:      -1 ; => text same as default
  82.  
  83. pxres:          150                     ; dots per inch
  84. pyres:          150
  85. pxres_halftone: 150/8
  86. pyres_halftone: 150/8
  87.  
  88. .............................................................
  89. ; 75 by 75 dpi output
  90. printer_name:    HP LaserJet (Low)
  91. printer_number:  2
  92. text_alias:      -1 ; => text same as default
  93.  
  94. pxres:          75                     ; dots per inch
  95. pyres:          75
  96. pxres_halftone: 75/4
  97. pyres_halftone: 75/4
  98.  
  99. .............................................................
  100. ; 100 by 100 dpi output
  101. ;printer_name:    HP LaserJet (Low)
  102. ;printer_number:  3
  103. ;text_alias:      -1 ; => text same as default
  104. ;
  105. ;pxres:          100                     ; dots per inch
  106. ;pyres:          100
  107. ;pxres_halftone: 100/6
  108. ;pyres_halftone: 100/6
  109.  
  110. .............................................................
  111.  
  112.  
  113. Page size settings
  114. ==================
  115.  
  116. These are written back to this file when the "Save" entry is clicked;
  117. therefore they are all fixed size fields.
  118.  
  119. page_number:    0 ; the number of the page size table entry we want to do
  120.                   ; don't need to write this back!
  121. page_name:      A4 paper;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; pad names to 80 characters with ;
  122. page_width:     0000595350; Pad (decimal) numbers to 10 chars with leading 0s
  123. page_height:    0000841995
  124. page_bottom:    0000013891
  125. page_top:       0000806558
  126. page_left:      0000014175
  127. page_right:     0000575505
  128. text_top:       0000000000
  129. text_bottom:    0000000000
  130. text_left:      0000000000
  131. text_right:     0000000000
  132. page_selection: <27>&l26A   ; escape sequence to select A4 paper in the printer
  133.  
  134. page_number:    1
  135. page_name:      Letter;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  136. page_width:     0000612076
  137. page_height:    0000792099
  138. page_bottom:    0000014458
  139. page_top:       0000777641
  140. page_left:      0000011906
  141. page_right:     0000587979
  142. text_top:       0000000000
  143. text_bottom:    0000000000
  144. text_left:      0000000000
  145. text_right:     0000000000
  146. page_selection: <27>&l2A
  147.  
  148. page_number:    2
  149. page_name:      Legal;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  150. page_width:     0000612076
  151. page_height:    0001008126
  152. page_bottom:    0000014458
  153. page_top:       0000993668
  154. page_left:      0000011906
  155. page_right:     0000587979
  156. text_top:       0000000000
  157. text_bottom:    0000000000
  158. text_left:      0000000000
  159. text_right:     0000000000
  160. page_selection: <27>&l3A
  161.  
  162. page_number:    3
  163. page_name:      User;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  164. page_width:     0000595350
  165. page_height:    0000841995
  166. page_bottom:    0000013891
  167. page_top:       0000806558
  168. page_left:      0000014175
  169. page_right:     0000575505
  170. text_top:       0000000000
  171. text_bottom:    0000000000
  172. text_left:      0000000000
  173. text_right:     0000000000
  174. page_selection: <27>&l26A   ; Note that this selects A4 paper - the user may have to change this by hand
  175.  
  176. Configured options    (also written back to file on "Save")
  177. ==================
  178. start_page_number: 00  ;page description - pad to two chars with 0
  179. printer:       01 ;printer number - pad to two chars with 0
  180. location:       1 ;1 - parallel, 2 - serial, 4 - net
  181. baud:          03 ; 0 -   75,  1 -  150,  2 -  300  ,  3 -  1200 
  182.                   ; 4 - 2400,  5 - 4800,  6 - 9600  ,  7 - 19200
  183.                   ; 8 -   50,  9 -  110, 10 -  134.5, 11 -   600
  184.                   ;12 - 1800, 13 - 3600, 14 - 7200
  185. data:         &24 ;serial data format - pad to two chars with 0
  186.                   ;b0-b1 0,1,2,3 => 8,7,6,5 bits
  187.                   ;b2 0=>1 stop bit, 1=>2 stop bits OR 1.5 stop bits if 5 bits
  188.                   ;without parity, OR 1 stop bit if 8 bits with parity
  189.                   ;b3 0/1 => parity off/on
  190.                   ;b4-b5 0,1,2,3 => parity odd, even, 1 on Tx, 0 on Tx
  191. xon:            0 ;XON/XOFF 0 off 1 on
  192. server:   0.235;;; either [<net>.]<station>   eg `235;;;;;` or `123.235;`
  193.                   ;or up to 6 char name       eg `blue;;;;` or `yellow;;`
  194.                   ;must be padded to 8 chars with ; in either case
  195. file: null:;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;filename to use, padded to 80 characters.
  196. nfserver: ;;;;;;;;;;;;;;;;NFS printer server, padded to 16 characters
  197. nfprinter: lp;;;;;;;;;;;;;;NFS printer name, padded to 16 characters
  198. nfuser: nobody;;;;;;;;;;NFS username, padded to 16 characters
  199. nfoption: ;;;;;;;;NFS printer options, padded to 8 characters
  200.  
  201. mono:           0 ;0/1 1 => use monochrome output buffer. Sprites/fonts will
  202.                   ; not be greyscaled.
  203. title:          0 ;0/1 1 => title text pages
  204. number:         0 ;0/1 1 => number text lines
  205. wrap_bar:       1 ;0/1 1 => indicate wrapped lines with a bar character
  206. map:            1 ;0/1 0 => text input newline is lf, 1=> cr, lf, cr/lf or lf/cr
  207. line:           1 ;0/1 0 => text printer newline is cr, 1=>lf+cr
  208. feed:           0 ;0/1 1 => text manual paper tray
  209. format:         0 ;0/1 0 => portrait, 1=>landscape
  210. controls:       0 ;0-2 0 => text standard, 1=>display, 2=>ignore
  211.