xref: /onnv-gate/usr/src/cmd/lp/terminfo/citoh.ti (revision 0:68f95e015346)
1*0Sstevel@tonic-gate#
2*0Sstevel@tonic-gate# CDDL HEADER START
3*0Sstevel@tonic-gate#
4*0Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*0Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
6*0Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
7*0Sstevel@tonic-gate# with the License.
8*0Sstevel@tonic-gate#
9*0Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*0Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
11*0Sstevel@tonic-gate# See the License for the specific language governing permissions
12*0Sstevel@tonic-gate# and limitations under the License.
13*0Sstevel@tonic-gate#
14*0Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
15*0Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*0Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
17*0Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
18*0Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
19*0Sstevel@tonic-gate#
20*0Sstevel@tonic-gate# CDDL HEADER END
21*0Sstevel@tonic-gate#
22*0Sstevel@tonic-gate#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
23*0Sstevel@tonic-gate#	  All Rights Reserved
24*0Sstevel@tonic-gate
25*0Sstevel@tonic-gate
26*0Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.1	*/
27*0Sstevel@tonic-gate
28*0Sstevel@tonic-gate######################################################################
29*0Sstevel@tonic-gate#
30*0Sstevel@tonic-gate# Generic entry for the C.Itoh 8510 printer and emulations:
31*0Sstevel@tonic-gate#
32*0Sstevel@tonic-gate
33*0Sstevel@tonic-gateGcitoh+basic,
34*0Sstevel@tonic-gate
35*0Sstevel@tonic-gate#   The 8510 I use only allows 79 columns!
36*0Sstevel@tonic-gate	cols#79,
37*0Sstevel@tonic-gate
38*0Sstevel@tonic-gate	lines#66,
39*0Sstevel@tonic-gate	it#8,
40*0Sstevel@tonic-gate
41*0Sstevel@tonic-gate	orc#1,
42*0Sstevel@tonic-gate	orhi#10,
43*0Sstevel@tonic-gate	orl#24,
44*0Sstevel@tonic-gate	orvi#144,
45*0Sstevel@tonic-gate
46*0Sstevel@tonic-gate	cr=\r,
47*0Sstevel@tonic-gate	cud1=\n,
48*0Sstevel@tonic-gate	cuf1=\s,
49*0Sstevel@tonic-gate	ff=\f,
50*0Sstevel@tonic-gate	ht=\t,
51*0Sstevel@tonic-gate
52*0Sstevel@tonic-gate	cpi=%?%p1%{10}%=%t\EN%e%p1%{12}%=%t\EE%e%p1%{16}%=%p1%{17}%=%O%t\EQ%;,
53*0Sstevel@tonic-gate	cvr=%?%p1%{0}%>%p1%{100}%<%&%t\ET%p1%02d%;,
54*0Sstevel@tonic-gate
55*0Sstevel@tonic-gate	is1=^Q^X,
56*0Sstevel@tonic-gate	is2=\Ec1\Ev66.,
57*0Sstevel@tonic-gate
58*0Sstevel@tonic-gate	smso=\E!,
59*0Sstevel@tonic-gate	rmso=\E",
60*0Sstevel@tonic-gate	smul=\EX,
61*0Sstevel@tonic-gate	rmul=\EY,
62*0Sstevel@tonic-gate	bold=\E!,
63*0Sstevel@tonic-gate	ssubm=\Es2,
64*0Sstevel@tonic-gate	rsubm=\Es0,
65*0Sstevel@tonic-gate	ssupm=\Es1,
66*0Sstevel@tonic-gate	rsupm=\Es0,
67*0Sstevel@tonic-gate	swidm=^N,
68*0Sstevel@tonic-gate	rwidm=^O,
69*0Sstevel@tonic-gate	sgr0=\E"\EY\Es0^O,
70*0Sstevel@tonic-gate	sgr=%?%p1%p6%|%t\E!%e\E"%;%?%p2%t\EX%e\EY%;,
71*0Sstevel@tonic-gate
72*0Sstevel@tonic-gate	rep=\ER%p2%03d%p1%c,
73*0Sstevel@tonic-gate
74*0Sstevel@tonic-gate	snlq=\Em2,
75*0Sstevel@tonic-gate	snrmq=\Em1,
76*0Sstevel@tonic-gate	sdrfq=\Em0,
77*0Sstevel@tonic-gate
78*0Sstevel@tonic-gate	smglp=\EL%p1%03d,
79*0Sstevel@tonic-gate	smgrp=\E/%{1}%p1%+%03d,
80*0Sstevel@tonic-gate
81*0Sstevel@tonic-gate#   slines=
82*0Sstevel@tonic-gate	u9=\Ev%p1%02d.,
83*0Sstevel@tonic-gate	slines=\Ev%p1%02d.,
84*0Sstevel@tonic-gate
85*0Sstevel@tonic-gateGcitoh+low,
86*0Sstevel@tonic-gate
87*0Sstevel@tonic-gate	npins#8,
88*0Sstevel@tonic-gate	spinv#68,
89*0Sstevel@tonic-gate	spinh#136,
90*0Sstevel@tonic-gate
91*0Sstevel@tonic-gate	porder=8\,7\,6\,5\,4\,3\,2\,1;0,
92*0Sstevel@tonic-gate
93*0Sstevel@tonic-gate	sbim=\ES%p1%04d,
94*0Sstevel@tonic-gate
95*0Sstevel@tonic-gate#   birep=
96*0Sstevel@tonic-gate	u4=\EV%p2%04d%p3%c,
97*0Sstevel@tonic-gate	birep=\EV%p2%04d%p3%c,
98*0Sstevel@tonic-gate
99*0Sstevel@tonic-gate        bitwin#1,
100*0Sstevel@tonic-gate	u1=1,
101*0Sstevel@tonic-gate        bitype#1,
102*0Sstevel@tonic-gate	u2=1,
103*0Sstevel@tonic-gate
104*0Sstevel@tonic-gate#   defbi=
105*0Sstevel@tonic-gate#	Set the line spacing to 17/144 inch to get (almost) 68 dots
106*0Sstevel@tonic-gate#	per inch vertically (8 * 144/17).
107*0Sstevel@tonic-gate#	Set the character spacing to compressed (1/17 inch or 17
108*0Sstevel@tonic-gate#	characters per inch); at 136 dots per inch horizontally this
109*0Sstevel@tonic-gate#	means 8 dots per character.
110*0Sstevel@tonic-gate#	Set the left margin at the left edge of the image.
111*0Sstevel@tonic-gate#	The C.Itoh doesn't have parameterized vertical motion,
112*0Sstevel@tonic-gate#	so we simulate it with linefeeds. Assume we never need
113*0Sstevel@tonic-gate#	to move more than 63 lines (at 17/144 LPI).
114*0Sstevel@tonic-gate#	Set uni-directional motion; bi-directional causes a wavy
115*0Sstevel@tonic-gate#	image.
116*0Sstevel@tonic-gate#   defbi=
117*0Sstevel@tonic-gate	u6=%?%p5%{1}%=%t\ET17\EQ\EL%p1%{8}%/%03d%p2%{8}%/%Py%?%gy%{31}%>%t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%gy%{32}%-%Py%;%?%gy%{15}%>%t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%gy%{16}%-%Py%;%?%gy%{7}%>%t\n\n\n\n\n\n\n\n%gy%{8}%-%Py%;%?%gy%{3}%>%t\n\n\n\n%gy%{4}%-%Py%;%?%gy%{1}%>%t\n\n%gy%{2}%-%Py%;%?%gy%{0}%>%t\n%;\E>%;,
118*0Sstevel@tonic-gate	defbi=%?%p5%{1}%=%t\ET17\EQ\EL%p1%{8}%/%03d%p2%{8}%/%Py%?%gy%{31}%>%t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%gy%{32}%-%Py%;%?%gy%{15}%>%t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%gy%{16}%-%Py%;%?%gy%{7}%>%t\n\n\n\n\n\n\n\n%gy%{8}%-%Py%;%?%gy%{3}%>%t\n\n\n\n%gy%{4}%-%Py%;%?%gy%{1}%>%t\n\n%gy%{2}%-%Py%;%?%gy%{0}%>%t\n%;\E>%;,
119*0Sstevel@tonic-gate
120*0Sstevel@tonic-gate#   endbi=
121*0Sstevel@tonic-gate	u7=\EA\EP\EL001\E<,
122*0Sstevel@tonic-gate	endbi=\EA\EP\EL001\E<,
123*0Sstevel@tonic-gate
124*0Sstevel@tonic-gate#   binel=
125*0Sstevel@tonic-gate	u5=\n\r\EL%p1%{8}%/%03d,
126*0Sstevel@tonic-gate	binel=\n\r\EL%p1%{8}%/%03d,
127*0Sstevel@tonic-gate
128