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# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T 23# All Rights Reserved 24 25 26#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ 27 28###################################################################### 29# 30# Generic entry for the daisy wheel printers and emulations: 31# 32 33# 34# Basic capabilities: 35# 36Gdaisy+basic, 37 38 daisy, 39 40 cols#132, 41 lines#66, 42 43 bufsz#500, 44 cps#55, 45 orc#12, 46 orhi#120, 47 orl#8, 48 orvi#48, 49 50 cr=^M, 51 cud1=^J, 52 cuf1=\s, 53 ff=^L, 54 ht=^I, 55 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 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 58 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 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 61 62 is2=\E\015P\EW\E.\EL08\EE12\E%\E<, 63 64 smso=\EQ, 65 rmso=\ER, 66 smul=\EI, 67 rmul=\EJ, 68 bold=\EK3, 69 sshm=\EQ, 70 rshm=\ER, 71 sgr0=\ER\EM\EJ, 72 sgr=%?%p1%t\EQ%e\ER%;%?%p2%t\EI%e\EJ%;%?%p6%t\EK3%e\EM%;, 73 74 smgb=\E-, 75 smgl=\E9, 76 smgr=\E0, 77 smgt=\E+, 78 79# slines=, 80 u9=\EF%p1%02d, 81 82# 83# Graphics capabilities: 84# 85Gdaisy+lowres, 86 87# 88# We could use the graphics on/graphics off control sequences 89# (ESC G/ESC 4) but for these problems: 90# 91# - graphics mode gets turned off when a \r is received; 92# - printing a character doesn't cause motion, which 93# means that each ``cell'' must be followed by a space; 94# - to get the best aspect ratio, three horizontal dots 95# must be sent per ``cell'' (using the ESC 3 graphics mode 96# (1/60 instead of 1/120) alleviates this problem but 97# gives a worse aspect ratio). 98# 99# So instead we set the HMI and VMI to 1/40 and 1/48 inch, 100# respectively. 101# 102 npins#1, 103 spinv#48, 104 spinh#40, 105 106 porder=o\,o\,o\,o\,1\,1\,1\,o;32, 107 108# bitwin# 109 u1=1, 110# bitype# 111 u2=1, 112 113# birep= 114 u4=%?%p3%{32}%=%t\EH%p2%{3}%*%Px%gx%{256}%/%{64}%+%c%gx%{256}%m%{16}%/%{64}%+%c%gx%{16}%m%{64}%+%c%;, 115 116# defbi= 117# THIS ASSUMES WE START AT THE TOP OF THE PAGE! (although 118# maybe not in the first column.) 119 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 121# endbi= 122 u7=\EL08\EE12\E<, 123 124# binel= 125 u5=\n\r%p1%{3}%*%Px\EH%gx%{256}%/%{64}%+%c%gx%{256}%m%{16}%/%{64}%+%c%gx%{16}%m%{64}%+%c, 126 127