[bd171e1a] | 1 | ; Printer Description File for Survex - http://www.survex.com/ |
---|
[b2f758c] | 2 | ; |
---|
[bd171e1a] | 3 | ; Copyright (C) 1993-2001 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 | |
---|
| 19 | |
---|
[bd171e1a] | 20 | ; Note: don't modify this file or your changes will be overwritten by |
---|
[6c7fbd5] | 21 | ; upgrades. Instead create: |
---|
[bd171e1a] | 22 | ; |
---|
| 23 | ; * /etc/survex/print.ini (Unix - system-wide settings) |
---|
| 24 | ; * ~/.survex/print.ini (Unix - per user settings) |
---|
| 25 | ; * myprint.ini in the directory where Survex is installed (other platforms) |
---|
| 26 | ; |
---|
| 27 | ; The drivers look for the section "[dm]", "[ps]", "[pcl]" or "[hpgl]" as |
---|
| 28 | ; appropriate. The file you create should should contain something like |
---|
| 29 | ; to select a particular printer: |
---|
| 30 | ; |
---|
| 31 | ; [pcl] |
---|
| 32 | ; like=pcl_modern_a4 |
---|
| 33 | ; |
---|
| 34 | ; For printdm, it should also contain calibration measurements: |
---|
| 35 | ; |
---|
| 36 | ; [dm] |
---|
| 37 | ; like=dm_24pin_a4 |
---|
| 38 | ; mm_across_page=202 |
---|
| 39 | ; mm_down_page=278 |
---|
| 40 | ; |
---|
| 41 | ; You can override other settings too, such as the output destination: |
---|
| 42 | ; |
---|
| 43 | ; [dm] |
---|
| 44 | ; output_unix=|lpr -Pepson |
---|
| 45 | ; like=dm_24pin_a4 |
---|
| 46 | ; mm_across_page=202 |
---|
| 47 | ; mm_down_page=278 |
---|
| 48 | ; |
---|
| 49 | ; printdm can also drive Canon bubblejets in native mode (which gives a |
---|
| 50 | ; higher resolution than in Epson emulation mode). To use this, |
---|
| 51 | ; set "like=bj" in the "[dm]" section - like so: |
---|
| 52 | ; |
---|
| 53 | ; [dm] |
---|
| 54 | ; like=bj |
---|
[adaa778] | 55 | |
---|
[b2f758c] | 56 | |
---|
[adaa778] | 57 | [base] |
---|
[b2f758c] | 58 | ;default for MSDOS |
---|
| 59 | output_msdos=LPT1 |
---|
| 60 | |
---|
| 61 | ;default for MS Windows |
---|
| 62 | output_mswindows=LPT1 |
---|
| 63 | |
---|
| 64 | ;default for Unix |
---|
| 65 | output_unix=|lpr |
---|
[adaa778] | 66 | |
---|
[b2f758c] | 67 | ;default for RISC OS |
---|
[d4d7e27] | 68 | ;Survex$Printer is set in !Cavern.!Boot (to Printer: by default) |
---|
| 69 | output_riscos=<Survex$Printer> |
---|
[adaa778] | 70 | |
---|
[b2f758c] | 71 | ;default for anything else (send to a file called `Printout') |
---|
| 72 | output=Printout |
---|
[adaa778] | 73 | |
---|
[b2f758c] | 74 | ; ====================================================================== |
---|
| 75 | |
---|
[adaa778] | 76 | [dm] |
---|
| 77 | like=dm_8pin_a4 |
---|
| 78 | |
---|
[b2f758c] | 79 | ; ====================================================================== |
---|
| 80 | |
---|
[adaa778] | 81 | [ps] |
---|
| 82 | like=ps_generic_a4 |
---|
| 83 | |
---|
[b2f758c] | 84 | ; ====================================================================== |
---|
| 85 | |
---|
[adaa778] | 86 | [pcl] |
---|
| 87 | like=pcl_generic_a4 |
---|
| 88 | |
---|
[b2f758c] | 89 | ; ====================================================================== |
---|
| 90 | |
---|
[adaa778] | 91 | [hpgl] |
---|
| 92 | like=hpgl_generic_a4landscape |
---|
| 93 | |
---|
[b2f758c] | 94 | ; ====================================================================== |
---|
| 95 | |
---|
[adaa778] | 96 | ; Driver definitions for different printers |
---|
| 97 | |
---|
[b2f758c] | 98 | ; ====================================================================== |
---|
| 99 | |
---|
[adaa778] | 100 | [dm_8pin_a4] |
---|
| 101 | like=base |
---|
| 102 | type=dm |
---|
| 103 | pixels_across_page=960 |
---|
[b2f758c] | 104 | |
---|
[adaa778] | 105 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 106 | lines_down_page=101 |
---|
| 107 | |
---|
[adaa778] | 108 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
[b2f758c] | 109 | dots_per_pass=8 |
---|
| 110 | |
---|
[adaa778] | 111 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
[b2f758c] | 112 | code_line_spacing=\[3\x18 |
---|
| 113 | |
---|
| 114 | ; Printer graphics mode |
---|
[adaa778] | 115 | code_graphics_mode=\[L |
---|
| 116 | code_graphics_mode_suffix= |
---|
[b2f758c] | 117 | |
---|
[adaa778] | 118 | ; Printer large font |
---|
[b2f758c] | 119 | code_large_font=\x12\[W1 |
---|
| 120 | |
---|
[adaa778] | 121 | ; Printer small font |
---|
[b2f758c] | 122 | code_small_font=\[W0\x0f |
---|
| 123 | |
---|
[adaa778] | 124 | ; Printer page feed |
---|
[b2f758c] | 125 | code_formfeed=\x0c |
---|
| 126 | |
---|
[adaa778] | 127 | ; Printer reset |
---|
[b2f758c] | 128 | code_reset_printer=\[2 |
---|
| 129 | |
---|
[adaa778] | 130 | ; End of line code |
---|
[b2f758c] | 131 | code_end_of_line=\x0D\x0A |
---|
| 132 | |
---|
| 133 | ; ====================================================================== |
---|
[adaa778] | 134 | |
---|
| 135 | [dm_8pin_11inch] |
---|
| 136 | like=dm_8pin_a4 |
---|
[b2f758c] | 137 | |
---|
[adaa778] | 138 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 139 | lines_down_page=99 |
---|
| 140 | |
---|
| 141 | ; ====================================================================== |
---|
[adaa778] | 142 | |
---|
| 143 | [dm_8pin_12inch] |
---|
| 144 | like=dm_8pin_a4 |
---|
[b2f758c] | 145 | |
---|
[adaa778] | 146 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 147 | lines_down_page=108 |
---|
| 148 | |
---|
| 149 | ; ====================================================================== |
---|
[adaa778] | 150 | |
---|
| 151 | [dm_9pin_a4] |
---|
| 152 | like=dm_8pin_a4 |
---|
[b2f758c] | 153 | |
---|
[adaa778] | 154 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 155 | lines_down_page=101 |
---|
| 156 | |
---|
[adaa778] | 157 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
[b2f758c] | 158 | dots_per_pass=9 |
---|
| 159 | |
---|
[adaa778] | 160 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
[b2f758c] | 161 | code_line_spacing=\[3\[ |
---|
| 162 | |
---|
[adaa778] | 163 | ; Printer graphics mode |
---|
[b2f758c] | 164 | code_graphics_mode=\[^\x01 |
---|
| 165 | |
---|
| 166 | ; ====================================================================== |
---|
[adaa778] | 167 | |
---|
| 168 | [dm_9pin_11inch] |
---|
| 169 | like=dm_9pin_a4 |
---|
[b2f758c] | 170 | |
---|
| 171 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[adaa778] | 172 | lines_down_page=99 |
---|
[b2f758c] | 173 | |
---|
| 174 | ; ====================================================================== |
---|
[adaa778] | 175 | |
---|
| 176 | [dm_9pin_12inch] |
---|
| 177 | like=dm_9pin_a4 |
---|
[b2f758c] | 178 | |
---|
| 179 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[adaa778] | 180 | lines_down_page=108 |
---|
[b2f758c] | 181 | |
---|
| 182 | ; ====================================================================== |
---|
[adaa778] | 183 | |
---|
| 184 | [dm_24pin_a4] |
---|
| 185 | like=dm_8pin_a4 |
---|
| 186 | pixels_across_page=1440 |
---|
[b2f758c] | 187 | |
---|
[adaa778] | 188 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 189 | lines_down_page=101 |
---|
| 190 | |
---|
[adaa778] | 191 | ; Line Dots Deep (any value >0 but 8,9,24 are useful) |
---|
[b2f758c] | 192 | dots_per_pass=24 |
---|
| 193 | |
---|
[adaa778] | 194 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
[b2f758c] | 195 | code_line_spacing=\[3\x18 |
---|
| 196 | |
---|
[adaa778] | 197 | ; Printer graphics mode |
---|
[b2f758c] | 198 | code_graphics_mode=\[*\x27 |
---|
[adaa778] | 199 | |
---|
[b2f758c] | 200 | ; ====================================================================== |
---|
[adaa778] | 201 | |
---|
| 202 | [dm_24pin_11inch] |
---|
| 203 | like=dm_24pin_a4 |
---|
[b2f758c] | 204 | |
---|
[adaa778] | 205 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 206 | lines_down_page=99 |
---|
| 207 | |
---|
| 208 | ; ====================================================================== |
---|
[adaa778] | 209 | |
---|
| 210 | [dm_24pin_12inch] |
---|
| 211 | like=dm_24pin_a4 |
---|
[b2f758c] | 212 | |
---|
[adaa778] | 213 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 214 | lines_down_page=108 |
---|
| 215 | |
---|
| 216 | ; ====================================================================== |
---|
[adaa778] | 217 | |
---|
| 218 | [dm_panasonic_24pin] |
---|
| 219 | like=dm_24pin_a4 |
---|
[b2f758c] | 220 | |
---|
[adaa778] | 221 | ; Page Lines Deep |
---|
[b2f758c] | 222 | lines_down_page=85 |
---|
| 223 | |
---|
| 224 | ; ====================================================================== |
---|
[adaa778] | 225 | |
---|
| 226 | [dm_lx86_9pin_11inch] |
---|
| 227 | like=dm_9pin_11inch |
---|
[b2f758c] | 228 | |
---|
| 229 | ; ====================================================================== |
---|
[adaa778] | 230 | |
---|
| 231 | [hpgl_generic_a4landscape] |
---|
| 232 | like=base |
---|
[b2f758c] | 233 | |
---|
[adaa778] | 234 | ; Page: plottable width (mm) (page is landscape) |
---|
[b2f758c] | 235 | mm_across_page=285 |
---|
| 236 | |
---|
[adaa778] | 237 | ; Page: plottable length (mm) |
---|
[b2f758c] | 238 | mm_down_page=200 |
---|
| 239 | |
---|
[adaa778] | 240 | origin_in_centre=1 |
---|
| 241 | |
---|
[b2f758c] | 242 | ; ====================================================================== |
---|
| 243 | |
---|
[adaa778] | 244 | [hpgl_generic_a1landscape] |
---|
| 245 | like=base |
---|
[b2f758c] | 246 | |
---|
[adaa778] | 247 | ; Page: plottable width (mm) (page is landscape) |
---|
[b2f758c] | 248 | mm_across_page=430 |
---|
| 249 | |
---|
[adaa778] | 250 | ; Page: plottable length (mm) |
---|
[b2f758c] | 251 | mm_down_page=580 |
---|
| 252 | |
---|
[adaa778] | 253 | origin_in_centre=1 |
---|
| 254 | |
---|
[b2f758c] | 255 | ; ====================================================================== |
---|
| 256 | |
---|
[adaa778] | 257 | [hpgl_generic_a0landscape] |
---|
| 258 | like=base |
---|
[b2f758c] | 259 | |
---|
[adaa778] | 260 | ; Page: plottable width (mm) (page is landscape) |
---|
[b2f758c] | 261 | mm_across_page=1140 |
---|
| 262 | |
---|
[adaa778] | 263 | ; Page: plottable length (mm) |
---|
[b2f758c] | 264 | mm_down_page=800 |
---|
| 265 | |
---|
[adaa778] | 266 | origin_in_centre=1 |
---|
| 267 | |
---|
[b2f758c] | 268 | ; ====================================================================== |
---|
[adaa778] | 269 | |
---|
| 270 | [pcl_generic_a4] |
---|
| 271 | like=base |
---|
[b2f758c] | 272 | |
---|
[adaa778] | 273 | ; Dots/Inch resolution (check manual or printer will use approxn) |
---|
[b2f758c] | 274 | dpi=300 |
---|
| 275 | |
---|
[adaa778] | 276 | ; Printable area width (mm) |
---|
[b2f758c] | 277 | mm_across_page=200 |
---|
| 278 | |
---|
[adaa778] | 279 | ; Printable area depth (mm) |
---|
[b2f758c] | 280 | mm_down_page=280 |
---|
| 281 | |
---|
[adaa778] | 282 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
[b2f758c] | 283 | horizontal_tab_ok=0 |
---|
| 284 | |
---|
[adaa778] | 285 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
[b2f758c] | 286 | vertical_tab_ok=0 |
---|
| 287 | |
---|
| 288 | ; ====================================================================== |
---|
[adaa778] | 289 | |
---|
| 290 | [pcl_modern_a4] |
---|
| 291 | like=pcl_generic_a4 |
---|
[b2f758c] | 292 | |
---|
[adaa778] | 293 | ; Use horizontal tabs? 0 for no; 1 for yes |
---|
[b2f758c] | 294 | horizontal_tab_ok=1 |
---|
| 295 | |
---|
[adaa778] | 296 | ; Use vertical tabs? 0 for no; 1 for yes |
---|
[b2f758c] | 297 | vertical_tab_ok=1 |
---|
[adaa778] | 298 | |
---|
[b2f758c] | 299 | ; ====================================================================== |
---|
[adaa778] | 300 | |
---|
| 301 | [ps_generic_a4] |
---|
| 302 | like=base |
---|
[b2f758c] | 303 | |
---|
[adaa778] | 304 | ; name of font to use for text |
---|
[b2f758c] | 305 | font=Times-Roman |
---|
| 306 | |
---|
[990fbaf0] | 307 | ; font size in points (was fixed at 10 in older versions) |
---|
[b2f758c] | 308 | font_size=10 |
---|
| 309 | |
---|
| 310 | ; name of font to use for labels |
---|
| 311 | font_labels=Helvetica |
---|
| 312 | |
---|
| 313 | ; font size for labels in points |
---|
| 314 | font_size_labels=6 |
---|
| 315 | |
---|
[990fbaf0] | 316 | ; line width in points (was fixed at printer default in older versions) |
---|
[50ada97] | 317 | line_width=0.1 |
---|
[b2f758c] | 318 | |
---|
[adaa778] | 319 | ; left edge to left margin (mm) |
---|
[b2f758c] | 320 | mm_left_margin=8.1 |
---|
| 321 | |
---|
[adaa778] | 322 | ; left edge to right margin (mm) |
---|
[b2f758c] | 323 | mm_right_margin=203.6 |
---|
| 324 | |
---|
[adaa778] | 325 | ; bottom edge to bottom margin (mm) |
---|
[b2f758c] | 326 | mm_bottom_margin=8.1 |
---|
| 327 | |
---|
[adaa778] | 328 | ; bottom edge to top margin (mm) |
---|
[b2f758c] | 329 | mm_top_margin=288.9 |
---|
| 330 | |
---|
| 331 | ; ====================================================================== |
---|
[adaa778] | 332 | |
---|
| 333 | [bj] |
---|
| 334 | like=base |
---|
| 335 | type=dm |
---|
| 336 | pixels_across_page=2880 |
---|
[b2f758c] | 337 | |
---|
[bd171e1a] | 338 | ; Canon BJ printers are unlikely to require calibration |
---|
| 339 | mm_across_page=203.2 |
---|
| 340 | ;mm_down_page= FIXME 101 lines => 98 used * 48 dots/line gives way more |
---|
| 341 | ; then 360 dpi, which is what we'd expect |
---|
| 342 | |
---|
[adaa778] | 343 | ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) |
---|
[b2f758c] | 344 | lines_down_page=101 |
---|
| 345 | |
---|
[bd171e1a] | 346 | ; Line Dots Deep |
---|
[b2f758c] | 347 | dots_per_pass=48 |
---|
| 348 | |
---|
[adaa778] | 349 | ; Printer line spacing (\xXX gives char with hex ASCII value XX) |
---|
[b2f758c] | 350 | code_line_spacing= |
---|
| 351 | |
---|
| 352 | ; Printer graphics mode |
---|
[adaa778] | 353 | code_graphics_mode=\[[g |
---|
| 354 | code_graphics_mode_suffix=\x10 |
---|
[b2f758c] | 355 | |
---|
[adaa778] | 356 | ; Printer large font |
---|
[b2f758c] | 357 | code_large_font=\[I\x08\[W\x01 |
---|
| 358 | |
---|
[adaa778] | 359 | ; Printer small font |
---|
[b2f758c] | 360 | code_small_font=\[I\x10\[W\x00 |
---|
| 361 | |
---|
[adaa778] | 362 | ; Printer page feed |
---|
[b2f758c] | 363 | code_formfeed=\x0c |
---|
| 364 | |
---|
[adaa778] | 365 | ; Printer reset |
---|
[b2f758c] | 366 | code_reset_printer= |
---|
| 367 | |
---|
[adaa778] | 368 | code_end_of_line=\[J\x18\x0d |
---|
| 369 | is_ibm=1 |
---|
[b2f758c] | 370 | |
---|
| 371 | ; ====================================================================== |
---|