os/graphics/printingservices/printerdrivers/canon/CANON.PD
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/graphics/printingservices/printerdrivers/canon/CANON.PD	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,285 @@
     1.4 +! CANON.PD
     1.5 +! Printer driver file for Canon Bubblejet printers
     1.6 +
     1.7 +Resources CanonResources
     1.8 +	Reset "<27>[\<04><00><00><00><01><68><27>[T<04><00><00><00><03><82><27><6><27><0><27>4<27>3<170>"
     1.9 +
    1.10 +! set n/360 graphics line spacing mode
    1.11 +! Set code page 850
    1.12 +! Set character set 2
    1.13 +! Set 1/8 inch line spacing
    1.14 +! Set page length in  lines
    1.15 +! Set to top line of page
    1.16 +! Set graphics line spacing delta to 170/216
    1.17 +    SetPageSize         "<27>X<00><00><27>C<00>%c"
    1.18 +    PreAmble            ""
    1.19 +! Set left/right margin to 0
    1.20 +! size using the values in the model.
    1.21 +    PostAmble           "<12><27>[K<01><00><00>"
    1.22 +! Form feeds then resets printer to user defined settings
    1.23 +    BoldOn              "<27>G"
    1.24 +    BoldOff             "<27>H"
    1.25 +    ItalicOn            ""
    1.26 +    ItalicOff           ""
    1.27 +    UnderlineOn         "<27>-<01>"
    1.28 +    UnderlineOff        "<27>-<00>"
    1.29 +    StrikethroughOn     "<27>-<01>"
    1.30 +    StrikethroughOff    "<27>-<01>"
    1.31 +    NewPage             "<12><10>"
    1.32 +    IncrementXPos       "<27>d%w"
    1.33 +!Increments in n/120 inch-max is 255/120   
    1.34 +    IncrementYPos       "<27>J%c"
    1.35 +    CarriageReturn      "<13>" 
    1.36 +    BitmapStart         "<27>[g%w<11>"
    1.37 +    BitmapEnd           "<13>"
    1.38 +EndResources
    1.39 +
    1.40 +Translates Page850ToWindows
    1.41 +	130:44  ! low quotation mark mapped to comma
    1.42 +	131:159 ! italic f
    1.43 +	132:44  ! double low quotation marks mapped to comma
    1.44 +	133:46  ! ellipses mapped to full stop
    1.45 +	134:197 ! Dagger mapped to cross
    1.46 +	135:32  ! Double dagger mapped to space
    1.47 +	136:94  ! mapped to circumflex accent
    1.48 +	137:32	! per mille sign mapped to space
    1.49 +	138:83	! S with caron mapped to S.
    1.50 +	139:60	! single left pointing angle quotation mark
    1.51 +	140:32	! Capital OE ligature mapped to space
    1.52 +	145:39  ! left single quotation mark mapped to apostrophe
    1.53 +	146:39  ! right single quotation mark mapped to apostrophe
    1.54 +	147:34  ! left double quotation mark mapped to quotation mark
    1.55 +	148:34  ! right double quotation mark mapped to quotation mark
    1.56 +	149:254	! bullet
    1.57 +	150:95  ! en-dash
    1.58 +	151:196 ! em-dash horizontal line
    1.59 +   	152:126 ! small tilde mapped to tilde
    1.60 +  	153:169 ! Trademark symbol mapped to (R)
    1.61 +  	154:115 ! s with caron mapped to s
    1.62 + 	155:62	! single right pointing angle quotation mark mapped to double
    1.63 +	156:32	! small oe ligature	mapped to space
    1.64 +	159:89	! Y with diaeresis mapped to Y
    1.65 +	160:32  ! no-break space mapped to space
    1.66 +	161:173	! Inverted excl. mark
    1.67 +	162:99	! cent sign mapped to c
    1.68 +	163:156	! Pound sign
    1.69 +	164:207	! currency symbol
    1.70 +	165:190	! Yen symbol
    1.71 +	166:124	! Vertical bar
    1.72 +	167:245 ! 
    1.73 +	168:249	! diaeresis
    1.74 +	169:184	! Copyright symbol
    1.75 +	170:166	! Feminine ordinal indicator
    1.76 +	171:174 ! Double left arrow
    1.77 +	172:170 !
    1.78 +	173:240	! Soft hyphen
    1.79 +	174:169	! Registered sign
    1.80 +	175:238	! Macron
    1.81 +	176:248 ! Superscript o
    1.82 +	177:241 ! Plus-minus
    1.83 +	178:253 ! Superscript 2
    1.84 +	179:252	! Superscript 3 
    1.85 +	180:239	! Acute accent
    1.86 +	181:230	! Micro sign
    1.87 +	182:244 ! Pilcrow sign
    1.88 +	183:250	! Middle dot
    1.89 +	184:247	! Cedilla  
    1.90 +	185:251	! Superscript 1
    1.91 +	186:248 ! Superscript o
    1.92 +	187:175 ! Double right arrow
    1.93 +	188:172 ! quarter
    1.94 +	189:171 ! half
    1.95 +	190:243	! Three quarters
    1.96 +	191:168 ! Inverted question mark
    1.97 +	192:183	! A grave
    1.98 +	193:181	! A acute 
    1.99 +	194:182	! A circumflex
   1.100 +	195:199	! A tilde 
   1.101 +	196:142 ! A diaresis
   1.102 +	197:143 ! A with superscript o
   1.103 +	198:146 ! AE
   1.104 +	199:128 ! C cedilla
   1.105 +	200:212	! E grave
   1.106 +	201:144	! E acute
   1.107 +	202:210 ! E circumflex
   1.108 +	203:211 ! E diaresis
   1.109 +	204:73	! I grave mapped to I
   1.110 +	205:214	! I acute 
   1.111 +	206:215	! I circumflex
   1.112 +	207:216	! I diaeresis
   1.113 +	208:209	! 
   1.114 +	209:165 ! N with tilde
   1.115 +	210:227	! O grave
   1.116 +	211:224	! O acute
   1.117 +	212:226	! O circumflex
   1.118 +	213:229	! O tilde
   1.119 +	214:153 ! O diaresis
   1.120 +	215:158	! Multiplication sign
   1.121 +	216:157	! O with stroke
   1.122 +	217:235	! U with grave
   1.123 +	218:233	! U acute
   1.124 +	219:234	! U circumflex
   1.125 +	220:154	! U diaresis
   1.126 +	221:237	! Y acute
   1.127 +	222:232	! Capital thorn
   1.128 +	223:"<27>[T<4><0><0><0><03><95><225><27>[T<4><0><0><0><03><82>" ! small sharp S
   1.129 +	224:133 ! a grave
   1.130 +	225:160 ! a acute
   1.131 +	226:131 ! a circumflex
   1.132 +	227:198	! a tilde
   1.133 +	228:132 ! a diaresis
   1.134 +	229:134 ! a superscript o
   1.135 +	230:145 ! ae
   1.136 +	231:135 ! c circumflex
   1.137 +	232:138 ! e grave
   1.138 +	233:130 ! e acute
   1.139 +	234:136 ! e circumflex
   1.140 +	235:137 ! e diaresis
   1.141 +	236:141 ! i grave
   1.142 +	237:161 ! i acute
   1.143 +	238:140 ! i circumflex
   1.144 +	239:139 ! i diaresis
   1.145 +	240:208	! Small letter eth
   1.146 +	241:164 ! n tilde
   1.147 +	242:149 ! o grave
   1.148 +	243:162 ! o acute
   1.149 +	244:147 ! o circumflex
   1.150 +	245:228	! o tilde
   1.151 +	246:148 ! o diaresis
   1.152 +	247:246 ! divide sign
   1.153 +	248:155 ! Small o with stroke
   1.154 +	249:151 ! u grave
   1.155 +	250:163 ! u acute
   1.156 +	251:150 ! u circumflex
   1.157 +	252:129 ! u diaresis
   1.158 +	253:236	! y acute
   1.159 +	254:231	! small letter thorn
   1.160 +	255:152 ! y diaresis
   1.161 +  EndTranslates
   1.162 +
   1.163 +FontInfo CourierC12
   1.164 +    MaxNormalCharWidth 11
   1.165 +    Ascent 29
   1.166 +    CodeSection 0:255
   1.167 +	0:11
   1.168 +    EndCodeSection
   1.169 +EndFontInfo
   1.170 +
   1.171 +FontInfo Courier12
   1.172 +    MaxNormalCharWidth 18
   1.173 +    Ascent 29
   1.174 +    CodeSection 0:255
   1.175 +	0:18
   1.176 +    EndCodeSection
   1.177 +EndFontInfo
   1.178 +
   1.179 +FontInfo Courier24
   1.180 +    MaxNormalCharWidth 36
   1.181 +    Ascent 58
   1.182 +    CodeSection 0:255
   1.183 +	0:36
   1.184 +    EndCodeSection
   1.185 +EndFontInfo
   1.186 +
   1.187 +FontInfo Prestige10
   1.188 +    MaxNormalCharWidth 15
   1.189 +    Ascent 15
   1.190 +    CodeSection 0:255
   1.191 +	0:15
   1.192 +    EndCodeSection
   1.193 +EndFontInfo
   1.194 +
   1.195 +FontInfo Prestige20
   1.196 +    MaxNormalCharWidth 30
   1.197 +    Ascent 30
   1.198 +    CodeSection 0:255
   1.199 +	0:30
   1.200 +    EndCodeSection
   1.201 +EndFontInfo
   1.202 +
   1.203 +TypefaceFonts Courier
   1.204 +    Name "Courier" Serif
   1.205 +    Translates Page850ToWindows
   1.206 +    FontHeight
   1.207 +	Height     240
   1.208 +	Normal     Courier12
   1.209 +	Bold       Courier12
   1.210 +	Italic     Courier12
   1.211 +	BoldItalic Courier12
   1.212 +	Command "<27>I<02><27>[@<04><00><00><00><01><01>"
   1.213 +	EndFontHeight 
   1.214 +    FontHeight
   1.215 +	Height     480
   1.216 +	Normal     Courier24
   1.217 +	Bold       Courier24
   1.218 +	Italic     Courier24
   1.219 +	BoldItalic Courier24
   1.220 +	Command "<27>I<02><27>[@<04><00><00><00><02><02>"
   1.221 +    EndFontHeight
   1.222 +EndTypefaceFonts
   1.223 +
   1.224 +TypefaceFonts CourierCompressed
   1.225 +    Name "Courier (compressed)" Serif
   1.226 +    Translates Page850ToWindows
   1.227 +    FontHeight
   1.228 +	Height     200
   1.229 +	Normal     CourierC12
   1.230 +	Bold       CourierC12
   1.231 +	Italic     CourierC12
   1.232 +	BoldItalic CourierC12
   1.233 +	Command "<27>I<18><27>[@<04><00><00><00><01><01>"
   1.234 +    EndFontHeight
   1.235 +EndTypefaceFonts
   1.236 +
   1.237 +TypefaceFonts Prestige
   1.238 +    Name "Prestige" 
   1.239 +    Translates  Page850ToWindows
   1.240 +    FontHeight
   1.241 +	Height     200
   1.242 +	Normal     Prestige10
   1.243 +	Bold       Prestige10
   1.244 +	Italic     Prestige10
   1.245 +	BoldItalic Prestige10
   1.246 +	Command  "<27>I<10><27>[@<04><00><00><00><01><01>"
   1.247 +    EndFontHeight
   1.248 +    FontHeight
   1.249 +	Height     400
   1.250 +	Normal     Prestige20
   1.251 +	Bold       Prestige20
   1.252 +	Italic     Prestige20
   1.253 +	BoldItalic Prestige20
   1.254 +	Command  "<27>I<10><27>[@<04><00><00><00><02><02>"
   1.255 +    EndFontHeight
   1.256 +EndTypefaceFonts
   1.257 +
   1.258 +Model CanonBubblejetBJ
   1.259 +    Name "Canon Bubblejet (BJ mode)" RequiresPrinterPort
   1.260 +	Uid 268438803
   1.261 +    Flags 1 
   1.262 +! Landscape not available
   1.263 +    Resources CanonResources
   1.264 +    KPixelWidth 8000   
   1.265 +! Twips = 180 dots per inch
   1.266 +    KPixelHeight 8000
   1.267 +! Twips = 180 dots per inch
   1.268 +	PortraitOffset  23 90
   1.269 +	LandscapeOffset 23 90 
   1.270 +    MinMarginLeft   23
   1.271 +    MinMarginRight  23
   1.272 +    MinMarginTop    90
   1.273 +    MinMarginBottom 90
   1.274 +    DisplayMode   Gray2
   1.275 +    TypefaceFontss
   1.276 +	Courier
   1.277 +	CourierCompressed
   1.278 +	Prestige
   1.279 +    EndTypefaceFontss
   1.280 +EndModel
   1.281 +
   1.282 +PdrStoreFile
   1.283 +    PDLName		"Canon"
   1.284 +	PDLUid 		268438802
   1.285 +    Models
   1.286 +	CanonBubblejetBJ
   1.287 +    EndModels
   1.288 +EndPdrStoreFile