os/graphics/printingservices/printerdrivers/canon/CANON.PD
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
! CANON.PD
sl@0
     2
! Printer driver file for Canon Bubblejet printers
sl@0
     3
sl@0
     4
Resources CanonResources
sl@0
     5
	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>"
sl@0
     6
sl@0
     7
! set n/360 graphics line spacing mode
sl@0
     8
! Set code page 850
sl@0
     9
! Set character set 2
sl@0
    10
! Set 1/8 inch line spacing
sl@0
    11
! Set page length in  lines
sl@0
    12
! Set to top line of page
sl@0
    13
! Set graphics line spacing delta to 170/216
sl@0
    14
    SetPageSize         "<27>X<00><00><27>C<00>%c"
sl@0
    15
    PreAmble            ""
sl@0
    16
! Set left/right margin to 0
sl@0
    17
! size using the values in the model.
sl@0
    18
    PostAmble           "<12><27>[K<01><00><00>"
sl@0
    19
! Form feeds then resets printer to user defined settings
sl@0
    20
    BoldOn              "<27>G"
sl@0
    21
    BoldOff             "<27>H"
sl@0
    22
    ItalicOn            ""
sl@0
    23
    ItalicOff           ""
sl@0
    24
    UnderlineOn         "<27>-<01>"
sl@0
    25
    UnderlineOff        "<27>-<00>"
sl@0
    26
    StrikethroughOn     "<27>-<01>"
sl@0
    27
    StrikethroughOff    "<27>-<01>"
sl@0
    28
    NewPage             "<12><10>"
sl@0
    29
    IncrementXPos       "<27>d%w"
sl@0
    30
!Increments in n/120 inch-max is 255/120   
sl@0
    31
    IncrementYPos       "<27>J%c"
sl@0
    32
    CarriageReturn      "<13>" 
sl@0
    33
    BitmapStart         "<27>[g%w<11>"
sl@0
    34
    BitmapEnd           "<13>"
sl@0
    35
EndResources
sl@0
    36
sl@0
    37
Translates Page850ToWindows
sl@0
    38
	130:44  ! low quotation mark mapped to comma
sl@0
    39
	131:159 ! italic f
sl@0
    40
	132:44  ! double low quotation marks mapped to comma
sl@0
    41
	133:46  ! ellipses mapped to full stop
sl@0
    42
	134:197 ! Dagger mapped to cross
sl@0
    43
	135:32  ! Double dagger mapped to space
sl@0
    44
	136:94  ! mapped to circumflex accent
sl@0
    45
	137:32	! per mille sign mapped to space
sl@0
    46
	138:83	! S with caron mapped to S.
sl@0
    47
	139:60	! single left pointing angle quotation mark
sl@0
    48
	140:32	! Capital OE ligature mapped to space
sl@0
    49
	145:39  ! left single quotation mark mapped to apostrophe
sl@0
    50
	146:39  ! right single quotation mark mapped to apostrophe
sl@0
    51
	147:34  ! left double quotation mark mapped to quotation mark
sl@0
    52
	148:34  ! right double quotation mark mapped to quotation mark
sl@0
    53
	149:254	! bullet
sl@0
    54
	150:95  ! en-dash
sl@0
    55
	151:196 ! em-dash horizontal line
sl@0
    56
   	152:126 ! small tilde mapped to tilde
sl@0
    57
  	153:169 ! Trademark symbol mapped to (R)
sl@0
    58
  	154:115 ! s with caron mapped to s
sl@0
    59
 	155:62	! single right pointing angle quotation mark mapped to double
sl@0
    60
	156:32	! small oe ligature	mapped to space
sl@0
    61
	159:89	! Y with diaeresis mapped to Y
sl@0
    62
	160:32  ! no-break space mapped to space
sl@0
    63
	161:173	! Inverted excl. mark
sl@0
    64
	162:99	! cent sign mapped to c
sl@0
    65
	163:156	! Pound sign
sl@0
    66
	164:207	! currency symbol
sl@0
    67
	165:190	! Yen symbol
sl@0
    68
	166:124	! Vertical bar
sl@0
    69
	167:245 ! 
sl@0
    70
	168:249	! diaeresis
sl@0
    71
	169:184	! Copyright symbol
sl@0
    72
	170:166	! Feminine ordinal indicator
sl@0
    73
	171:174 ! Double left arrow
sl@0
    74
	172:170 !
sl@0
    75
	173:240	! Soft hyphen
sl@0
    76
	174:169	! Registered sign
sl@0
    77
	175:238	! Macron
sl@0
    78
	176:248 ! Superscript o
sl@0
    79
	177:241 ! Plus-minus
sl@0
    80
	178:253 ! Superscript 2
sl@0
    81
	179:252	! Superscript 3 
sl@0
    82
	180:239	! Acute accent
sl@0
    83
	181:230	! Micro sign
sl@0
    84
	182:244 ! Pilcrow sign
sl@0
    85
	183:250	! Middle dot
sl@0
    86
	184:247	! Cedilla  
sl@0
    87
	185:251	! Superscript 1
sl@0
    88
	186:248 ! Superscript o
sl@0
    89
	187:175 ! Double right arrow
sl@0
    90
	188:172 ! quarter
sl@0
    91
	189:171 ! half
sl@0
    92
	190:243	! Three quarters
sl@0
    93
	191:168 ! Inverted question mark
sl@0
    94
	192:183	! A grave
sl@0
    95
	193:181	! A acute 
sl@0
    96
	194:182	! A circumflex
sl@0
    97
	195:199	! A tilde 
sl@0
    98
	196:142 ! A diaresis
sl@0
    99
	197:143 ! A with superscript o
sl@0
   100
	198:146 ! AE
sl@0
   101
	199:128 ! C cedilla
sl@0
   102
	200:212	! E grave
sl@0
   103
	201:144	! E acute
sl@0
   104
	202:210 ! E circumflex
sl@0
   105
	203:211 ! E diaresis
sl@0
   106
	204:73	! I grave mapped to I
sl@0
   107
	205:214	! I acute 
sl@0
   108
	206:215	! I circumflex
sl@0
   109
	207:216	! I diaeresis
sl@0
   110
	208:209	! 
sl@0
   111
	209:165 ! N with tilde
sl@0
   112
	210:227	! O grave
sl@0
   113
	211:224	! O acute
sl@0
   114
	212:226	! O circumflex
sl@0
   115
	213:229	! O tilde
sl@0
   116
	214:153 ! O diaresis
sl@0
   117
	215:158	! Multiplication sign
sl@0
   118
	216:157	! O with stroke
sl@0
   119
	217:235	! U with grave
sl@0
   120
	218:233	! U acute
sl@0
   121
	219:234	! U circumflex
sl@0
   122
	220:154	! U diaresis
sl@0
   123
	221:237	! Y acute
sl@0
   124
	222:232	! Capital thorn
sl@0
   125
	223:"<27>[T<4><0><0><0><03><95><225><27>[T<4><0><0><0><03><82>" ! small sharp S
sl@0
   126
	224:133 ! a grave
sl@0
   127
	225:160 ! a acute
sl@0
   128
	226:131 ! a circumflex
sl@0
   129
	227:198	! a tilde
sl@0
   130
	228:132 ! a diaresis
sl@0
   131
	229:134 ! a superscript o
sl@0
   132
	230:145 ! ae
sl@0
   133
	231:135 ! c circumflex
sl@0
   134
	232:138 ! e grave
sl@0
   135
	233:130 ! e acute
sl@0
   136
	234:136 ! e circumflex
sl@0
   137
	235:137 ! e diaresis
sl@0
   138
	236:141 ! i grave
sl@0
   139
	237:161 ! i acute
sl@0
   140
	238:140 ! i circumflex
sl@0
   141
	239:139 ! i diaresis
sl@0
   142
	240:208	! Small letter eth
sl@0
   143
	241:164 ! n tilde
sl@0
   144
	242:149 ! o grave
sl@0
   145
	243:162 ! o acute
sl@0
   146
	244:147 ! o circumflex
sl@0
   147
	245:228	! o tilde
sl@0
   148
	246:148 ! o diaresis
sl@0
   149
	247:246 ! divide sign
sl@0
   150
	248:155 ! Small o with stroke
sl@0
   151
	249:151 ! u grave
sl@0
   152
	250:163 ! u acute
sl@0
   153
	251:150 ! u circumflex
sl@0
   154
	252:129 ! u diaresis
sl@0
   155
	253:236	! y acute
sl@0
   156
	254:231	! small letter thorn
sl@0
   157
	255:152 ! y diaresis
sl@0
   158
  EndTranslates
sl@0
   159
sl@0
   160
FontInfo CourierC12
sl@0
   161
    MaxNormalCharWidth 11
sl@0
   162
    Ascent 29
sl@0
   163
    CodeSection 0:255
sl@0
   164
	0:11
sl@0
   165
    EndCodeSection
sl@0
   166
EndFontInfo
sl@0
   167
sl@0
   168
FontInfo Courier12
sl@0
   169
    MaxNormalCharWidth 18
sl@0
   170
    Ascent 29
sl@0
   171
    CodeSection 0:255
sl@0
   172
	0:18
sl@0
   173
    EndCodeSection
sl@0
   174
EndFontInfo
sl@0
   175
sl@0
   176
FontInfo Courier24
sl@0
   177
    MaxNormalCharWidth 36
sl@0
   178
    Ascent 58
sl@0
   179
    CodeSection 0:255
sl@0
   180
	0:36
sl@0
   181
    EndCodeSection
sl@0
   182
EndFontInfo
sl@0
   183
sl@0
   184
FontInfo Prestige10
sl@0
   185
    MaxNormalCharWidth 15
sl@0
   186
    Ascent 15
sl@0
   187
    CodeSection 0:255
sl@0
   188
	0:15
sl@0
   189
    EndCodeSection
sl@0
   190
EndFontInfo
sl@0
   191
sl@0
   192
FontInfo Prestige20
sl@0
   193
    MaxNormalCharWidth 30
sl@0
   194
    Ascent 30
sl@0
   195
    CodeSection 0:255
sl@0
   196
	0:30
sl@0
   197
    EndCodeSection
sl@0
   198
EndFontInfo
sl@0
   199
sl@0
   200
TypefaceFonts Courier
sl@0
   201
    Name "Courier" Serif
sl@0
   202
    Translates Page850ToWindows
sl@0
   203
    FontHeight
sl@0
   204
	Height     240
sl@0
   205
	Normal     Courier12
sl@0
   206
	Bold       Courier12
sl@0
   207
	Italic     Courier12
sl@0
   208
	BoldItalic Courier12
sl@0
   209
	Command "<27>I<02><27>[@<04><00><00><00><01><01>"
sl@0
   210
	EndFontHeight 
sl@0
   211
    FontHeight
sl@0
   212
	Height     480
sl@0
   213
	Normal     Courier24
sl@0
   214
	Bold       Courier24
sl@0
   215
	Italic     Courier24
sl@0
   216
	BoldItalic Courier24
sl@0
   217
	Command "<27>I<02><27>[@<04><00><00><00><02><02>"
sl@0
   218
    EndFontHeight
sl@0
   219
EndTypefaceFonts
sl@0
   220
sl@0
   221
TypefaceFonts CourierCompressed
sl@0
   222
    Name "Courier (compressed)" Serif
sl@0
   223
    Translates Page850ToWindows
sl@0
   224
    FontHeight
sl@0
   225
	Height     200
sl@0
   226
	Normal     CourierC12
sl@0
   227
	Bold       CourierC12
sl@0
   228
	Italic     CourierC12
sl@0
   229
	BoldItalic CourierC12
sl@0
   230
	Command "<27>I<18><27>[@<04><00><00><00><01><01>"
sl@0
   231
    EndFontHeight
sl@0
   232
EndTypefaceFonts
sl@0
   233
sl@0
   234
TypefaceFonts Prestige
sl@0
   235
    Name "Prestige" 
sl@0
   236
    Translates  Page850ToWindows
sl@0
   237
    FontHeight
sl@0
   238
	Height     200
sl@0
   239
	Normal     Prestige10
sl@0
   240
	Bold       Prestige10
sl@0
   241
	Italic     Prestige10
sl@0
   242
	BoldItalic Prestige10
sl@0
   243
	Command  "<27>I<10><27>[@<04><00><00><00><01><01>"
sl@0
   244
    EndFontHeight
sl@0
   245
    FontHeight
sl@0
   246
	Height     400
sl@0
   247
	Normal     Prestige20
sl@0
   248
	Bold       Prestige20
sl@0
   249
	Italic     Prestige20
sl@0
   250
	BoldItalic Prestige20
sl@0
   251
	Command  "<27>I<10><27>[@<04><00><00><00><02><02>"
sl@0
   252
    EndFontHeight
sl@0
   253
EndTypefaceFonts
sl@0
   254
sl@0
   255
Model CanonBubblejetBJ
sl@0
   256
    Name "Canon Bubblejet (BJ mode)" RequiresPrinterPort
sl@0
   257
	Uid 268438803
sl@0
   258
    Flags 1 
sl@0
   259
! Landscape not available
sl@0
   260
    Resources CanonResources
sl@0
   261
    KPixelWidth 8000   
sl@0
   262
! Twips = 180 dots per inch
sl@0
   263
    KPixelHeight 8000
sl@0
   264
! Twips = 180 dots per inch
sl@0
   265
	PortraitOffset  23 90
sl@0
   266
	LandscapeOffset 23 90 
sl@0
   267
    MinMarginLeft   23
sl@0
   268
    MinMarginRight  23
sl@0
   269
    MinMarginTop    90
sl@0
   270
    MinMarginBottom 90
sl@0
   271
    DisplayMode   Gray2
sl@0
   272
    TypefaceFontss
sl@0
   273
	Courier
sl@0
   274
	CourierCompressed
sl@0
   275
	Prestige
sl@0
   276
    EndTypefaceFontss
sl@0
   277
EndModel
sl@0
   278
sl@0
   279
PdrStoreFile
sl@0
   280
    PDLName		"Canon"
sl@0
   281
	PDLUid 		268438802
sl@0
   282
    Models
sl@0
   283
	CanonBubblejetBJ
sl@0
   284
    EndModels
sl@0
   285
EndPdrStoreFile