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# 23*0Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*0Sstevel@tonic-gate# Use is subject to license terms. 25*0Sstevel@tonic-gate# 26*0Sstevel@tonic-gate# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T 27*0Sstevel@tonic-gate# All Rights Reserved 28*0Sstevel@tonic-gate 29*0Sstevel@tonic-gate 30*0Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */ 31*0Sstevel@tonic-gate 32*0Sstevel@tonic-gate###################################################################### 33*0Sstevel@tonic-gate# 34*0Sstevel@tonic-gate# Generic entry for the HP Laserjet printers and emulations: 35*0Sstevel@tonic-gate# 36*0Sstevel@tonic-gate 37*0Sstevel@tonic-gate# 38*0Sstevel@tonic-gate# Basic capabilities: 39*0Sstevel@tonic-gate# 40*0Sstevel@tonic-gateGhplaser+basic, 41*0Sstevel@tonic-gate 42*0Sstevel@tonic-gate cols#80, 43*0Sstevel@tonic-gate lines#60, 44*0Sstevel@tonic-gate 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 cud=\E&a+%p1%dR, 54*0Sstevel@tonic-gate cuf=\E&a+%p1%dC, 55*0Sstevel@tonic-gate ff=^L, 56*0Sstevel@tonic-gate hpa=\E&a%p1%dC, 57*0Sstevel@tonic-gate vpa=\E&a%p1%dR, 58*0Sstevel@tonic-gate 59*0Sstevel@tonic-gate cpi=%?%p1%{10}%=%t\E&k0S%e%p1%{17}%=%t\E&k2S%;, 60*0Sstevel@tonic-gate chr=%?%p1%{0}%>%p1%{127}%<%t\E&k%p1%dH%;, 61*0Sstevel@tonic-gate cvr=%?%p1%{0}%>%p1%{127}%<%t\E&l%p1%dC%;, 62*0Sstevel@tonic-gate 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*0Sstevel@tonic-gate 64*0Sstevel@tonic-gate is2=\EE\E&k0G, 65*0Sstevel@tonic-gate mgc=\E9, 66*0Sstevel@tonic-gate 67*0Sstevel@tonic-gate rmul=\E&d\100, 68*0Sstevel@tonic-gate ritm=\E(s0S, 69*0Sstevel@tonic-gate smul=\E&dD, 70*0Sstevel@tonic-gate sitm=\E(s1S, 71*0Sstevel@tonic-gate smgtp=\E&l%p1%{1}%+%dE, 72*0Sstevel@tonic-gate smgbp=\E&l%p1%{1}%+%dF, 73*0Sstevel@tonic-gate smglp=\E&a%p1%dL, 74*0Sstevel@tonic-gate smgrp=\E&a%p1%dM, 75*0Sstevel@tonic-gate 76*0Sstevel@tonic-gate#Set top margin at +2 offset 77*0Sstevel@tonic-gate smgtp=\E&l%p1%dE, 78*0Sstevel@tonic-gate 79*0Sstevel@tonic-gate#Set page length u9 used for 3.2 slines for 4.0 80*0Sstevel@tonic-gate u9=\E&l%p1P, 81*0Sstevel@tonic-gate slines=\E&l%p1%dF, 82*0Sstevel@tonic-gate 83*0Sstevel@tonic-gate# 84*0Sstevel@tonic-gate# Graphics capabilities: 85*0Sstevel@tonic-gate# 86*0Sstevel@tonic-gateGhplaser+high, 87*0Sstevel@tonic-gate 88*0Sstevel@tonic-gate npins#8, 89*0Sstevel@tonic-gate spinv#300, 90*0Sstevel@tonic-gate spinh#300, 91*0Sstevel@tonic-gate 92*0Sstevel@tonic-gate porder=1\,2\,3\,4\,5\,6\,7\,8;0, 93*0Sstevel@tonic-gate 94*0Sstevel@tonic-gate sbim=\E*b%p1%dW, 95*0Sstevel@tonic-gate 96*0Sstevel@tonic-gate# u1 - u7 used for svr3.2 97*0Sstevel@tonic-gate# bitwin#, 98*0Sstevel@tonic-gate u1=1, 99*0Sstevel@tonic-gate bitwin#1, 100*0Sstevel@tonic-gate# bitype# 101*0Sstevel@tonic-gate u2=2, 102*0Sstevel@tonic-gate bitype#2, 103*0Sstevel@tonic-gate 104*0Sstevel@tonic-gate# defbi= 105*0Sstevel@tonic-gate# X (or Y) * scale * 12/5 == pos in decipoints (12/5 == 720/300) 106*0Sstevel@tonic-gate 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*0Sstevel@tonic-gate 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*0Sstevel@tonic-gate 109*0Sstevel@tonic-gate# endbi= 110*0Sstevel@tonic-gate u7=\E*rB, 111*0Sstevel@tonic-gate endbi=\E*rB, 112*0Sstevel@tonic-gate 113*0Sstevel@tonic-gateGhplaser+II, 114*0Sstevel@tonic-gate 115*0Sstevel@tonic-gate cpi=%?%p1%{10}%=%t\E(s10H%e%p1%{16}%=%p1%{17}%=%O%t\E(s16.66H%e%;, 116*0Sstevel@tonic-gate 117*0Sstevel@tonic-gate 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*0Sstevel@tonic-gate 119*0Sstevel@tonic-gate 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*0Sstevel@tonic-gate 121*0Sstevel@tonic-gate use=Ghplaser+basic, use=Ghplaser+high, 122*0Sstevel@tonic-gate 123