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.1 */ |
|
27 |
|
28 ###################################################################### |
|
29 # |
|
30 # Generic entry for the C.Itoh 8510 printer and emulations: |
|
31 # |
|
32 |
|
33 Gcitoh+basic, |
|
34 |
|
35 # The 8510 I use only allows 79 columns! |
|
36 cols#79, |
|
37 |
|
38 lines#66, |
|
39 it#8, |
|
40 |
|
41 orc#1, |
|
42 orhi#10, |
|
43 orl#24, |
|
44 orvi#144, |
|
45 |
|
46 cr=\r, |
|
47 cud1=\n, |
|
48 cuf1=\s, |
|
49 ff=\f, |
|
50 ht=\t, |
|
51 |
|
52 cpi=%?%p1%{10}%=%t\EN%e%p1%{12}%=%t\EE%e%p1%{16}%=%p1%{17}%=%O%t\EQ%;, |
|
53 cvr=%?%p1%{0}%>%p1%{100}%<%&%t\ET%p1%02d%;, |
|
54 |
|
55 is1=^Q^X, |
|
56 is2=\Ec1\Ev66., |
|
57 |
|
58 smso=\E!, |
|
59 rmso=\E", |
|
60 smul=\EX, |
|
61 rmul=\EY, |
|
62 bold=\E!, |
|
63 ssubm=\Es2, |
|
64 rsubm=\Es0, |
|
65 ssupm=\Es1, |
|
66 rsupm=\Es0, |
|
67 swidm=^N, |
|
68 rwidm=^O, |
|
69 sgr0=\E"\EY\Es0^O, |
|
70 sgr=%?%p1%p6%|%t\E!%e\E"%;%?%p2%t\EX%e\EY%;, |
|
71 |
|
72 rep=\ER%p2%03d%p1%c, |
|
73 |
|
74 snlq=\Em2, |
|
75 snrmq=\Em1, |
|
76 sdrfq=\Em0, |
|
77 |
|
78 smglp=\EL%p1%03d, |
|
79 smgrp=\E/%{1}%p1%+%03d, |
|
80 |
|
81 # slines= |
|
82 u9=\Ev%p1%02d., |
|
83 slines=\Ev%p1%02d., |
|
84 |
|
85 Gcitoh+low, |
|
86 |
|
87 npins#8, |
|
88 spinv#68, |
|
89 spinh#136, |
|
90 |
|
91 porder=8\,7\,6\,5\,4\,3\,2\,1;0, |
|
92 |
|
93 sbim=\ES%p1%04d, |
|
94 |
|
95 # birep= |
|
96 u4=\EV%p2%04d%p3%c, |
|
97 birep=\EV%p2%04d%p3%c, |
|
98 |
|
99 bitwin#1, |
|
100 u1=1, |
|
101 bitype#1, |
|
102 u2=1, |
|
103 |
|
104 # defbi= |
|
105 # Set the line spacing to 17/144 inch to get (almost) 68 dots |
|
106 # per inch vertically (8 * 144/17). |
|
107 # Set the character spacing to compressed (1/17 inch or 17 |
|
108 # characters per inch); at 136 dots per inch horizontally this |
|
109 # means 8 dots per character. |
|
110 # Set the left margin at the left edge of the image. |
|
111 # The C.Itoh doesn't have parameterized vertical motion, |
|
112 # so we simulate it with linefeeds. Assume we never need |
|
113 # to move more than 63 lines (at 17/144 LPI). |
|
114 # Set uni-directional motion; bi-directional causes a wavy |
|
115 # image. |
|
116 # defbi= |
|
117 u6=%?%p5%{1}%=%t\ET17\EQ\EL%p1%{8}%/%03d%p2%{8}%/%Py%?%gy%{31}%>%t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%gy%{32}%-%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%;\E>%;, |
|
118 defbi=%?%p5%{1}%=%t\ET17\EQ\EL%p1%{8}%/%03d%p2%{8}%/%Py%?%gy%{31}%>%t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%gy%{32}%-%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%;\E>%;, |
|
119 |
|
120 # endbi= |
|
121 u7=\EA\EP\EL001\E<, |
|
122 endbi=\EA\EP\EL001\E<, |
|
123 |
|
124 # binel= |
|
125 u5=\n\r\EL%p1%{8}%/%03d, |
|
126 binel=\n\r\EL%p1%{8}%/%03d, |
|
127 |
|