xref: /onnv-gate/usr/src/cmd/lp/terminfo/epson.ti (revision 0:68f95e015346)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
23#	  All Rights Reserved
24
25
26#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.2	*/
27
28######################################################################
29#
30# Epson
31#
32
33#
34# Basic capabilities:
35#
36Gepson+basic,
37
38	cols#80,
39	lines#66,
40	it#8,
41
42	cpix,
43	orc#6,
44	orhi#60,
45	orl#30,
46	orvi#180,
47
48	cr=^M,
49	cud1=^J,
50	cuf1=\s,
51	cub1=\b,
52	ff=^L,
53	ht=^I,
54
55	cpi=%?%p1%{10}%=%t^R\EP%e%p1%{12}%=%t^R\EM%e%p1%{20}%=%t^O\EM%e%p1%{17}%=%t^O\EP%;,
56	cvr=%?%p1%{0}%>%p1%{256}%<%&%t\E3%p1%c%;,
57
58	is1=^Q^X,
59	is2=\E@\E%0\EO,
60
61	csnm=%?%p1%{0}%=%tusa%e%p1%{1}%=%tfrench%e%p1%{2}%=%tgerman%e%p1%{3}%=%tbritish%e%p1%{4}%=%tdanish%e%p1%{5}%=%tswedish%e%p1%{6}%=%titalian%e%p1%{7}%=%tspanish%e%p1%{8}%=%tjapanese%e%p1%{9}%=%tnorwegian%e%p1%{10}%=%tdanish2%e%p1%{11}%=%tspanish2%e%p1%{12}%=%tlatin_american%e%p1%{13}%=%tafrikaans%e%p1%{14}%=%tdutch%e%p1%{15}%=%tfrench_canadian%e%p1%{16}%=%tfrench2%e%p1%{17}%=%tbritish2%e%p1%{18}%=%tmulti_national%e%p1%{19}%=%tibmgraphics%;,
62	scs=%?%p1%{0}%=%t\ER\200%e%p1%{1}%=%t\ER\001%e%p1%{2}%=%t\ER\002%e%p1%{3}%=%t\ER\003%e%p1%{4}%=%t\ER\004%e%p1%{5}%=%t\ER\005%e%p1%{6}%=%t\ER\006%e%p1%{7}%=%t\ER\007%e%p1%{8}%=%t\ER\010%e%p1%{9}%=%t\ER\011%e%p1%{10}%=%t\ER\012%e%p1%{11}%=%t\ER\013%e%p1%{12}%=%t\ER\014%e%p1%{13}%=%t\ER\100%e%p1%{14}%=%t\ERA%e%p1%{15}%=%t\ERB%e%p1%{16}%=%t\ERC%e%p1%{17}%=%t\ERD%e%p1%{18}%=%t\E6%e%p1%{19}%=%t\Et1%;,
63
64	smso=\EE,
65	rmso=\EF,
66	smul=\E-1,
67	rmul=\E-0,
68	bold=\EG,
69	sshm=\EE,
70	rshm=\EF,
71	ssubm=\ES1,
72	rsubm=\ET,
73	ssupm=\ES0,
74	rsupm=\ET,
75	swidm=\EW1,
76	rwidm=\EW0,
77	sitm=\E4,
78	ritm=\E5,
79	sgr0=\EF\E-0\EH\ET\EW0\E5,
80	sgr=%?%p1%t\EE%e\EF%;%?%p2%t\E-1%e\E-0%;%?%p6%t\EG%e\EH%;,
81
82#
83#	For now we can't set the margin in the first (0th) column
84#	due to limitations in the Curses code. This should be changed
85#	in the future. For now, shift right 1. Note that the right
86#	margin is the last USEABLE column in Terminfo, but is 1
87#	PAST that for the Epson.
88	smglp=%?%p1%{256}%<%t\El%p1%{1}%+%c%;,
89	smgrp=%?%p1%{256}%<%t\EQ%p1%{2}%+%c%;,
90
91#   slines=  u9 used for svr3.2
92	u9=%?%p1%{0}%>%p1%{128}%<%&%t\EC%p1%c%;,
93	slines=%?%p1%{0}%>%p1%{128}%<%&%t\EC%p1%d%;,
94
95	sdrfq=\Ex0,
96	snlq=\Ex1,
97	snrmq=\Ek1,
98
99#
100# Graphics capabilities:
101#
102Gepson+low,
103
104	npins#8,
105	spinv#60,
106	spinh#60,
107
108	porder=1\,2\,3\,4\,5\,6\,7\,8;0,
109
110	sbim=\EK%p1%{256}%m%c%p1%{256}%/%c,
111
112# u1 - u8 used for svr3.2
113        bitwin#1,
114	u1=1,
115        bitype#1,
116	u2=1,
117
118#   defbi=
119#	Set the line spacing to 8/60 inch (7.5 lines per inch)
120#	to get 60 dots per inch vertically (7.5 lines/" * 8 pins/line).
121#	Set the character spacing to pica (1/10 inch or 10 characters
122#	per inch); at 60 dots per inch horizontally this means 6
123#	dots per character.
124#	Set vertical and horizontal tab stops at the upper left corner
125#	of the image, then tab to the upper left corner.
126#	Note: $<> is a true null (only works with special Curses routine).
127#	THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although
128#	maybe not in the first column.)
129	defbi=%?%p5%{1}%=%t\E3\030^R\EP\EB%p2%{8}%/%c$<>\ED%p1%{6}%/%c$<>\013\r\t%;,
130
131#   endbi=
132	u7=\E3\036,
133	endbi=\E3\036,
134
135#   binel=
136	u5=\n\r\t,
137	binel=\n\r\t,
138
139#   bicr=
140	u3=\r\t,
141	bicr=\r\t,
142
143######################################################################
144#
145# Epson LQ-2500
146#
147
148#
149# Basic capabilities:
150#
151Gep2500+basic,
152
153	cols#136,
154	lines#66,
155	it#8,
156
157	cpix,
158	orc#6,
159	orhi#60,
160	orl#30,
161	orvi#180,
162
163	cr=^M,
164	cud1=^J,
165	cuf1=\s,
166	cub1=\b,
167	ff=^L,
168	ht=^I,
169
170	cpi=%?%p1%{10}%=%t^R\EP%e%p1%{12}%=%t^R\EM%e%p1%{20}%=%t^O\EM%e%p1%{17}%=%t^O\EP%;,
171	cvr=%?%p1%{0}%>%p1%{256}%<%&%t\E3%p1%c%;,
172
173	is1=^Q^X,
174	is2=\E@\E%0\EO,
175
176
177	csnm=%?%p1%{0}%=%tusa%e%p1%{1}%=%tfrench%e%p1%{2}%=%tgerman%e%p1%{3}%=%tbritish%e%p1%{4}%=%tdanish%e%p1%{5}%=%tswedish%e%p1%{6}%=%titalian%e%p1%{7}%=%tspanish%e%p1%{8}%=%tjapanese%e%p1%{9}%=%tnorwegian%e%p1%{10}%=%tdanish2%e%p1%{11}%=%tspanish2%e%p1%{12}%=%tlatin_american%e%p1%{13}%=%tibmgraphics%;,
178	scs=%?%p1%{0}%=%t\ER\200%e%p1%{1}%=%t\ER\001%e%p1%{2}%=%t\ER\002%e%p1%{3}%=%t\ER\003%e%p1%{4}%=%t\ER\004%e%p1%{5}%=%t\ER\005%e%p1%{6}%=%t\ER\006%e%p1%{7}%=%t\ER\007%e%p1%{8}%=%t\ER\010%e%p1%{9}%=%t\ER\011%e%p1%{10}%=%t\ER\012%e%p1%{11}%=%t\ER\013%e%p1%{12}%=%t\ER\014%e%p1%{13}%=%t\Et1%;,
179
180	smso=\EE,
181	rmso=\EF,
182	smul=\E-1,
183	rmul=\E-0,
184	bold=\EG,
185	sshm=\EE,
186	rshm=\EF,
187	ssubm=\ES1,
188	rsubm=\ET,
189	ssupm=\ES0,
190	rsupm=\ET,
191	swidm=\EW1,
192	rwidm=\EW0,
193	sitm=\E4,
194	ritm=\E5,
195	sgr0=\EF\E-0\EH\ET\EW0\E5,
196	sgr=%?%p1%t\EE%e\EF%;%?%p2%t\E-1%e\E-0%;%?%p6%t\EG%e\EH%;,
197
198#
199#	For now we can't set the margin in the first (0th) column
200#	due to limitations in the Curses code. This should be changed
201#	in the future. For now, shift right 1. Note that the right
202#	margin is the last USEABLE column in Terminfo, but is 1
203#	PAST that for the Epson.
204	smglp=%?%p1%{256}%<%t\El%p1%{1}%+%c%;,
205	smgrp=%?%p1%{256}%<%t\EQ%p1%{2}%+%c%;,
206
207#   slines=
208	u9=%?%p1%{0}%>%p1%{128}%<%&%t\EC%p1%c%;,
209	slines=%?%p1%{0}%>%p1%{128}%<%&%t\EC%p1%c%;,
210
211	sdrfq=\Ex0,
212	snlq=\Ex1,
213	snrmq=\Ek1,
214
215#
216# Graphics capabilities:
217#
218Gep2500+low,
219
220	npins#8,
221	spinv#60,
222	spinh#60,
223
224	porder=1\,2\,3\,4\,5\,6\,7\,8;0,
225
226	sbim=\EK%p1%{256}%m%c%p1%{256}%/%c,
227
228        bitwin#1,
229	u1=1,
230        bitype#1,
231	u2=1,
232
233#   defbi=
234#	Set the line spacing to 8/60 inch (7.5 lines per inch)
235#	to get 60 dots per inch vertically (7.5 lines/" * 8 pins/line).
236#	Set the character spacing to pica (1/10 inch or 10 characters
237#	per inch); at 60 dots per inch horizontally this means 6
238#	dots per character.
239#	Set vertical and horizontal tab stops at the upper left corner
240#	of the image, then tab to the upper left corner.
241#	Note: $<> is a true null (only works with special Curses routine).
242#	THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although
243#	maybe not in the first column.)
244	u6=%?%p5%{1}%=%t\E3\030^R\EP\EB%p2%{8}%/%c$<>\ED%p1%{6}%/%c$<>\013\r\t%;,
245	defbi=%?%p5%{1}%=%t\E3\030^R\EP\EB%p2%{8}%/%c$<>\ED%p1%{6}%/%c$<>\013\r\t%;,
246
247#   endbi=
248	u7=\E3\036,
249	endbi=\E3\036,
250
251#   binel=
252	u5=\n\r\t,
253	binel=\n\r\t,
254
255#   bicr=
256	u3=\r\t,
257	bicr=\r\t,
258
259#
260# Graphics capabilities:
261#
262Gep2500+high,
263
264	npins#24,
265	spinv#180,
266	spinh#180,
267
268	porder=1\,2\,3\,4\,5\,6\,7\,8\,9\,10\,11\,12\,13\,14\,15\,16\,17\,18\,19\,20\,21\,22\,23\,24;0,
269
270	sbim=\E*\047%p1%{256}%m%c%p1%{256}%/%c,
271
272#   defbi=
273#	Set the line spacing to 8/60 inch (7.5 lines per inch)
274#	to get 180 dots per inch vertically (7.5 lines/" * 24 pins/line).
275#	Set the character spacing to pica (1/10 inch or 10 characters
276#	per inch); at 180 dots per inch horizontally this means 18
277#	dots per character.
278#	Set vertical and horizontal tab stops at the upper left corner
279#	of the image, then tab to the upper left corner.
280#	Note: $<> is a true null (only works with special Curses routine).
281#	THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although
282#	maybe not in the first column.)
283	u6=%?%p5%{1}%=%t\E3\030^R\EP\EB%p2%{24}%/%c$<>\ED%p1%{18}%/%c$<>\013\r\t%;,
284	defbi=%?%p5%{1}%=%t\E3\030^R\EP\EB%p2%{24}%/%c$<>\ED%p1%{18}%/%c$<>\013\r\t%;,
285
286	use=Gep2500+low,
287
288#
289# Color capability:
290#
291Gep2500+color,
292
293	colors#3,
294
295#   setcolor=
296	initc=%?%p1%{0}%=%t\Er0%;%?%p1%{1}%=%t\Er2%;%?%p1%{2}%=%t\Er1%;%?%p1%{3}%=%t\Er4%;,
297
298#   colornm=
299	u8=%?%p1%{0}%=%tblack%;%?%p1%{1}%=%tcyan%;%?%p1%{2}%=%tmagenta%;%?%p1%{3}%=%tyellow%;%?%p1%{4}%=%torange=yellow+magenta%;%?%p1%{5}%=%tgreen=yellow+cyan%;%?%p1%{6}%=%tviolet=magenta+cyan%;%?%p1%{7}%=%tbrown=magenta+black%;,
300	colornm=%?%p1%{0}%=%tblack%;%?%p1%{1}%=%tcyan%;%?%p1%{2}%=%tmagenta%;%?%p1%{3}%=%tyellow%;%?%p1%{4}%=%torange=yellow+magenta%;%?%p1%{5}%=%tgreen=yellow+cyan%;%?%p1%{6}%=%tviolet=magenta+cyan%;%?%p1%{7}%=%tbrown=magenta+black%;,
301
302