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