xref: /onnv-gate/usr/src/cmd/lp/terminfo/daisy.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.2	*/
27*0Sstevel@tonic-gate
28*0Sstevel@tonic-gate######################################################################
29*0Sstevel@tonic-gate#
30*0Sstevel@tonic-gate# Generic entry for the daisy wheel printers and emulations:
31*0Sstevel@tonic-gate#
32*0Sstevel@tonic-gate
33*0Sstevel@tonic-gate#
34*0Sstevel@tonic-gate# Basic capabilities:
35*0Sstevel@tonic-gate#
36*0Sstevel@tonic-gateGdaisy+basic,
37*0Sstevel@tonic-gate
38*0Sstevel@tonic-gate	daisy,
39*0Sstevel@tonic-gate
40*0Sstevel@tonic-gate	cols#132,
41*0Sstevel@tonic-gate	lines#66,
42*0Sstevel@tonic-gate
43*0Sstevel@tonic-gate	bufsz#500,
44*0Sstevel@tonic-gate	cps#55,
45*0Sstevel@tonic-gate	orc#12,
46*0Sstevel@tonic-gate	orhi#120,
47*0Sstevel@tonic-gate	orl#8,
48*0Sstevel@tonic-gate	orvi#48,
49*0Sstevel@tonic-gate
50*0Sstevel@tonic-gate	cr=^M,
51*0Sstevel@tonic-gate	cud1=^J,
52*0Sstevel@tonic-gate	cuf1=\s,
53*0Sstevel@tonic-gate	ff=^L,
54*0Sstevel@tonic-gate	ht=^I,
55*0Sstevel@tonic-gate	hpa=%?%p1%{100}%<%t\EC%p1%02d%e%p1%{110}%<%t\ECA%p1%{100}%-%d%e%p1%{120}%<%t\ECB%p1%{110}%-%d%e%p1%{130}%<%t\ECC%p1%{120}%-%d%e%p1%{140}%<%t\ECD%p1%{130}%-%d%e%p1%{150}%<%t\ECE%p1%{140}%-%d%e%p1%{160}%<%t\ECF%p1%{150}%-%d%;,
56*0Sstevel@tonic-gate	vpa=%?%p1%{100}%<%t\EP%p1%02d%e%p1%{110}%<%t\EPA%p1%{100}%-%d%e%p1%{120}%<%t\EPB%p1%{110}%-%d%e%p1%{130}%<%t\EPC%p1%{120}%-%d%e%p1%{140}%<%t\EPD%p1%{130}%-%d%e%p1%{150}%<%t\EPE%p1%{140}%-%d%e%p1%{160}%<%t\EPF%p1%{150}%-%d%;,
57*0Sstevel@tonic-gate
58*0Sstevel@tonic-gate	chr=%?%p1%{100}%<%t\EE%p1%02d%e%p1%{110}%<%t\EEA%p1%{100}%-%d%e%p1%{120}%<%t\EEB%p1%{110}%-%d%e%p1%{130}%<%t\EEC%p1%{120}%-%d%e%p1%{140}%<%t\EED%p1%{130}%-%d%e%p1%{150}%<%t\EEE%p1%{140}%-%d%e%p1%{160}%<%t\EEF%p1%{150}%-%d%;,
59*0Sstevel@tonic-gate	cvr=%?%p1%{100}%<%t\EL%p1%02d%e%p1%{110}%<%t\ELA%p1%{100}%-%d%e%p1%{120}%<%t\ELB%p1%{110}%-%d%e%p1%{130}%<%t\ELC%p1%{120}%-%d%e%p1%{140}%<%t\ELD%p1%{130}%-%d%e%p1%{150}%<%t\ELE%p1%{140}%-%d%e%p1%{160}%<%t\ELF%p1%{150}%-%d%;,
60*0Sstevel@tonic-gate
61*0Sstevel@tonic-gate
62*0Sstevel@tonic-gate	is2=\E\015P\EW\E.\EL08\EE12\E%\E<,
63*0Sstevel@tonic-gate
64*0Sstevel@tonic-gate	smso=\EQ,
65*0Sstevel@tonic-gate	rmso=\ER,
66*0Sstevel@tonic-gate	smul=\EI,
67*0Sstevel@tonic-gate	rmul=\EJ,
68*0Sstevel@tonic-gate	bold=\EK3,
69*0Sstevel@tonic-gate	sshm=\EQ,
70*0Sstevel@tonic-gate	rshm=\ER,
71*0Sstevel@tonic-gate	sgr0=\ER\EM\EJ,
72*0Sstevel@tonic-gate	sgr=%?%p1%t\EQ%e\ER%;%?%p2%t\EI%e\EJ%;%?%p6%t\EK3%e\EM%;,
73*0Sstevel@tonic-gate
74*0Sstevel@tonic-gate	smgb=\E-,
75*0Sstevel@tonic-gate	smgl=\E9,
76*0Sstevel@tonic-gate	smgr=\E0,
77*0Sstevel@tonic-gate	smgt=\E+,
78*0Sstevel@tonic-gate
79*0Sstevel@tonic-gate#   slines=,
80*0Sstevel@tonic-gate	u9=\EF%p1%02d,
81*0Sstevel@tonic-gate
82*0Sstevel@tonic-gate#
83*0Sstevel@tonic-gate# Graphics capabilities:
84*0Sstevel@tonic-gate#
85*0Sstevel@tonic-gateGdaisy+lowres,
86*0Sstevel@tonic-gate
87*0Sstevel@tonic-gate#
88*0Sstevel@tonic-gate#	We could use the graphics on/graphics off control sequences
89*0Sstevel@tonic-gate#	(ESC G/ESC 4) but for these problems:
90*0Sstevel@tonic-gate#
91*0Sstevel@tonic-gate#		- graphics mode gets turned off when a \r is received;
92*0Sstevel@tonic-gate#		- printing a character doesn't cause motion, which
93*0Sstevel@tonic-gate#		  means that each ``cell'' must be followed by a space;
94*0Sstevel@tonic-gate#		- to get the best aspect ratio, three horizontal dots
95*0Sstevel@tonic-gate#		  must be sent per ``cell'' (using the ESC 3 graphics mode
96*0Sstevel@tonic-gate#		  (1/60 instead of 1/120) alleviates this problem but
97*0Sstevel@tonic-gate#		  gives a worse aspect ratio).
98*0Sstevel@tonic-gate#
99*0Sstevel@tonic-gate#	So instead we set the HMI and VMI to 1/40 and 1/48 inch,
100*0Sstevel@tonic-gate#	respectively.
101*0Sstevel@tonic-gate#
102*0Sstevel@tonic-gate	npins#1,
103*0Sstevel@tonic-gate	spinv#48,
104*0Sstevel@tonic-gate	spinh#40,
105*0Sstevel@tonic-gate
106*0Sstevel@tonic-gate	porder=o\,o\,o\,o\,1\,1\,1\,o;32,
107*0Sstevel@tonic-gate
108*0Sstevel@tonic-gate#   bitwin#
109*0Sstevel@tonic-gate	u1=1,
110*0Sstevel@tonic-gate#   bitype#
111*0Sstevel@tonic-gate	u2=1,
112*0Sstevel@tonic-gate
113*0Sstevel@tonic-gate#   birep=
114*0Sstevel@tonic-gate	u4=%?%p3%{32}%=%t\EH%p2%{3}%*%Px%gx%{256}%/%{64}%+%c%gx%{256}%m%{16}%/%{64}%+%c%gx%{16}%m%{64}%+%c%;,
115*0Sstevel@tonic-gate
116*0Sstevel@tonic-gate#   defbi=
117*0Sstevel@tonic-gate#	THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although
118*0Sstevel@tonic-gate#	maybe not in the first column.)
119*0Sstevel@tonic-gate	u6=%?%p5%{1}%=%t\EL01\EE03%p1%{3}%*%Px\r\EH%gx%{256}%/%{64}%+%c%gx%{256}%m%{16}%/%{64}%+%c%gx%{16}%m%{64}%+%c\EV%p2%{256}%/%{64}%+%c%p2%{256}%m%{16}%/%{64}%+%c%p2%{16}%m%{64}%+%c\E>%;,
120*0Sstevel@tonic-gate
121*0Sstevel@tonic-gate#   endbi=
122*0Sstevel@tonic-gate	u7=\EL08\EE12\E<,
123*0Sstevel@tonic-gate
124*0Sstevel@tonic-gate#   binel=
125*0Sstevel@tonic-gate	u5=\n\r%p1%{3}%*%Px\EH%gx%{256}%/%{64}%+%c%gx%{256}%m%{16}%/%{64}%+%c%gx%{16}%m%{64}%+%c,
126*0Sstevel@tonic-gate
127