; This Configuration file describes the Auxillary Hardware Configuration.
; It should be read by every program, which tries to acces any Auxillary
; Hardware via the IEC bus.
; Home directory of this file is /src/lise/
; A local version in any directory superseeds the default file!
;
; organization:
;
; Any word, which starts with a `:` in the first column is a Keyword for this
; particular device. Then follows in this order on the next lines:
;
; 1) The device file.
; 2) a program to be called in the event of an error
; 3) an error message to be printed in the event of an error
; 4) a filename, to which spurious output should be directed
; 5) some device dependent information.
;
; This definition is stopped by an `#` in the first column.
;
; Choose printer:
; 1- assign choosen printer as ":defaultprinter"
; 2- rename old defaultprinter
; 3- if printer is HP-Deskjet500 on AMIGA choose "/tmp/rcp_tmp" as device file (2nd line)
;    in other cases (printer connected directly to HP) choose "/dev/lpraw"
; 4- the lp command allways uses the HP-printer!
;
:gfx0
  ram:tekamiga.0                    ; graphic communication file
  lise:fonts/trip.chr               ; primary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  lise:fonts/symb.chr               ; secondary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  256000                            ; size of vector buffer
  HP_DeskJet_1                      ; name of printerdriver
#
:gfx1
  ram:tekamiga.1                    ; graphic communication file
  lise:fonts/trip.chr               ; primary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  lise:fonts/symb.chr               ; secondary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  0                                 ; size of vector buffer
  HP_DeskJet_1                      ; name of printerdriver
#
:gfx2
  ram:tekamiga.2                    ; graphic communication file
  lise:fonts/trip.chr               ; primary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  lise:fonts/symb.chr               ; secondary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  0                                 ; size of vector buffer
  HP_DeskJet_1                            ; name of printerdriver
#
:gfx3
  ram:tekamiga.3                    ; graphic communication file
  lise:fonts/trip.chr               ; primary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  lise:fonts/symb.chr               ; secondary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  0                                 ; size of vector buffer
  HP_DeskJet_1                            ; name of printerdriver
#
:gfx4
  ram:tekamiga.4                    ; graphic communication file
  lise:fonts/trip.chr               ; primary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  lise:fonts/symb.chr               ; secondary vector font
  6                                 ; initial x size
  6                                 ; initial y size
  0                                 ; size of vector buffer
  HP_DeskJet_1                            ; name of printerdriver
#
:EpsonX
  PAR:                              ; Epson compatible
  echo PRINTER error >/dev/syscon    ; just print message on console window
  PRINTER error
  nil:
  IGNORE                            ; optional command after printing (NET)
  3                                 ; number of passes
  1                                 ; number of dot image characters lsb msb
  1800                              ; x_size printer
  800                               ; y_size printer
  \x1B@                             ; printer initialize
  \x1BL                             ; printer double density grafic
  \x1B3\x01\n                       ; initiate half dot line feed
  \x1B3\x15\n                       ; initiate full line feed
  \x1B@\x0C                         ; send after printing
#
:QuietJet_UX
  /dev/lpraw                        ; HP Quiet Jet
  echo PRINTER error >/dev/syscon   ; just print message on console window
  PRINTER error
  nil:
  IGNORE                            ; optional command after printing (NET)
  2                                 ; number of passes
  2                                 ; HP Mode Raster graphic in rows
  1800                              ; x_size printer
  1200                              ; y_size printer
  \x1B*t192R\x1B*rA                 ; select quad density graphics
  \x1B*b225W                        ; printer double density grafic
  \x00                              ; initiate half dot line feed
  \x00                              ; initiate full line feed
  \x1B*rB                           ; send after printing
#
:HP_DeskJet_1
  PAR:                              ; HP DeskJet 500
  echo PRINTER error >/dev/syscon   ; just print message on console window
  PRINTER error
  nil:
  IGNORE                            ; optional command after printing (NET)
  2                                 ; number of passes
  3                                 ; HP DeskJet mode LandScape
  3200                              ; x_size printer
  2400                              ; y_size printer
  \x1B*t300R\x1B*rA                 ; select quad density graphics
  \x1B*b300W                        ; printer double density grafic
  \x00                              ; initiate half dot line feed
  \x00                              ; initiate full line feed
  \x1B*rbC\x0c                      ; send after printing
#
:HP_DeskJet_2
  PAR:                              ; HP DeskJet 500
  echo PRINTER error >/dev/syscon   ; just print message on console window
  PRINTER error
  nil:
  IGNORE                            ; optional command after printing (NET)
  2                                 ; number of passes
  2                                 ; HP QuietJet mode (DeskJet portrait)
  2400                              ; x_size printer
  1600                               ; y_size printer
  \x1B*t300R\x1B*rA                 ; select quad density graphics
  \x1B*b300W                        ; printer double density grafic
  \x00                              ; initiate half dot line feed
  \x00                              ; initiate full line feed
  \x1B*rbC\x0c                      ; send after printing
#
:HP_DeskJet_NET
  /tmp/rcp.tmp                      ; HP DeskJet 500
  echo PRINTER error >/dev/syscon   ; just print message on console window
  PRINTER error
  nil:
  /usr/bin/remote_print /tmp/rcp.tmp ; printing on Network
  2                                 ; number of passes
  3                                 ; HP DeskJet mode LandScape
  3200                              ; x_size printer
  2400                              ; y_size printer
  \x1B*t300R\x1B*rA                 ; select quad density graphics
  \x1B*b300W                        ; printer double density grafic
  \x00                              ; initiate half dot line feed
  \x00                              ; initiate full line feed
  \x1B*rbC\x0c                      ; send after printing
#
:PostScript
  ram:lise.ps                       ; Postscript output
  echo PRINTER error >/dev/syscon   ; just print message on console window
  PRINTER error
  nil:
  IGNORE                            ; optional command after printing (NET)
  2                                 ; doesn't matter
  10                                ; Identify Postscript
  12                                ; x_factor (int / 100)
  12                                ; y_factor (int / 100)
#
:Plotter
  plt:                              ; HP-GL output
  echo PRINTER error >/dev/syscon   ; just print message on console window
  PRINTER error
  nil:
  IGNORE                            ; optional command after printing (NET)
  2                                 ; doesn't matter
  11                                ; Identify HP-GL
  225                               ; x_factor (int / 100)
  225                               ; y_factor (int / 100)
#

