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 entries for the various IBM printers and emulations. 31*0Sstevel@tonic-gate# 32*0Sstevel@tonic-gate 33*0Sstevel@tonic-gate################################### 34*0Sstevel@tonic-gate# 35*0Sstevel@tonic-gate# IBM Graphics 36*0Sstevel@tonic-gate# 37*0Sstevel@tonic-gate 38*0Sstevel@tonic-gate# 39*0Sstevel@tonic-gate# Basic capabilities: 40*0Sstevel@tonic-gate# 41*0Sstevel@tonic-gateGibmg+basic, 42*0Sstevel@tonic-gate 43*0Sstevel@tonic-gate cols#80, 44*0Sstevel@tonic-gate lines#66, 45*0Sstevel@tonic-gate it#8, 46*0Sstevel@tonic-gate 47*0Sstevel@tonic-gate cpix, 48*0Sstevel@tonic-gate orc#1, 49*0Sstevel@tonic-gate orhi#10, 50*0Sstevel@tonic-gate orl#12, 51*0Sstevel@tonic-gate orvi#72, 52*0Sstevel@tonic-gate 53*0Sstevel@tonic-gate cr=^M, 54*0Sstevel@tonic-gate ff=^L, 55*0Sstevel@tonic-gate ht=^I, 56*0Sstevel@tonic-gate cud1=^J, 57*0Sstevel@tonic-gate cuf1=\s, 58*0Sstevel@tonic-gate 59*0Sstevel@tonic-gate cpi=%?%p1%{10}%=%t^R%e%p1%{16}%=%p1%{17}%=%O%t^O%;, 60*0Sstevel@tonic-gate cvr=%?%p1%{0}%>%p1%{256}%<%&%t\EA%p1%c\E2%;, 61*0Sstevel@tonic-gate 62*0Sstevel@tonic-gate is1=^X, 63*0Sstevel@tonic-gate is2=^R\EA\014\E2\EF\EH\EW0\ET\E-0\E7\EO\ECB, 64*0Sstevel@tonic-gate 65*0Sstevel@tonic-gate csnm=%?%p1%{0}%=%tcharacter_set_1%e%p1%{1}%=%tcharacter_set_2%;, 66*0Sstevel@tonic-gate scs=%?%p1%{0}%=%t\E7%e%p1%{2}%=%t\E6%;, 67*0Sstevel@tonic-gate 68*0Sstevel@tonic-gate smso=\EE, 69*0Sstevel@tonic-gate rmso=\EF, 70*0Sstevel@tonic-gate smul=\E-1, 71*0Sstevel@tonic-gate rmul=\E-0, 72*0Sstevel@tonic-gate bold=\EG, 73*0Sstevel@tonic-gate smacs=\E6, 74*0Sstevel@tonic-gate rmacs=\E7, 75*0Sstevel@tonic-gate sshm=\EE, 76*0Sstevel@tonic-gate rshm=\EF, 77*0Sstevel@tonic-gate ssubm=\ES1, 78*0Sstevel@tonic-gate rsubm=\ET, 79*0Sstevel@tonic-gate ssupm=\ES0, 80*0Sstevel@tonic-gate rsupm=\ET, 81*0Sstevel@tonic-gate swidm=\EW1, 82*0Sstevel@tonic-gate rwidm=\EW0, 83*0Sstevel@tonic-gate sgr0=\EF\E-0\EH\E7\ET\EW0, 84*0Sstevel@tonic-gate sgr=%?%p1%t\EE%e\EF%;%?%p2%t\E-1%e\E-0%;%?%p6%t\EG%e\EH%;%?%p9%t\E6%e\E7%;, 85*0Sstevel@tonic-gate sdrfq=\EH, 86*0Sstevel@tonic-gate snlq=\EG, 87*0Sstevel@tonic-gate 88*0Sstevel@tonic-gate# slines= u9 used for svr3.2 89*0Sstevel@tonic-gate u9=%?%p1%{0}%>%p1%{128}%<%&%t\EC%p1%c%;, 90*0Sstevel@tonic-gate slines=%?%p1%{0}%>%p1%{128}%<%&%t\EC%p1%c%;, 91*0Sstevel@tonic-gate 92*0Sstevel@tonic-gate# 93*0Sstevel@tonic-gate# Graphics capabilities (low resolution, 9-pin): 94*0Sstevel@tonic-gate# 95*0Sstevel@tonic-gateGibmg+low, 96*0Sstevel@tonic-gate 97*0Sstevel@tonic-gate npins#8, 98*0Sstevel@tonic-gate spinv#72, 99*0Sstevel@tonic-gate spinh#60, 100*0Sstevel@tonic-gate 101*0Sstevel@tonic-gate porder=1\,2\,3\,4\,5\,6\,7\,8;0, 102*0Sstevel@tonic-gate 103*0Sstevel@tonic-gate sbim=\EK%p1%{256}%m%c%p1%{256}%/%c, 104*0Sstevel@tonic-gate 105*0Sstevel@tonic-gate bitwin#1, 106*0Sstevel@tonic-gate u1=1, 107*0Sstevel@tonic-gate bitype#1, 108*0Sstevel@tonic-gate u2=1, 109*0Sstevel@tonic-gate 110*0Sstevel@tonic-gate# defbi= 111*0Sstevel@tonic-gate# Set the line spacing to 8/72 inch (9 lines per inch) 112*0Sstevel@tonic-gate# to get 72 dots per inch vertically (9 lines/inch * 8 pins/line). 113*0Sstevel@tonic-gate# Set the character spacing to pica (1/10 inch or 10 characters 114*0Sstevel@tonic-gate# per inch); at 60 dots per inch horizontally this means 6 115*0Sstevel@tonic-gate# dots per character. 116*0Sstevel@tonic-gate# The IBM Graphics doesn't have parameterized motion, 117*0Sstevel@tonic-gate# so we simulate it with linefeeds and spaces. 118*0Sstevel@tonic-gate# Assume we never need to move across more than 63 colums 119*0Sstevel@tonic-gate# or down more than 31 lines. 120*0Sstevel@tonic-gate# THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although 121*0Sstevel@tonic-gate# maybe not in the first column.) 122*0Sstevel@tonic-gate u6=%?%p5%{1}%=%t\EA\010\E2^R%p2%{8}%/%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%;\r%p1%{6}%/%Px%?%gx%{31}%>%t %gx%{32}%-%Px%;%?%gx%{15}%>%t %gx%{16}%-%Px%;%?%gx%{7}%>%t %gx%{8}%-%Px%;%?%gx%{3}%>%t %gx%{4}%-%Px%;%?%gx%{1}%>%t %gx%{2}%-%Px%;%?%gx%{0}%>%t %;%;, 123*0Sstevel@tonic-gate defbi=%?%p5%{1}%=%t\EA\010\E2^R%p2%{8}%/%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%;\r%p1%{6}%/%Px%?%gx%{31}%>%t %gx%{32}%-%Px%;%?%gx%{15}%>%t %gx%{16}%-%Px%;%?%gx%{7}%>%t %gx%{8}%-%Px%;%?%gx%{3}%>%t %gx%{4}%-%Px%;%?%gx%{1}%>%t %gx%{2}%-%Px%;%?%gx%{0}%>%t %;%;, 124*0Sstevel@tonic-gate 125*0Sstevel@tonic-gate# endbi= 126*0Sstevel@tonic-gate u7=\EA\014\E2, 127*0Sstevel@tonic-gate endbi=\EA\014\E2, 128*0Sstevel@tonic-gate 129*0Sstevel@tonic-gate# binel= 130*0Sstevel@tonic-gate u5=\n\r%p1%{6}%/%Px%?%gx%{31}%>%t %gx%{32}%-%Px%;%?%gx%{15}%>%t %gx%{16}%-%Px%;%?%gx%{7}%>%t %gx%{8}%-%Px%;%?%gx%{3}%>%t %gx%{4}%-%Px%;%?%gx%{1}%>%t %gx%{2}%-%Px%;%?%gx%{0}%>%t %;, 131*0Sstevel@tonic-gate binel=\n\r%p1%{6}%/%Px%?%gx%{31}%>%t %gx%{32}%-%Px%;%?%gx%{15}%>%t %gx%{16}%-%Px%;%?%gx%{7}%>%t %gx%{8}%-%Px%;%?%gx%{3}%>%t %gx%{4}%-%Px%;%?%gx%{1}%>%t %gx%{2}%-%Px%;%?%gx%{0}%>%t %;, 132*0Sstevel@tonic-gate 133*0Sstevel@tonic-gate# bicr= 134*0Sstevel@tonic-gate u3=\r%p1%{6}%/%Px%?%gx%{31}%>%t %gx%{32}%-%Px%;%?%gx%{15}%>%t %gx%{16}%-%Px%;%?%gx%{7}%>%t %gx%{8}%-%Px%;%?%gx%{3}%>%t %gx%{4}%-%Px%;%?%gx%{1}%>%t %gx%{2}%-%Px%;%?%gx%{0}%>%t %;, 135*0Sstevel@tonic-gate bicr=\r%p1%{6}%/%Px%?%gx%{31}%>%t %gx%{32}%-%Px%;%?%gx%{15}%>%t %gx%{16}%-%Px%;%?%gx%{7}%>%t %gx%{8}%-%Px%;%?%gx%{3}%>%t %gx%{4}%-%Px%;%?%gx%{1}%>%t %gx%{2}%-%Px%;%?%gx%{0}%>%t %;, 136*0Sstevel@tonic-gate 137*0Sstevel@tonic-gate################################### 138*0Sstevel@tonic-gate# 139*0Sstevel@tonic-gate# IBM Color 140*0Sstevel@tonic-gate# 141*0Sstevel@tonic-gate 142*0Sstevel@tonic-gate# 143*0Sstevel@tonic-gate# Basic capabilities: 144*0Sstevel@tonic-gate# 145*0Sstevel@tonic-gateGibmc+basic, 146*0Sstevel@tonic-gate 147*0Sstevel@tonic-gate cub1=\b, 148*0Sstevel@tonic-gate 149*0Sstevel@tonic-gate is1=^Q^X, 150*0Sstevel@tonic-gate is2=^R\EA\014\E2\EF\EH\EW0\ET\E-0\E7\EO\ER\E50\EM0\EX^A\210\Eb\ECB, 151*0Sstevel@tonic-gate 152*0Sstevel@tonic-gate cvr=%?%p1%{0}%>%p1%{256}%<%&%t\E3%p1%c%;, 153*0Sstevel@tonic-gate 154*0Sstevel@tonic-gate smglp=\EX%p1%{1}%+%c%p2%{1}%+%c, 155*0Sstevel@tonic-gate 156*0Sstevel@tonic-gate use=Gibmg+basic, 157*0Sstevel@tonic-gate 158*0Sstevel@tonic-gate# 159*0Sstevel@tonic-gate# Graphics capabilities (low resolution, 9-pin, 5:6 aspect ratio): 160*0Sstevel@tonic-gate# 161*0Sstevel@tonic-gateGibmc+low+5x6, 162*0Sstevel@tonic-gate 163*0Sstevel@tonic-gate spinv#84, 164*0Sstevel@tonic-gate spinh#70, 165*0Sstevel@tonic-gate 166*0Sstevel@tonic-gate# defbi= 167*0Sstevel@tonic-gate# Set 5:6 aspect ratio. 168*0Sstevel@tonic-gate# Set the line spacing to 7/72 inch (10.29 lines per inch) 169*0Sstevel@tonic-gate# to get approximately 84 dots per inch vertically 170*0Sstevel@tonic-gate# (10.29 lines/inch * 8 pins/line equals 82.28 dots per inch). 171*0Sstevel@tonic-gate# Set the character spacing to pica (1/10 inch or 10 characters 172*0Sstevel@tonic-gate# per inch); at 70 dots per inch horizontally this means 7 173*0Sstevel@tonic-gate# dots per character. 174*0Sstevel@tonic-gate# Set vertical and horizontal tab stops at the upper left corner 175*0Sstevel@tonic-gate# of the image, then tab to the upper left corner. 176*0Sstevel@tonic-gate# Note: $<> is a true null (only works with special Curses routine). 177*0Sstevel@tonic-gate# THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although 178*0Sstevel@tonic-gate# maybe not in the first column.) 179*0Sstevel@tonic-gate u6=%?%p5%{1}%=%t\En^B\E1^R\EB%p2%{8}%/%c$<>\ED%p1%{7}%/%c$<>\013\r\t%;, 180*0Sstevel@tonic-gate defbi=%?%p5%{1}%=%t\En^B\E1^R\EB%p2%{8}%/%c$<>\ED%p1%{7}%/%c$<>\013\r\t%;, 181*0Sstevel@tonic-gate 182*0Sstevel@tonic-gate# binel= 183*0Sstevel@tonic-gate u5=\n\r\t, 184*0Sstevel@tonic-gate binel=\n\r\t, 185*0Sstevel@tonic-gate 186*0Sstevel@tonic-gate# bicr= 187*0Sstevel@tonic-gate u3=\r\t, 188*0Sstevel@tonic-gate bicr=\r\t, 189*0Sstevel@tonic-gate 190*0Sstevel@tonic-gate use=Gibmg+low, 191*0Sstevel@tonic-gate 192*0Sstevel@tonic-gate# 193*0Sstevel@tonic-gate# Graphics capabilities (low resolution, 9-pin, 1:1 aspect ratio): 194*0Sstevel@tonic-gate# 195*0Sstevel@tonic-gateGibmc+low+1x1, 196*0Sstevel@tonic-gate 197*0Sstevel@tonic-gate spinh#84, 198*0Sstevel@tonic-gate 199*0Sstevel@tonic-gate# defbi= 200*0Sstevel@tonic-gate# Set 1:1 aspect ratio. 201*0Sstevel@tonic-gate# Set the line spacing to 7/72 inch (10.29 lines per inch) 202*0Sstevel@tonic-gate# to get approximately 84 dots per inch vertically 203*0Sstevel@tonic-gate# (10.29 lines/inch * 8 pins/line equals 82.28 dots per inch). 204*0Sstevel@tonic-gate# Set the character spacing to pica (1/10 inch or 10 characters 205*0Sstevel@tonic-gate# per inch); at 84 dots per inch horizontally this means 8.4 206*0Sstevel@tonic-gate# dots per character. 207*0Sstevel@tonic-gate# Set vertical and horizontal tab stops at the upper left corner 208*0Sstevel@tonic-gate# of the image, then tab to the upper left corner. 209*0Sstevel@tonic-gate# Note: $<> is a true null (only works with special Curses routine). 210*0Sstevel@tonic-gate# THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although 211*0Sstevel@tonic-gate# maybe not in the first column.) 212*0Sstevel@tonic-gate u6=%?%p5%{1}%=%t\En^A\E1^R\EB%p2%{8}%/%c$<>\ED%p1%{10}%*%{84}%/%c$<>\013\r\t%;, 213*0Sstevel@tonic-gate defbi=%?%p5%{1}%=%t\En^A\E1^R\EB%p2%{8}%/%c$<>\ED%p1%{10}%*%{84}%/%c$<>\013\r\t%;, 214*0Sstevel@tonic-gate 215*0Sstevel@tonic-gate use=Gibmc+low+5x6, 216*0Sstevel@tonic-gate 217*0Sstevel@tonic-gate# 218*0Sstevel@tonic-gate# Color capability: 219*0Sstevel@tonic-gate# 220*0Sstevel@tonic-gateGibmc+color, 221*0Sstevel@tonic-gate 222*0Sstevel@tonic-gate colors#3, 223*0Sstevel@tonic-gate 224*0Sstevel@tonic-gate# setcolor= 225*0Sstevel@tonic-gate initc=%?%p1%{0}%=%t\Eb%;%?%p1%{1}%=%t\Ec%;%?%p1%{2}%=%t\Em%;%?%p1%{3}%=%t\Ey%;, 226*0Sstevel@tonic-gate 227*0Sstevel@tonic-gate# colornm= 228*0Sstevel@tonic-gate 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%;, 229*0Sstevel@tonic-gate 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%;, 230*0Sstevel@tonic-gate 231*0Sstevel@tonic-gate################################### 232*0Sstevel@tonic-gate# 233*0Sstevel@tonic-gate# IBM Proprinter XL: 234*0Sstevel@tonic-gate# 235*0Sstevel@tonic-gate# This printer appears to be a superset of the IBM Graphics 236*0Sstevel@tonic-gate# and IBM Color printers, with a 24-wire printhead. The entry 237*0Sstevel@tonic-gate# below uses the full capabilities of the superset and printhead. 238*0Sstevel@tonic-gate# The printer has an Alternate Graphics Mode (AGM) that changes 239*0Sstevel@tonic-gate# the vertical resolution from 1/216" to 1/180", and the graphics 240*0Sstevel@tonic-gate# aspect ratio from 5:6 to 1:1. HOWEVER, there does not appear to 241*0Sstevel@tonic-gate# be a control sequence that switches into this mode--it must be 242*0Sstevel@tonic-gate# done by hand! 243*0Sstevel@tonic-gate# 244*0Sstevel@tonic-gate 245*0Sstevel@tonic-gate# 246*0Sstevel@tonic-gate# Basic capabilities (printer not in AGM): 247*0Sstevel@tonic-gate# 248*0Sstevel@tonic-gateGibmxl+basic, 249*0Sstevel@tonic-gate 250*0Sstevel@tonic-gate orc#12, 251*0Sstevel@tonic-gate orhi#120, 252*0Sstevel@tonic-gate orl#36, 253*0Sstevel@tonic-gate orvi#216, 254*0Sstevel@tonic-gate 255*0Sstevel@tonic-gate cub1=\b, 256*0Sstevel@tonic-gate 257*0Sstevel@tonic-gate cpi=%?%p1%{10}%=%t^R%e%p1%{12}%=%t\E:%e%p1%{17}%=%t^O%;, 258*0Sstevel@tonic-gate cvr=%?%p1%{0}%>%p1%{256}%<%&%t\E3%p1%c%;, 259*0Sstevel@tonic-gate 260*0Sstevel@tonic-gate is1=^Q^X, 261*0Sstevel@tonic-gate is2=^R\EP0\EA\014\E2\EC\102\EO\ER\Eb\E50\EF\EH\EW0\ET\E-0\E_0\E7, 262*0Sstevel@tonic-gate is3=\EX\001\120, 263*0Sstevel@tonic-gate 264*0Sstevel@tonic-gate smglp=\EX%p1%{1}%+%c%p2%{1}%+%c, 265*0Sstevel@tonic-gate 266*0Sstevel@tonic-gate use=Gibmg+basic, 267*0Sstevel@tonic-gate 268*0Sstevel@tonic-gate# 269*0Sstevel@tonic-gate# Basic capabilities (printer in AGM): 270*0Sstevel@tonic-gate# 271*0Sstevel@tonic-gateGibmxlagm+basic, 272*0Sstevel@tonic-gate 273*0Sstevel@tonic-gate orl#30, 274*0Sstevel@tonic-gate orvi#180, 275*0Sstevel@tonic-gate 276*0Sstevel@tonic-gate is2=^R\EP0\EA\012\E2\EC\102\EO\ER\Eb\E50\EF\EH\EW0\ET\E-0\E_0\E7, 277*0Sstevel@tonic-gate 278*0Sstevel@tonic-gate use=Gibmxl+basic, 279*0Sstevel@tonic-gate 280*0Sstevel@tonic-gate# 281*0Sstevel@tonic-gate# Graphics capabilities (low resolution, 8-pin, 5:6 aspect ratio): 282*0Sstevel@tonic-gate# 283*0Sstevel@tonic-gateGibmxl+low+5x6, 284*0Sstevel@tonic-gate 285*0Sstevel@tonic-gate spinv#72, 286*0Sstevel@tonic-gate spinh#60, 287*0Sstevel@tonic-gate 288*0Sstevel@tonic-gate# defbi= 289*0Sstevel@tonic-gate# Set the line spacing to 8/72 inch (9 lines per inch) 290*0Sstevel@tonic-gate# to get 72 dots per inch vertically (9 lines/" * 8 pins/line). 291*0Sstevel@tonic-gate# Set the character spacing to pica (1/10 inch or 10 characters 292*0Sstevel@tonic-gate# per inch); at 60 dots per inch horizontally this means 6 293*0Sstevel@tonic-gate# dots per character. 294*0Sstevel@tonic-gate# Set vertical and horizontal tab stops at the upper left corner 295*0Sstevel@tonic-gate# of the image, then tab to the upper left corner. 296*0Sstevel@tonic-gate# Note: $<> is a true null (only works with special Curses routine). 297*0Sstevel@tonic-gate# THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although 298*0Sstevel@tonic-gate# maybe not in the first column.) 299*0Sstevel@tonic-gate u6=%?%p5%{1}%=%t\EA\010\E2^R\EB%p2%{8}%/%c$<>\ED%p1%{6}%/%c$<>\013\r\t%;, 300*0Sstevel@tonic-gate defbi=%?%p5%{1}%=%t\EA\010\E2^R\EB%p2%{8}%/%c$<>\ED%p1%{6}%/%c$<>\013\r\t%;, 301*0Sstevel@tonic-gate 302*0Sstevel@tonic-gate use=Gibmc+low+5x6, 303*0Sstevel@tonic-gate 304*0Sstevel@tonic-gate# 305*0Sstevel@tonic-gate# Graphics capabilities (low resolution, 8-pin, 1:1 aspect ratio): 306*0Sstevel@tonic-gate# 307*0Sstevel@tonic-gateGibmxl+low+1x1, 308*0Sstevel@tonic-gate 309*0Sstevel@tonic-gate spinv#60, 310*0Sstevel@tonic-gate 311*0Sstevel@tonic-gate# In AGM the "defbi" cap from Gibmxl+low+5x6 will work. The 312*0Sstevel@tonic-gate# line spacing will be 8/60 inch to get 60 dots per inch, using 313*0Sstevel@tonic-gate# the same control sequence. 314*0Sstevel@tonic-gate 315*0Sstevel@tonic-gate use=Gibmxl+low+5x6, 316*0Sstevel@tonic-gate 317*0Sstevel@tonic-gate# 318*0Sstevel@tonic-gate# Graphics capabilities (high resolution, 24-pin, 5:6 aspect ratio): 319*0Sstevel@tonic-gate# 320*0Sstevel@tonic-gate# This doesn't work as the pin spacing doesn't get set to 321*0Sstevel@tonic-gate# 1/216 inch, but stays at 1/180 inch, even out of AGM. 322*0Sstevel@tonic-gate# 323*0Sstevel@tonic-gate 324*0Sstevel@tonic-gate# 325*0Sstevel@tonic-gate# Graphics capabilities (high resolution, 24-pin, 1:1 aspect ratio): 326*0Sstevel@tonic-gate# 327*0Sstevel@tonic-gateGibmxl+high+1x1, 328*0Sstevel@tonic-gate 329*0Sstevel@tonic-gate npins#24, 330*0Sstevel@tonic-gate spinv#180, 331*0Sstevel@tonic-gate spinh#180, 332*0Sstevel@tonic-gate 333*0Sstevel@tonic-gate 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, 334*0Sstevel@tonic-gate 335*0Sstevel@tonic-gate sbim=\E*\047%p1%{256}%m%c%p1%{256}%/%c, 336*0Sstevel@tonic-gate 337*0Sstevel@tonic-gate# defbi= 338*0Sstevel@tonic-gate# Set the line spacing to 8/60 inch (7.5 lines per inch) 339*0Sstevel@tonic-gate# to get 180 dots per inch vertically (7.5 lines/" * 24 pins/line). 340*0Sstevel@tonic-gate# This requires the printer or emulation in Alternate Graphics Mode. 341*0Sstevel@tonic-gate# Set the character spacing to pica (1/10 inch or 10 characters 342*0Sstevel@tonic-gate# per inch); at 180 dots per inch horizontally this means 18 343*0Sstevel@tonic-gate# dots per character. 344*0Sstevel@tonic-gate# Set vertical and horizontal tab stops at the upper left corner 345*0Sstevel@tonic-gate# of the image, then tab to the upper left corner. 346*0Sstevel@tonic-gate# Note: $<> is a true null (only works with special Curses routine). 347*0Sstevel@tonic-gate# THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although 348*0Sstevel@tonic-gate# maybe not in the first column.) 349*0Sstevel@tonic-gate u6=%?%p5%{1}%=%t\EA\010\E2^R\EB%p2%{24}%/%c$<>\ED%p1%{18}%/%c$<>\013\r\t%;, 350*0Sstevel@tonic-gate defbi=%?%p5%{1}%=%t\EA\010\E2^R\EB%p2%{24}%/%c$<>\ED%p1%{18}%/%c$<>\013\r\t%;, 351*0Sstevel@tonic-gate 352*0Sstevel@tonic-gate use=Gibmc+low+5x6, 353*0Sstevel@tonic-gate 354