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