home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
useful
/
text
/
tex
/
pastex
/
config
/
dviprint.printers
< prev
next >
Wrap
Text File
|
1994-05-20
|
26KB
|
978 lines
;
; $VER: DVIprint.printers 1.20 (20.05.94)
;
; This file defines all printers which use DVIprints fast hardcopy routines.
;
; The Generic, SLM804 (Atari only), DeskJet/LaserJet printers are not defined here,
; as they use special routines in DVIprint. However the description keywords
; may be used here too for these printers.
;
;
; List of keywords:
;
;printer <name> (required)
;draft on/off (optional)
;optimize on/off (optional)
; (if not given, command line arguments don't matter)
;
; The above keywords must *precede* the following ones:
;
;resolution <res> or <resx/rexy> (required)
;gfx_str <bytes> (required, ex. 27 * 3 LOW HIGH)
;skip_str <bytes> (required, ex. 27 J LOW)
;skips <bytes> (required, ex. 1 1 22)
;height <value> (required, ex. 24)
;blank <method> (required, SPACES, POINT or GFX)
; (the internal bitmap height is a multiple of
; this value)
;grouping <value> (required, 1 or 3 for 8 or 24 pins)
;
;paper_width <value> (required, ex. 8.0in)
; (width in some TeX dimension (same as for
; specifying offsets in DVIprint or ShowDVI))
;init_str <bytes> (optional, ex. 27 @)
;exit_str <bytes> (optional, ex. 27 @)
;ID_str <string> (optional)
;prtbuffer <value> (optional)
;
;description <no parameter> (optional)
; (starts a description of the current
; configuration. This description is dumped to
; the screen if the 'ShowPrinters' option of
; DVIprint is selected together with a printer
; name.)
;end_desc <no parameter> (required to end a description)
;# (required, ends definition)
;
;
; The following is allowed in a <bytes> argument:
; o decimal number (e.g. 27 for ESC)
; o 0xhex number (e.g. 0x1b for ESC)
; o 'ascii character' for the numbers 0-9. (e.g. '3')
; o ESC value 27
; o FS value 28
; o LOW, HIGH inserts numerical argument in gfx_str
; and skip_str commands, low or high byte.
; o NR100, NR10, NR1 inserts numerical argument in gfx_str
; and skip_str commands.
; E.g. "251" -> NR100 == 2, NR10 == 5, NR1 == 1
;
; BUGS: ';' is not valid. ; serve as a comment delimiter,
; use 59 or 0x3B instead.
;
; Valid separators are spaces, tabs and commas.
;
; The optimize and draft switches have no internal use, they only
; allow the user to switch quickly between different printing
; methods, resolutions or whatever. For example, `optimize' may
; determine the blanking method, and `draft' the resolution.
;
; init_str can use the LOW character. The value passed will be the
; number of 'pica' wide characters that fit on a line. This value is
; computed from paper_width. Note that most printer can only print
; over 8 inch, even though US paper is 8.5 inch wide. The correct
; value to set for paper_width is nevertheless 8.0in.
;
; Be very careful when modifying these values! You could meet the GURU.
;
; A more complete description of all the keywords is given at the end
; of this file. Please look at the configurations below first to get an
; idea of what you can do.
; These are true 360/360 dpi 24 pin printers
printer NECP6
draft off
;optimize on ; any choice
resolution 360
ID_str NEC P6 360dpi (POINT)
description
This is your favorite NEC P6 printer driver. You should use the option
'unidir off' too.
end_desc
gfx_str FS 'Z' LOW HIGH
skip_str FS '3' LOW 10
skips 1 47
height 48
blank POINT
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0x0 ESC 'Q' LOW
exit_str 13 ESC 48
paper_width 8.0in
#
; Use these as NEC and EpsonLQ 180dpi (draft) modes
; All these entries are the same, exception taken from the blanking method.
printer NECP6
draft on
;optimize on
ID_str NECP6/LQ 180dpi (POINT)
resolution 180
gfx_str ESC '*' 39 LOW HIGH
skip_str 13 ESC 'J' LOW
skips 24
height 24
blank POINT
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13
paper_width 8.0in
#
; These are 360/180 dpi 24 pin printers
printer NECP6draft
;draft off
;optimize on ; any choice
resolution 360/180
ID_str NEC P6 360x180dpi (POINT)
description
This is a NEC P6 driver for 360x180dpi. This needs only on pass.
end_desc
gfx_str ESC '*' 40 LOW HIGH
skip_str ESC '3' LOW 10
skips 24
height 24
blank POINT
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13 ESC 48
paper_width 8.0in
#
printer NECP6c
draft off
optimize on
ID_str NEC P6 360dpi (SPACES)
description
Some compatibles printer's heads *do* backstep when using the ESC '$'
`move to point' command. If this is not the case for your printer, you
should use the NECP6c printer driver, which use either the SPACES or
the GFX blanking method as defined below, instead of the regular POINT
method above. The Citizen Swift 24 is known to required this
configuration: great speed loss occurs while the printer's head moves
back *and* forth on the same line with the POINT method.
end_desc
resolution 360
gfx_str FS 'Z' LOW HIGH
skip_str FS '3' LOW 10
skips 1 47
height 48
blank SPACES
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13 ESC '0'
paper_width 8.0in
#
printer NECP6c
draft on
optimize on
ID_str NECP6/LQ 180dpi (SPACES)
resolution 180
gfx_str ESC '*' 39 LOW HIGH
skip_str 13 ESC 'J' LOW
skips 24
height 24
blank SPACES
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13
paper_width 8.0in
#
printer NECP6c
draft off
optimize off
resolution 360
ID_str NEC P6 360dpi (GFX)
gfx_str FS 'Z' LOW HIGH
skip_str FS '3' LOW 10
skips 1 47
height 48
blank GFX
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13 ESC '0'
paper_width 8.0in
#
printer NECP6c
draft on
optimize off
ID_str NECP6/LQ 180dpi (GFX)
resolution 180
gfx_str ESC '*' 39 LOW HIGH
skip_str 13 ESC 'J' LOW
skips 24
height 24
blank GFX
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13
paper_width 8.0in
#
printer STYLUS
draft off
;optimize on ; any choice
resolution 360
ID_str EPSON Stylus 800 360dpi (POINT)
description
EPSON Stylus 800 printer driver.
Prints 360 * 360 dpi in one pass using 48 dots.
(From: "Oliver Knorr" <olk@johann.nbg.sub.org>)
end_desc
gfx_str ESC '*' 73 LOW HIGH
skip_str 13 ESC 'J' LOW
skips 24
height 48
blank POINT
grouping 6
init_str ESC 'P' 18 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13
paper_width 8.0in
#
printer STYLUS
draft on
;optimize on ; any choice
resolution 360
ID_str EPSON Stylus 800 360dpi (POINT)
description
EPSON Stylus 800 economy printer driver.
Prints 360 * 360 dpi in one pass using 48 dots.
Econoy mode is not faster than standard mode,
but uses less ink for a cheaper draft output.
(From: "Oliver Knorr" <olk@johann.nbg.sub.org>)
end_desc
gfx_str ESC '*' 72 LOW HIGH
skip_str 13 ESC 'J' LOW
skips 24
height 48
blank POINT
grouping 6
init_str ESC 'P' 18 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13
paper_width 8.0in
#
printer LQ
draft off
optimize on
ID_str Epson LQ 360/180dpi (SPACES)
description
This is for 360/180 24 pin printers like the Epson LQ 800
end_desc
resolution 360/180
gfx_str ESC '*' 40 LOW HIGH
skip_str 13 ESC 'J' LOW
skips 24
height 24
blank SPACES
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13
paper_width 8.0in
#
printer LQ
draft off
optimize off
resolution 360/180
ID_str Epson LQ 360/180dpi (GFX)
gfx_str ESC '*' 40 LOW HIGH
skip_str 13 ESC 'J' LOW
skips 24
height 24
blank GFX
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13
paper_width 8.0in
#
printer LQd
draft off
;optimize on
ID_str Epson LQ 360/180dpi (POINT)
description
Try this and see if your printer's head backsteps or not. Don't use
this with the Epson LQ 800 for example.
end_desc
resolution 360/180
gfx_str ESC '*' 40 LOW HIGH
skip_str 13 ESC 'J' LOW
skips 24
height 24
blank POINT
grouping 3
init_str ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
exit_str 13
paper_width 8.0in
#
; Epson FX (9 pin printer) and compatibles
printer FX
draft off
;optimize off ; any choice
ID_str 9 pin printer 240/216dpi (POINT)
description
Use this configuration if your pr