[bd171e1a] | 1 | ; Printer Description File for Survex - http://www.survex.com/ |
---|
[b2f758c] | 2 | ; |
---|
[cb998d9] | 3 | ; Copyright (C) 1993-2002 Olly Betts |
---|
[b2f758c] | 4 | ; |
---|
| 5 | ; This program is free software; you can redistribute it and/or modify |
---|
| 6 | ; it under the terms of the GNU General Public License as published by |
---|
| 7 | ; the Free Software Foundation; either version 2 of the License, or |
---|
| 8 | ; (at your option) any later version. |
---|
| 9 | ; |
---|
| 10 | ; This program is distributed in the hope that it will be useful, |
---|
| 11 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 12 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 13 | ; GNU General Public License for more details. |
---|
| 14 | ; |
---|
| 15 | ; You should have received a copy of the GNU General Public License |
---|
| 16 | ; along with this program; if not, write to the Free Software |
---|
| 17 | ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
| 18 | |
---|
[bd171e1a] | 19 | ; Note: don't modify this file or your changes will be overwritten by |
---|
[01f3cc6] | 20 | ; upgrades. See the Survex manual or print.ini(5) man page for details. |
---|
[b2f758c] | 21 | |
---|
[adaa778] | 22 | [base] |
---|
[ca4058d] | 23 | ; default for MSDOS |
---|
[b2f758c] | 24 | output_msdos=LPT1 |
---|
| 25 | |
---|
[ca4058d] | 26 | ; default for MS Windows |
---|
[b2f758c] | 27 | output_mswindows=LPT1 |
---|
| 28 | |
---|
[ca4058d] | 29 | ; default for Unix |
---|
[b2f758c] | 30 | output_unix=|lpr |
---|
[adaa778] | 31 | |
---|
[ca4058d] | 32 | ; default for RISC OS |
---|
| 33 | ; Survex$Printer is set in !Cavern.!Boot (to Printer: by default) |
---|
[d4d7e27] | 34 | output_riscos=<Survex$Printer> |
---|
[adaa778] | 35 | |
---|
[ca4058d] | 36 | ; default for anything else (send to a file called `Printout') |
---|
[b2f758c] | 37 | output=Printout |
---|
[adaa778] | 38 | |
---|
[abb82a4] | 39 | ; font size for labels in points |
---|
| 40 | ; Note: ignored by HPGL driver |
---|
| 41 | font_size_labels=6 |
---|
| 42 | |
---|
[2001db9] | 43 | ; used by printdm and printpcl - the other font currently supplied is |
---|
| 44 | ; "bold" which is darker and may be useful on a dot-matrix printer with |
---|
| 45 | ; a ribbon which is passed its best |
---|
| 46 | font_bitmap=default |
---|
| 47 | |
---|
[ca4058d] | 48 | ; printps and printwin supported coloured printouts |
---|
| 49 | ; colour formats are as in HTML: |
---|
| 50 | ; * #rgb and #rrggbb where r, g, b are hex digits (0-9 or a-f or A-F) |
---|
| 51 | ; * the 16 named VGA colours: aqua black blue fuchsia gray green lime maroon |
---|
| 52 | ; navy olive purple red silver teal white yellow |
---|
| 53 | ; Text in infobox, scalebar, etc |
---|
| 54 | ;colour_text=navy |
---|
| 55 | ; Station names (enabled by --station-names) |
---|
| 56 | ;colour_labels=olive |
---|
| 57 | ; Crosses at stations (enabled by --crosses) |
---|
| 58 | colour_crosses=gray |
---|
| 59 | ; (Underground) survey legs |
---|
| 60 | ;colour_legs=black |
---|
| 61 | ; Surface survey legs (enabled by --surface) |
---|
| 62 | colour_surface_legs=lime |
---|
| 63 | ; Page border, infobox, alignment ticks, cutlines. |
---|
| 64 | ;colour_frame=silver |
---|
| 65 | |
---|
[b2f758c] | 66 | ; ====================================================================== |
---|
| 67 | |
---|
[cb998d9] | 68 | [win] |
---|
| 69 | like=base |
---|
| 70 | |
---|
| 71 | ; ====================================================================== |
---|
| 72 | |
---|
[adaa778] | 73 | [dm] |
---|
| 74 | like=dm_8pin_a4 |
---|
| 75 | |
---|
[b2f758c] | 76 | ; ====================================================================== |
---|
| 77 | |
---|
[adaa778] | 78 | [ps] |
---|
| 79 | like=ps_generic_a4 |
---|
| 80 | |
---|
[b2f758c] | 81 | ; ====================================================================== |
---|
| 82 | |
---|
[adaa778] | 83 | [pcl] |
---|
| 84 | like=pcl_generic_a4 |
---|
| 85 | |
---|
[b2f758c] | 86 | ; ====================================================================== |
---|
| 87 | |
---|
[adaa778] | 88 | [hpgl] |
---|
| 89 | like=hpgl_generic_a4landscape |
---|
| 90 | |
---|
[b2f758c] | 91 | ; ====================================================================== |
---|
| 92 | |
---|
[adaa778] | 93 | ; Driver definitions for different printers |
---|
| 94 | |
---|
[b2f758c] | 95 | ; ====================================================================== |
---|
| 96 | |
---|
[adaa778] | 97 | [dm_8pin_a4] |
---|
| 98 | like=base |
---|
| 99 | type=dm |
---|
| 100 | pixels_across_page=960 |
---|
[b2f758c] | 101 | |
---|
[adaa778] | 102 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 103 | lines_down_page=101 |
---|
| 104 | |
---|
[adaa778] | 105 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
[b2f758c] | 106 | dots_per_pass=8 |
---|
| 107 | |
---|
[adaa778] | 108 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
[b2f758c] | 109 | code_line_spacing=\[3\x18 |
---|
| 110 | |
---|
| 111 | ; Printer graphics mode |
---|
[adaa778] | 112 | code_graphics_mode=\[L |
---|
| 113 | code_graphics_mode_suffix= |
---|
[b2f758c] | 114 | |
---|
[adaa778] | 115 | ; Printer large font |
---|
[b2f758c] | 116 | code_large_font=\x12\[W1 |
---|
| 117 | |
---|
[adaa778] | 118 | ; Printer small font |
---|
[b2f758c] | 119 | code_small_font=\[W0\x0f |
---|
| 120 | |
---|
[adaa778] | 121 | ; Printer page feed |
---|
[b2f758c] | 122 | code_formfeed=\x0c |
---|
| 123 | |
---|
[adaa778] | 124 | ; Printer reset |
---|
[b2f758c] | 125 | code_reset_printer=\[2 |
---|
| 126 | |
---|
[adaa778] | 127 | ; End of line code |
---|
[b2f758c] | 128 | code_end_of_line=\x0D\x0A |
---|
| 129 | |
---|
| 130 | ; ====================================================================== |
---|
[adaa778] | 131 | |
---|
| 132 | [dm_8pin_11inch] |
---|
| 133 | like=dm_8pin_a4 |
---|
[b2f758c] | 134 | |
---|
[adaa778] | 135 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 136 | lines_down_page=99 |
---|
| 137 | |
---|
| 138 | ; ====================================================================== |
---|
[adaa778] | 139 | |
---|
| 140 | [dm_8pin_12inch] |
---|
| 141 | like=dm_8pin_a4 |
---|
[b2f758c] | 142 | |
---|
[adaa778] | 143 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 144 | lines_down_page=108 |
---|
| 145 | |
---|
| 146 | ; ====================================================================== |
---|
[adaa778] | 147 | |
---|
| 148 | [dm_9pin_a4] |
---|
| 149 | like=dm_8pin_a4 |
---|
[b2f758c] | 150 | |
---|
[adaa778] | 151 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 152 | lines_down_page=101 |
---|
| 153 | |
---|
[adaa778] | 154 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
[b2f758c] | 155 | dots_per_pass=9 |
---|
| 156 | |
---|
[adaa778] | 157 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
[b2f758c] | 158 | code_line_spacing=\[3\[ |
---|
| 159 | |
---|
[adaa778] | 160 | ; Printer graphics mode |
---|
[b2f758c] | 161 | code_graphics_mode=\[^\x01 |
---|
| 162 | |
---|
| 163 | ; ====================================================================== |
---|
[adaa778] | 164 | |
---|
| 165 | [dm_9pin_11inch] |
---|
| 166 | like=dm_9pin_a4 |
---|
[b2f758c] | 167 | |
---|
| 168 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[adaa778] | 169 | lines_down_page=99 |
---|
[b2f758c] | 170 | |
---|
| 171 | ; ====================================================================== |
---|
[adaa778] | 172 | |
---|
| 173 | [dm_9pin_12inch] |
---|
| 174 | like=dm_9pin_a4 |
---|
[b2f758c] | 175 | |
---|
| 176 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[adaa778] | 177 | lines_down_page=108 |
---|
[b2f758c] | 178 | |
---|
| 179 | ; ====================================================================== |
---|
[adaa778] | 180 | |
---|
| 181 | [dm_24pin_a4] |
---|
| 182 | like=dm_8pin_a4 |
---|
| 183 | pixels_across_page=1440 |
---|
[b2f758c] | 184 | |
---|
[adaa778] | 185 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 186 | lines_down_page=101 |
---|
| 187 | |
---|
[adaa778] | 188 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
[b2f758c] | 189 | dots_per_pass=24 |
---|
| 190 | |
---|
[adaa778] | 191 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
[b2f758c] | 192 | code_line_spacing=\[3\x18 |
---|
| 193 | |
---|
[adaa778] | 194 | ; Printer graphics mode |
---|
[b2f758c] | 195 | code_graphics_mode=\[*\x27 |
---|
[adaa778] | 196 | |
---|
[b2f758c] | 197 | ; ====================================================================== |
---|
[adaa778] | 198 | |
---|
| 199 | [dm_24pin_11inch] |
---|
| 200 | like=dm_24pin_a4 |
---|
[b2f758c] | 201 | |
---|
[adaa778] | 202 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 203 | lines_down_page=99 |
---|
| 204 | |
---|
| 205 | ; ====================================================================== |
---|
[adaa778] | 206 | |
---|
| 207 | [dm_24pin_12inch] |
---|
| 208 | like=dm_24pin_a4 |
---|
[b2f758c] | 209 | |
---|
[adaa778] | 210 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 211 | lines_down_page=108 |
---|
| 212 | |
---|
| 213 | ; ====================================================================== |
---|
[adaa778] | 214 | |
---|
| 215 | [dm_panasonic_24pin] |
---|
| 216 | like=dm_24pin_a4 |
---|
[b2f758c] | 217 | |
---|
[adaa778] | 218 | ; Page Lines Deep |
---|
[b2f758c] | 219 | lines_down_page=85 |
---|
| 220 | |
---|
| 221 | ; ====================================================================== |
---|
[adaa778] | 222 | |
---|
| 223 | [dm_lx86_9pin_11inch] |
---|
| 224 | like=dm_9pin_11inch |
---|
[b2f758c] | 225 | |
---|
| 226 | ; ====================================================================== |
---|
[adaa778] | 227 | |
---|
| 228 | [hpgl_generic_a4landscape] |
---|
| 229 | like=base |
---|
[b2f758c] | 230 | |
---|
[adaa778] | 231 | ; Page: plottable width (mm) (page is landscape) |
---|
[b2f758c] | 232 | mm_across_page=285 |
---|
| 233 | |
---|
[adaa778] | 234 | ; Page: plottable length (mm) |
---|
[b2f758c] | 235 | mm_down_page=200 |
---|
| 236 | |
---|
[adaa778] | 237 | origin_in_centre=1 |
---|
| 238 | |
---|
[b2f758c] | 239 | ; ====================================================================== |
---|
| 240 | |
---|
[adaa778] | 241 | [hpgl_generic_a1landscape] |
---|
| 242 | like=base |
---|
[b2f758c] | 243 | |
---|
[adaa778] | 244 | ; Page: plottable width (mm) (page is landscape) |
---|
[86fae02] | 245 | mm_across_page=790 |
---|
[b2f758c] | 246 | |
---|
[adaa778] | 247 | ; Page: plottable length (mm) |
---|
[86fae02] | 248 | mm_down_page=550 |
---|
[b2f758c] | 249 | |
---|
[adaa778] | 250 | origin_in_centre=1 |
---|
| 251 | |
---|
[b2f758c] | 252 | ; ====================================================================== |
---|
| 253 | |
---|
[adaa778] | 254 | [hpgl_generic_a0landscape] |
---|
| 255 | like=base |
---|
[b2f758c] | 256 | |
---|
[adaa778] | 257 | ; Page: plottable width (mm) (page is landscape) |
---|
[b2f758c] | 258 | mm_across_page=1140 |
---|
| 259 | |
---|
[adaa778] | 260 | ; Page: plottable length (mm) |
---|
[b2f758c] | 261 | mm_down_page=800 |
---|
| 262 | |
---|
[adaa778] | 263 | origin_in_centre=1 |
---|
| 264 | |
---|
[b2f758c] | 265 | ; ====================================================================== |
---|
[adaa778] | 266 | |
---|
| 267 | [pcl_generic_a4] |
---|
| 268 | like=base |
---|
[b2f758c] | 269 | |
---|
[adaa778] | 270 | ; Dots/Inch resolution (check manual or printer will use approxn) |
---|
[b2f758c] | 271 | dpi=300 |
---|
| 272 | |
---|
[adaa778] | 273 | ; Printable area width (mm) |
---|
[b2f758c] | 274 | mm_across_page=200 |
---|
| 275 | |
---|
[adaa778] | 276 | ; Printable area depth (mm) |
---|
[b2f758c] | 277 | mm_down_page=280 |
---|
| 278 | |
---|
[adaa778] | 279 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
[b2f758c] | 280 | horizontal_tab_ok=0 |
---|
| 281 | |
---|
[adaa778] | 282 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
[b2f758c] | 283 | vertical_tab_ok=0 |
---|
| 284 | |
---|
| 285 | ; ====================================================================== |
---|
[adaa778] | 286 | |
---|
| 287 | [pcl_modern_a4] |
---|
| 288 | like=pcl_generic_a4 |
---|
[b2f758c] | 289 | |
---|
[adaa778] | 290 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
[b2f758c] | 291 | horizontal_tab_ok=1 |
---|
| 292 | |
---|
[adaa778] | 293 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
[b2f758c] | 294 | vertical_tab_ok=1 |
---|
[adaa778] | 295 | |
---|
[b2f758c] | 296 | ; ====================================================================== |
---|
[adaa778] | 297 | |
---|
| 298 | [ps_generic_a4] |
---|
| 299 | like=base |
---|
[b2f758c] | 300 | |
---|
[adaa778] | 301 | ; name of font to use for text |
---|
[b2f758c] | 302 | font=Times-Roman |
---|
| 303 | |
---|
[990fbaf0] | 304 | ; font size in points (was fixed at 10 in older versions) |
---|
[b2f758c] | 305 | font_size=10 |
---|
| 306 | |
---|
| 307 | ; name of font to use for labels |
---|
| 308 | font_labels=Helvetica |
---|
| 309 | |
---|
[990fbaf0] | 310 | ; line width in points (was fixed at printer default in older versions) |
---|
[50ada97] | 311 | line_width=0.1 |
---|
[b2f758c] | 312 | |
---|
[adaa778] | 313 | ; left edge to left margin (mm) |
---|
[b2f758c] | 314 | mm_left_margin=8.1 |
---|
| 315 | |
---|
[adaa778] | 316 | ; left edge to right margin (mm) |
---|
[b2f758c] | 317 | mm_right_margin=203.6 |
---|
| 318 | |
---|
[adaa778] | 319 | ; bottom edge to bottom margin (mm) |
---|
[b2f758c] | 320 | mm_bottom_margin=8.1 |
---|
| 321 | |
---|
[adaa778] | 322 | ; bottom edge to top margin (mm) |
---|
[b2f758c] | 323 | mm_top_margin=288.9 |
---|
| 324 | |
---|
| 325 | ; ====================================================================== |
---|
[adaa778] | 326 | |
---|
| 327 | [bj] |
---|
| 328 | like=base |
---|
| 329 | type=dm |
---|
| 330 | pixels_across_page=2880 |
---|
[b2f758c] | 331 | |
---|
[bd171e1a] | 332 | ; Canon BJ printers are unlikely to require calibration |
---|
| 333 | mm_across_page=203.2 |
---|
| 334 | ;mm_down_page= FIXME 101 lines => 98 used * 48 dots/line gives way more |
---|
| 335 | ; then 360 dpi, which is what we'd expect |
---|
| 336 | |
---|
[adaa778] | 337 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 338 | lines_down_page=101 |
---|
| 339 | |
---|
[bd171e1a] | 340 | ; Line Dots Deep |
---|
[b2f758c] | 341 | dots_per_pass=48 |
---|
| 342 | |
---|
[adaa778] | 343 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
[b2f758c] | 344 | code_line_spacing= |
---|
| 345 | |
---|
| 346 | ; Printer graphics mode |
---|
[adaa778] | 347 | code_graphics_mode=\[[g |
---|
| 348 | code_graphics_mode_suffix=\x10 |
---|
[b2f758c] | 349 | |
---|
[adaa778] | 350 | ; Printer large font |
---|
[b2f758c] | 351 | code_large_font=\[I\x08\[W\x01 |
---|
| 352 | |
---|
[adaa778] | 353 | ; Printer small font |
---|
[b2f758c] | 354 | code_small_font=\[I\x10\[W\x00 |
---|
| 355 | |
---|
[adaa778] | 356 | ; Printer page feed |
---|
[b2f758c] | 357 | code_formfeed=\x0c |
---|
| 358 | |
---|
[adaa778] | 359 | ; Printer reset |
---|
[b2f758c] | 360 | code_reset_printer= |
---|
| 361 | |
---|
[adaa778] | 362 | code_end_of_line=\[J\x18\x0d |
---|
| 363 | is_ibm=1 |
---|
[b2f758c] | 364 | |
---|
| 365 | ; ====================================================================== |
---|