xref: /onnv-gate/usr/src/cmd/lp/terminfo/hplaser.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#
23# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
27#	  All Rights Reserved
28
29
30#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.1	*/
31
32######################################################################
33#
34# Generic entry for the HP Laserjet printers and emulations:
35#
36
37#
38# Basic capabilities:
39#
40Ghplaser+basic,
41
42	cols#80,
43	lines#60,
44
45	orc#12,
46	orhi#120,
47	orl#8,
48	orvi#48,
49
50	cr=^M,
51	cud1=^J,
52	cuf1=\s,
53	cud=\E&a+%p1%dR,
54	cuf=\E&a+%p1%dC,
55	ff=^L,
56	hpa=\E&a%p1%dC,
57	vpa=\E&a%p1%dR,
58
59	cpi=%?%p1%{10}%=%t\E&k0S%e%p1%{17}%=%t\E&k2S%;,
60	chr=%?%p1%{0}%>%p1%{127}%<%t\E&k%p1%dH%;,
61	cvr=%?%p1%{0}%>%p1%{127}%<%t\E&l%p1%dC%;,
62	lpi=%?%p1%{1}%=%t\E&l1D%e%p1%{2}%=%t\E&l2D%e%p1%{3}%=%t\E&l3D%e%p1%{4}%=%t\E&l4D%e%p1%{6}%=%t\E&l6D%e%p1%{8}%=%t\E&l8D%e%p1%{12}%=%t\E&l12D%e%p1%{16}%=%t\E&l16D%e%p1%{24}%=%t\E&l24D%e%p1%{48}%=%t\E&l48D%;,
63
64	is2=\EE\E&k0G,
65	mgc=\E9,
66
67	rmul=\E&d\100,
68	ritm=\E(s0S,
69	smul=\E&dD,
70	sitm=\E(s1S,
71	smgtp=\E&l%p1%{1}%+%dE,
72	smgbp=\E&l%p1%{1}%+%dF,
73	smglp=\E&a%p1%dL,
74	smgrp=\E&a%p1%dM,
75
76#Set top margin at +2 offset
77	smgtp=\E&l%p1%dE,
78
79#Set page length u9 used for 3.2 slines for 4.0
80	u9=\E&l%p1P,
81	slines=\E&l%p1%dF,
82
83#
84# Graphics capabilities:
85#
86Ghplaser+high,
87
88	npins#8,
89	spinv#300,
90	spinh#300,
91
92	porder=1\,2\,3\,4\,5\,6\,7\,8;0,
93
94	sbim=\E*b%p1%dW,
95
96# u1 - u7 used for svr3.2
97#   bitwin#,
98	u1=1,
99	bitwin#1,
100#   bitype#
101	u2=2,
102	bitype#2,
103
104#   defbi=
105#	    X (or Y) * scale * 12/5 == pos in decipoints (12/5 == 720/300)
106	u6=%?%p5%{0}%>%p5%{5}%<%&%t\E&a%p1%p5%*%{12}%*%{5}%/%dH\E&a%p2%p5%*%{12}%*%{5}%/%dV\E*t%{300}%p5%/%dR\E*r1A%;,
107	defbi=%?%p5%{0}%>%p5%{5}%<%&%t\E&a%p1%p5%*%{12}%*%{5}%/%dH\E&a%p2%p5%*%{12}%*%{5}%/%dV\E*t%{300}%p5%/%dR\E*r1A%;,
108
109#   endbi=
110	u7=\E*rB,
111	endbi=\E*rB,
112
113Ghplaser+II,
114
115	cpi=%?%p1%{10}%=%t\E(s10H%e%p1%{16}%=%p1%{17}%=%O%t\E(s16.66H%e%;,
116
117	csnm=%?%p1%{0}%=%troman-8%e%p1%{1}%=%tibm-us%e%p1%{2}%=%tibm-dn%e%p1%{3}%=%tgerman%e%p1%{4}%=%tspanish%e%p1%{5}%=%tecma-94%e%p1%{6}%=%tiso2%e%p1%{7}%=%tiso4%e%p1%{8}%=%tiso6%e%p1%{9}%=%tiso10%e%p1%{10}%=%tiso11%e%p1%{11}%=%tiso14%e%p1%{12}%=%tiso15%e%p1%{13}%=%tiso16%e%p1%{14}%=%tiso17%e%p1%{15}%=%tiso21%e%p1%{16}%=%tiso25%e%p1%{17}%=%tiso57%e%p1%{18}%=%tiso60%e%p1%{19}%=%tiso61%e%p1%{20}%=%tiso69%e%p1%{21}%=%tiso84%e%p1%{22}%=%tiso85%;,
118
119	scs=%?%p1%{0}%=%t\E(8U%e%p1%{1}%=%t\E(10U%e%p1%{2}%=%t\E(11U%e%p1%{3}%=%t\E(0G%e%p1%{4}%=%t\E(1S%e%p1%{5}%=%t\E(0N%e%p1%{6}%=%t\E(2U%e%p1%{7}%=%t\E(1E%e%p1%{8}%=%t\E(0U%e%p1%{9}%=%t\E(3S%e%p1%{10}%=%t\E(0S%e%p1%{11}%=%t\E(0K%e%p1%{12}%=%t\E(0I%e%p1%{13}%=%t\E(4S%e%p1%{14}%=%t\E(2S%e%p1%{15}%=%t\E(1G%e%p1%{16}%=%t\E(0F%e%p1%{17}%=%t\E(2K%e%p1%{18}%=%t\E(0D%e%p1%{19}%=%t\E(1D%e%p1%{20}%=%t\E(1F%e%p1%{21}%=%t\E(5S%e%p1%{22}%=%t\E(6S%;,
120
121	use=Ghplaser+basic, use=Ghplaser+high,
122
123