home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
printer
/
prt48drv.lha
/
ThinkJet.dat
< prev
next >
Wrap
Text File
|
1987-04-12
|
12KB
|
333 lines
Printer specific data for the Amiga printer driver.
===================================================
Printer: Hewlett-Packard ThinkJet by Mike Weiblen 870115
Comment, Data type(byte,word,long,string), Data
Version w: 1
Revision w: 1
Printer Class (add values)
(0=alphanum,1=graphics,2=color) b: 1
Color Class (your "ribbon" colors)
Black, White, Yellow, Magenta, Cyan
(1(BWonly),2(YMC),3(BWorYMC),4(BYMC)) b: 1
No of Pica size chars on Narrow Tractor b: 80
No of char sets b: 1
No of seconds before timeout l: 30
Pica size (SHORP0, 0.01 Chars Per Inch) w: 1200
Elite size (SHORP2, 0.01 Chars Per Inch) w: 2130
Fine size (SHORP4, 0.01 Chars Per Inch) w: 2130
Specify paper parameters as you like. The
following values are the standard ones
US letter size
Width (0.01 inch) w: 667
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: 667
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: 667
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: 667
Length (0.01 inch) w: 1100
Lines to skip at perforation at 6 LPI w: 6
RIN (2nd string, after delay, see below) s:
Partial line up/down length
(0.01 printer units at 6 LPI) w: 1500
Colors for SFC and SBC:
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: 7 brown
-- 8 . b: 0 black
-- 9 (39/49) b: 0 black
Conversion Table
(^X = ctrl-X, etc.
^[ = ESC,
^\ = FS,
^<octal digits> = byte value,
^^ = ^,
^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:^[-0^[F
SGR3 ^[[3m italics on s:
SGR23 ^[[23m italics off s:
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:
SBC ^[[4nm n=0-9 set background col. s:
SHORP0 ^[[0w normal pitch s:^T^R
SHORP2 ^[[2w elite on s:^O
SHORP1 ^[[1w elite off s:^R
SHORP4 ^[[4w condensed fine on s:^O
SHORP3 ^[[3w condensed off s:^R
SHORP6 ^[[6w enlarged on s:^N
SHORP5 ^[[5w enlarged off s:^T
DEN6 ^[[6"z shadow print on s:^[E
DEN5 ^[[5"z shadow print off s:^[F
DEN4 ^[[4"z doublestrike on s:^[E
DEN3 ^[[3"z doublestrike off s:^[F
DEN2 ^[[2"z near letter quality on s:
DEN1 ^[[1"z near letter quality off s:
SUS2 ^[[2v superscript on s:
SUS1 ^[[1v superscript off s:
SUS4 ^[[4v subscript on s:
SUS3 ^[[3v subscript off s:
SUS0 ^[[0v normalize the line s:
PLU ^[L partial line up s:
PLD ^[K partial line down s:
FNT0 ^[(B US char set s:
FNT1 ^[(R French char set s:
FNT2 ^[(K German char set s:
FNT3 ^[(A UK char set s:
FNT4 ^[(E Danish I s:
FNT5 ^[(H Swedish s:
FNT6 ^[(Y Italian s:
FNT7 ^[(Z Spanish s:
FNT8 ^[(J Japanese s:
FNT9 ^[(6 Norwegian s:
FNT10 ^[(C Danish II s:
PROP2 ^[[2p proportional on s:
PROP1 ^[[1p proportional off s:
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:
RMS ^[#0 right margin set s:
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:
CAM ^[#3 clear margins s:
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: 640
Max dots in Y direction (0=infinite) l: 0
Dots pr inch in X direction w: 96
Dots pr inch in Y direction w: 96
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
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
Print black as no. b: 4
--- yellow as no. b: 1
--- magenta (redish) as no. b: 2
--- cyan (blueish) as no. b: 3
Color black prefix s:^[K^p1^p0
Color yellow prefix s:
Color magenta prefix s:
Color cyan prefix s:
Init graphics before delay s:^[A^10
Init graphics after delay s:
Each single buffer terminated by s:^15^12
Finish graphics dump s:^[2
Density 2 (default at Draft, 8 LPI) graphics
No of Raster Rows (pins) on each pass w: 8
Max dots in X direction l: 640
Max dots in Y direction (0=infinite) l: 0
Dots pr inch in X direction w: 96
Dots pr inch in Y direction w: 96
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: 4
--- yellow as no. b: 1
--- magenta (redish) as no. b: 2
--- cyan (blueish) as no. b: 3
Color black prefix s:^[K^p1^p0
Color yellow prefix s:
Color magenta prefix s:
Color cyan prefix s:
Init graphics before delay s:^[A^10
Init graphics after delay s:
Each single buffer terminated by s:^15^12
Finish graphics dump s:^[0
Density 3 (default at Letter, 6 LPI) graphics
No of Raster Rows (pins) on each pass w: 8
Max dots in X direction l: 1280
Max dots in Y direction (0=infinite) l: 0
Dots pr inch in X direction w: 182
Dots pr inch in Y direction w: 96
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: 4
--- yellow as no. b: 1
--- magenta (redish) as no. b: 2
--- cyan (blueish) as no. b: 3
Color black prefix s:^[L^p1^p0
Color yellow prefix s:
Color magenta prefix s:
Color cyan prefix s:
Init graphics before delay s:^[A^10
Init graphics after delay s:
Each single buffer terminated by s:^15^12
Finish graphics dump s:^[2
Density 4 (default at Letter, 8 LPI) graphics
No of Raster Rows (pins) on each pass w: 8
Max dots in X direction l: 1280
Max dots in Y direction (0=infinite) l: 0
Dots pr inch in X direction w: 192
Dots pr inch in Y direction w: 96
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: 4
--- yellow as no. b: 1
--- magenta (redish) as no. b: 2
--- cyan (blueish) as no. b: 3
Color black prefix s:^[L^p1^p0
Color yellow prefix s:
Color magenta prefix s:
Color cyan prefix s:
Init graphics before delay s:^[A^10
Init graphics after delay s:
Each single buffer terminated by s:^15^12
Finish graphics dump s:^[0