; Printer Description File for Survex - http://www.survex.com/ ; ; Copyright (C) 1993-2002 Olly Betts ; ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2 of the License, or ; (at your option) any later version. ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ; Note: don't modify this file or your changes will be overwritten by ; upgrades. See the Survex manual or print.ini(5) man page for details. [base] ;default for MSDOS output_msdos=LPT1 ;default for MS Windows output_mswindows=LPT1 ;default for Unix output_unix=|lpr ;default for RISC OS ;Survex$Printer is set in !Cavern.!Boot (to Printer: by default) output_riscos= ;default for anything else (send to a file called `Printout') output=Printout ; font size for labels in points ; Note: ignored by HPGL driver font_size_labels=6 ; used by printdm and printpcl - the other font currently supplied is ; "bold" which is darker and may be useful on a dot-matrix printer with ; a ribbon which is passed its best font_bitmap=default ; ====================================================================== [win] like=base ; ====================================================================== [dm] like=dm_8pin_a4 ; ====================================================================== [ps] like=ps_generic_a4 ; ====================================================================== [pcl] like=pcl_generic_a4 ; ====================================================================== [hpgl] like=hpgl_generic_a4landscape ; ====================================================================== ; Driver definitions for different printers ; ====================================================================== [dm_8pin_a4] like=base type=dm pixels_across_page=960 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=101 ; Line Dots Deep (any value >0 but 8,9,24 are useful) dots_per_pass=8 ; Printer line spacing (\xXX gives char with hex ASCII value XX) code_line_spacing=\[3\x18 ; Printer graphics mode code_graphics_mode=\[L code_graphics_mode_suffix= ; Printer large font code_large_font=\x12\[W1 ; Printer small font code_small_font=\[W0\x0f ; Printer page feed code_formfeed=\x0c ; Printer reset code_reset_printer=\[2 ; End of line code code_end_of_line=\x0D\x0A ; ====================================================================== [dm_8pin_11inch] like=dm_8pin_a4 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=99 ; ====================================================================== [dm_8pin_12inch] like=dm_8pin_a4 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=108 ; ====================================================================== [dm_9pin_a4] like=dm_8pin_a4 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=101 ; Line Dots Deep (any value >0 but 8,9,24 are useful) dots_per_pass=9 ; Printer line spacing (\xXX gives char with hex ASCII value XX) code_line_spacing=\[3\[ ; Printer graphics mode code_graphics_mode=\[^\x01 ; ====================================================================== [dm_9pin_11inch] like=dm_9pin_a4 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=99 ; ====================================================================== [dm_9pin_12inch] like=dm_9pin_a4 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=108 ; ====================================================================== [dm_24pin_a4] like=dm_8pin_a4 pixels_across_page=1440 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=101 ; Line Dots Deep (any value >0 but 8,9,24 are useful) dots_per_pass=24 ; Printer line spacing (\xXX gives char with hex ASCII value XX) code_line_spacing=\[3\x18 ; Printer graphics mode code_graphics_mode=\[*\x27 ; ====================================================================== [dm_24pin_11inch] like=dm_24pin_a4 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=99 ; ====================================================================== [dm_24pin_12inch] like=dm_24pin_a4 ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=108 ; ====================================================================== [dm_panasonic_24pin] like=dm_24pin_a4 ; Page Lines Deep lines_down_page=85 ; ====================================================================== [dm_lx86_9pin_11inch] like=dm_9pin_11inch ; ====================================================================== [hpgl_generic_a4landscape] like=base ; Page: plottable width (mm) (page is landscape) mm_across_page=285 ; Page: plottable length (mm) mm_down_page=200 origin_in_centre=1 ; ====================================================================== [hpgl_generic_a1landscape] like=base ; Page: plottable width (mm) (page is landscape) mm_across_page=790 ; Page: plottable length (mm) mm_down_page=550 origin_in_centre=1 ; ====================================================================== [hpgl_generic_a0landscape] like=base ; Page: plottable width (mm) (page is landscape) mm_across_page=1140 ; Page: plottable length (mm) mm_down_page=800 origin_in_centre=1 ; ====================================================================== [pcl_generic_a4] like=base ; Dots/Inch resolution (check manual or printer will use approxn) dpi=300 ; Printable area width (mm) mm_across_page=200 ; Printable area depth (mm) mm_down_page=280 ; Use horizontal tabs? 0 for no; 1 for yes horizontal_tab_ok=0 ; Use vertical tabs? 0 for no; 1 for yes vertical_tab_ok=0 ; ====================================================================== [pcl_modern_a4] like=pcl_generic_a4 ; Use horizontal tabs? 0 for no; 1 for yes horizontal_tab_ok=1 ; Use vertical tabs? 0 for no; 1 for yes vertical_tab_ok=1 ; ====================================================================== [ps_generic_a4] like=base ; name of font to use for text font=Times-Roman ; font size in points (was fixed at 10 in older versions) font_size=10 ; name of font to use for labels font_labels=Helvetica ; line width in points (was fixed at printer default in older versions) line_width=0.1 ; left edge to left margin (mm) mm_left_margin=8.1 ; left edge to right margin (mm) mm_right_margin=203.6 ; bottom edge to bottom margin (mm) mm_bottom_margin=8.1 ; bottom edge to top margin (mm) mm_top_margin=288.9 ; ====================================================================== [bj] like=base type=dm pixels_across_page=2880 ; Canon BJ printers are unlikely to require calibration mm_across_page=203.2 ;mm_down_page= FIXME 101 lines => 98 used * 48 dots/line gives way more ; then 360 dpi, which is what we'd expect ; Page Lines Deep (99 for 11" paper, 108 for 12", 101 for A4) lines_down_page=101 ; Line Dots Deep dots_per_pass=48 ; Printer line spacing (\xXX gives char with hex ASCII value XX) code_line_spacing= ; Printer graphics mode code_graphics_mode=\[[g code_graphics_mode_suffix=\x10 ; Printer large font code_large_font=\[I\x08\[W\x01 ; Printer small font code_small_font=\[I\x10\[W\x00 ; Printer page feed code_formfeed=\x0c ; Printer reset code_reset_printer= code_end_of_line=\[J\x18\x0d is_ibm=1 ; ======================================================================