home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
printer
/
prt48drv.lha
/
EpsonJX.dat
< prev
next >
Wrap
Text File
|
1987-04-12
|
14KB
|
359 lines
Printer specific data for the Amiga printer driver.
===================================================
Printer: EPSON JX-80 With Dots Perfect Upgrade by Dan Hartman 870129
(Please, also read PrmFil.doc in addition to the comments here.
The program analyzing this file is looking for b/w/l/s followed by
a colon to mark the start of a parameter. Keep ALL parameters. If not
needed keep unchanged or in case of strings, delete the contents of the
string, but keep the s<colon> mark. Do NOT add comments after escape
sequences specified after s<colon>).
Comment, Data type(byte,word,long,string), Data
Version w: 1
Revision w: 0
Printer Class (add values)
(0=alphanum,1=graphics,2=color) b: 3
Color Class (your "ribbon" colors)
Black, White, Yellow, Magenta, Cyan
(1(BWonly),2(YMC),3(BWorYMC),4(BYMC))
If your printer uses Red, Green, Blue
instead then add 8 to above values
and use AmigaDOS 1.2 b: 4
No of Pica size chars on Narrow Tractor b: 80
No of char sets b: 11
No of seconds before timeout l: 30
Pica size (SHORP0, 0.01 Chars Per Inch) w: 1000
Elite size (SHORP2, 0.01 Chars Per Inch) w: 1200
Fine size (SHORP4, 0.01 Chars Per Inch) w: 2000
Specify paper parameters as you like. The
following values are the standard ones
US letter size
Width (0.01 inch) w: 800
Length (0.01 inch) w: 1100
Lines to skip at perforation at 6 LPI w: 6
RIN (2nd string, after delay etc.) s:
US legal size
Width (0.01 inch) w: 800
Length (0.01 inch) w: 1400
Lines to skip at perforation at 6 LPI w: 6
RIN (2nd string, after delay) s:
Narrow tractor
Width, narrow (0.01 inch) w: 800
Length, narrow (0.01 inch) w: 0 (usually 0 = infinite)
Lines to skip at perforation at 6 LPI w: 6
RIN (2nd string, after delay) s:
Wide tractor
Width (0.01 inch) w: 1360
Length (0.01 inch) w: 0 (usually 0 = infinite)
Lines to skip at perforation at 6 LPI w: 6
RIN (2nd string, after delay) s:
Custom paper
Width (0.01 inch) w: 800
Length (0.01 inch) w: 1100
Lines to skip at perforation at 6 LPI w: 0
RIN (2nd string, after delay, see below) s:
Partial line up/down length
(0.01 printer units at 6 LPI) w: 1350
Colors for SFC and SBC:
(use ^p2 or ^d2 to access them) NEC CP6
No. 0 (30/40) b: 0 black
-- 1 (31/41) b: 1 magenta
-- 2 . b: 2 cyan
-- 3 . b: 3 violet
-- 4 . b: 4 yellow
-- 5 . b: 5 orange
-- 6 . b: 6 green
-- 7 . b: 0 black
-- 8 . b: 0 black
-- 9 (39/49) b: 0 black
Conversion Table
(^X = ctrl-X, etc.
^[ = ESC,
^\ = FS,
^<octal digits> = byte value,
^^ = ^
Certain parameters are followed by 1 or more numerical values as
parameters e.g. SLRM. They are stored in P[0], P[1] etc. and may
be accessed by inserting the following commands (e.g. ^p1)
^px = insert parameter byte P[x] as a binary byte here
^dx = insert parameter byte P[x] as three decimal characters here
^wx = insert parameter bytes P[x], P[x+1] as 5 decimal characters here
Write string immediately after colon on one line only.
An empty string after colon specifies no simple conversion possible.
The SPACE character is significant.)
Amiga Your Printer
RIS ^[c reset s:^[@
RIN ^[#1 initialize
(common to all paper sizes excpt. custom
[see RIN below] followed by
a delay of 2 seconds,
VERPx, SHORPx, DENx, PROPx, SLRM, SLPP, PERFx
RIN (2nd string) as defined above)
s:^[@
IND ^[D line feed s:^12
NEL ^[E return line feed s:^15^12
RI ^[M reverse line feed s:
SGR0 ^[[0m normal character set s:^[R^0
SGR3 ^[[3m italics on s:^[4
SGR23 ^[[23m italics off s:^[5
SGR4 ^[[4m underline on s:^[-1
SGR24 ^[[24m underline off s:^[-0
SGR1 ^[[1m boldface on s:^[E
SGR22 ^[[22m boldface off s:^[F
SFC ^[[3nm n=0-9 set foregr. color s:^[r^p2
SBC ^[[4nm n=0-9 set background col. s:
SHORP0 ^[[0w normal pitch s:^[P^R^[W0
SHORP2 ^[[2w elite on s:^[M^R
SHORP1 ^[[1w elite off s:^[P
SHORP4 ^[[4w condensed fine on s:^[M^17
SHORP3 ^[[3w condensed off s:^22^[P
SHORP6 ^[[6w enlarged on s:^[W1
SHORP5 ^[[5w enlarged off s:^[W0
DEN6 ^[[6"z shadow print on s:
DEN5 ^[[5"z shadow print off s:
DEN4 ^[[4"z doublestrike on s:^[G
DEN3 ^[[3"z doublestrike off s:^[H
DEN2 ^[[2"z near letter quality on s:^[x1^[R^0
DEN1 ^[[1"z near letter quality off s:^[x0^[R^0
SUS2 ^[[2v superscript on s:^[S0
SUS1 ^[[1v superscript off s:^[T
SUS4 ^[[4v subscript on s:^[S1
SUS3 ^[[3v subscript off s:^[T
SUS0 ^[[0v normalize the line s:^[T
PLU ^[L partial line up s:^[j^p0
PLD ^[K partial line down s:^[J^p0
FNT0 ^[(B US char set s:^[R^0
FNT1 ^[(R French char set s:^[R^1
FNT2 ^[(K German char set s:^[R^2
FNT3 ^[(A UK char set s:^[R^3
FNT4 ^[(E Danish I s:^[R^4
FNT5 ^[(H Swedish s:^[R^5
FNT6 ^[(Y Italian s:^[R^6
FNT7 ^[(Z Spanish s:^[R^7
FNT8 ^[(J Japanese s:^[R^8
FNT9 ^[(6 Norwegian s:^[R^9
FNT10 ^[(C Danish II s:^[R^10
PROP2 ^[[2p proportional on s:^[p1
PROP1 ^[[1p proportional off s:^[p0
PROP0 ^[[0p proportional clear s:
TSS ^[[n E set proportional offset s:
JFY5 ^[[5 F auto left justify s:
JFY7 ^[[7 F auto right justify s:
JFY6 ^[[6 F auto full justify s:
JFY0 ^[[0 F auto justify off s:
JFY3 ^[[3 F letter space, justify s:
JFY1 ^[[1 F word fill, auto center s:
VERP0 ^[[0z 1/8" line spacing s:^[0
VERP1 ^[[1z 1/6" line spacing s:^[2
SLPP ^[[nt set form length n s:^[C^p0
PERF ^[[nq perf skip n (n > 0) s:^[N^p0
PERF0 ^[[0q perf skip off s:^[O
LMS ^[#9 left margin set s:^[l^p4
RMS ^[#0 right margin set s:^[Q^p5
TMS ^[#8 top margin set s:
BMS ^[#2 bottom margin set s:
STBM ^[[Pn1;Pn2r top & bottom margins s:
SLRM ^[[Pn1;Pn2s left & right margins s:^[l^p0^[Q^p1
CAM ^[#3 clear margins s:^[l^p0^[Q^p1
HTS ^[H set horiz tab s:
VTS ^[J set vertical tab s:
TBC0 ^[[0g clear horiz tab s:
TBC3 ^[[3g clear all horiz tab s:
TBC1 ^[[1g clear vertical tab s:
TBC4 ^[[4g clear all vertical tabs s:
TBCALL ^[#4 clear all hor & vert tabs s:
TBSALL ^[#5 set default tabs s:
EXTEND ^[[Pn"x extended commands s:
The following are sequences needed for the printer specific code
(only to be used when the full featured driver is generated)
RIN (custom paper, 1st string,
before 2 sec. delay followed
by RIN (2nd string) above) s:
1. available for EXTEND ^[[1"x s:
2. available for EXTEND ^[[2"x s:
3. available for EXTEND ^[[3"x s:
4. available for EXTEND ^[[4"x s:
5. available for EXTEND ^[[5"x s:
6. available for EXTEND ^[[6"x s:
7. available for EXTEND ^[[7"x s:
8. available for EXTEND ^[[8"x s:
9. available for EXTEND ^[[9"x s:
10. available for EXTEND ^[[10"x s:
Density 1 (default at Draft, 6 LPI) graphics
No of Raster Rows (pins) on each pass w: 8
Max dots in X direction l: 480 (8 * 60)
Max dots in Y direction (0=infinite) l: 0
Dots pr inch in X direction w: 60
Dots pr inch in Y direction w: 72
(the above parameters is used by AmigaDOS. Make sure, that they are
in accordance with the graphics mode parameters included in the
color prefixes below and sent to the printer)
Storage of dots in buffer
(and sending the data to the printer)
0: row by row (some laser/ink jet)
1: column by column (dot matrix) b: 1
Fill buffer bytes from
0: right to left, 1: left to right b: 1
In 320 x 200 resolution the ratio pixel
height/width = 1.2 on a monitor with the
vertical height adjusted to let the monitor
screen be totally filled by the picture.
Some programs believe the ratio is 1
(e.g DPaint) so if you primarily want
to print proper squares
and circles drawn by these programs
specify here the divisor to divide into
the real pixel height to give the
pixel height used by these programs.
Pixel height divisor * 100
(e.g. DPaint 120, monitor image 100) w: 100
Sequence for printing colors
(combination of ALL values 1,2,3,4;
specifies sequence of color data in print buffer;
colors for RGB printers in [...];,
leave as is for black/white printers)
Print black [white] as no. b: 1
--- yellow [blue] as no. b: 4
--- magenta (redish) [green] as no. b: 2
--- cyan (blueish) [red] as no. b: 3
Color black [white] prefix s:^15^[r^0^[*^0^p1^p0
Color yellow [blue] prefix s:^15^[r^4^[*^0^p1^p0
Color magenta [green] prefix s:^15^[r^1^[*^0^p1^p0
Color cyan [red] prefix s:^15^[r^2^[*^0^p1^p0
Init graphics before delay s:^[A^010
Init graphics after delay s:
Each single buffer terminated by s:^15^12
Finish graphics dump s:^14
Density 2 (default at Draft, 8 LPI) graphics
No of Raster Rows (pins) on each pass w: 8
Max dots in X direction l: 960
Max dots in Y direction (0=infinite) l: 0
Dots pr inch in X direction w: 120
Dots pr inch in Y direction w: 60
Storage of dots in buffer
0: row by row (some laser/ink jet)
1: coloumn by column (dot matrix) b: 1
Fill buffer bytes from
0: right to left, 1: left to right b: 1
Pixel height divisor * 100
(e.g. DPaint 120, monitor image 100) w: 100
Sequence for printing colors
Print black as no. b: 1
--- yellow as no. b: 4
--- magenta (redish) as no. b: 2
--- cyan (blueish) as no. b: 3
Color black prefix s:^15^[r^0^[*^2^p1^p0
Color yellow prefix s:^15^[r^4^[*^2^p1^p0
Color magenta prefix s:^15^[r^1^[*^2^p1^p0
Color cyan prefix s:^15^[r^2^[*^2^p1^p0
Init graphics before delay s:^[A^10
Init graphics after delay s:
Each single buffer terminated by s:^15^12
Finish graphics dump s:^14
Density 3 (default at Letter, 6 LPI) graphics
No of Raster Rows (pins) on each pass w: 8
Max dots in X direction l: 480
Max dots in Y direction (0=infinite) l: 0
Dots pr inch in X direction w: 60
Dots pr inch in Y direction w: 72
Storage of dots in buffer
0: row by row (some laser/ink jet)
1: coloumn by column (dot matrix) b: 1
Fill buffer bytes from
0: right to left, 1: left to right b: 1
Pixel height divisor * 100
(e.g. DPaint 120, monitor image 100) w: 100
Sequence for printing colors
Print black as no. b: 1
--- yellow as no. b: 4
--- magenta (redish) as no. b: 2
--- cyan (blueish) as no. b: 3
Color black prefix s:^15^[r^0^[*^0^p1^p0
Color yellow prefix s:^15^[r^4^[*^0^p1^p0
Color magenta prefix s:^15^[r^1^[*^0^p1^p0
Color cyan prefix s:^15^[r^2^[*^0^p1^p0
Init graphics before delay s:^[A^10^[G
Init graphics after delay s:
Each single buffer terminated by s:^15^12
Finish graphics dump s:^[H^14
Density 4 (default at Letter, 8 LPI) graphics
No of Raster Rows (pins) on each pass w: 8
Max dots in X direction l: 960
Max dots in Y direction (0=infinite) l: 0
Dots pr inch in X direction w: 120
Dots pr inch in Y direction w: 72
Storage of dots in buffer
0: row by row (some laser/ink jet)
1: coloumn by column (dot matrix) b: 1
Fill buffer bytes from
0: right to left, 1: left to right b: 1
Pixel height divisor * 100
(e.g. DPaint 120, monitor image 100) w: 100
Sequence for printing colors
Print black as no. b: 1
--- yellow as no. b: 4
--- magenta (redish) as no. b: 2
--- cyan (blueish) as no. b: 3
Color black prefix s:^15^[r^0^[*^1^p1^p0
Color yellow prefix s:^15^[r^4^[*^1^p1^p0
Color magenta prefix s:^15^[r^1^[*^1^p1^p0
Color cyan prefix s:^15^[r^2^[*^1^p1^p0
Init graphics before delay s:^[A^10
Init graphics after delay s:
Each single buffer terminated by s:^15^12
Finish graphics dump s:^14