canon IR2025i without PS

andreas moroder andreas.moroder at sb-brixen.it
Fri May 23 05:52:08 PDT 2008


> Hello,
>
> this week we get a load of canon IR2025i without PS. I would like to print via samba/cups. I did not find this printer on linuxprinting.org.
> On the canon site I found a installation script for mac that contains a PPD file for this printer model.
>
> Can I use this PPD file even if the printer has no installed postscript module ?
>
> Thanks
> Andreas

Hello,

at canon I have found drivers for linux.
Included in this driver package are pdd ( and ppd ) for the 2025 series.

The first line contains *PDD-Pipeline: "1.0" and cups does not like it
I changed it to *PPD-Adobe: "4.3"
In this configuration cups does accept the file but prints postscript

I tried to add this lines
*cupsVersion:      1.1
*cupsManualCopies: True
*cupsFilter:       "application/vnd.cups-postscript 0 foomatic-rip"

but it continues to print postscript.

Can anyone please tell me how to change the file to print to the PCL printer ?

Thank you very much
Andreas

Here the original file:


*PDD-Pipeline: "1.0"
*% SIC International Printer Description File
*% Copyright 2007 SIC International
*% All Rights Reserved.
*% Permission is granted for redistribution of this file as
*% long as this copyright notice is intact and the contents
*% of the file is not altered in any way from its original form.
*% End of Copyright statement for Canon iR1600 Printer.
*% Copyright CANON INC. 2006
*%
*%  @(#)cnir25g1.pdd    1.13         10:55:00 06/02/02
*%
*%
*FormatVersion: "4.3"
*FileVersion: "1.13"
*LanguageEncoding: ISOLatin1
*LanguageVersion: German
*Manufacturer: "Canon"
*PCFileName: "CNIR25G1.PDD"
*Product: "(Canon iR2025-2030)"
*PSVersion: "(3015.101) 112"
*ModelName: "Canon iR2025-2030 PCL"
*ShortNickName: "Canon iR2025-2030 PCL"
*NickName: "Canon iR2025-2030 PCL"


*% ====================================
*% === Options and Constraints =========

*OpenGroup: InstallableOptions/Options Installed

*% ====================================
*% ===== Optional input trays
*%
*BeginUI *Option1/Optionale Kassetteneinzug: PickOne
*DefaultOption1: None
*Option1 None/Nicht installiert: ""
*Option1 ExtraTray1/Kassette 250 sheets: ""
*Option1 ExtraTray2/Kassette 250 sheets x 2: ""
*Option1 ExtraTray3/Kassette 250 sheets x 3: ""
*EndUI: *Option1

*% ====================================
*% ===== Optional finisher
*%
*BeginUI *Option2/Finisher Module: PickOne
*DefaultOption2: None
*Option2 None/Nicht installiert: ""
*Option2 FinishU2Min/Finisher U2 ohne 2-Wege-Fach: ""
*Option2 FinishU2Plus/Finisher U2 mit 2-Wege-Fach: ""
*Option2 FinishC1/2-Wege-Fach C1: ""
*EndUI: *Option2

*CloseGroup: InstallableOptions


*% ====================================
*% ==== Option/Feature constraints ====

*% ====================================
*% ===== If Optional input trays
*% ===== not installed, cant select trays
*%
*UIConstraints: *Option1 None        *InputSlot Tray2
*UIConstraints: *Option1 None        *InputSlot Tray3
*UIConstraints: *Option1 None        *InputSlot Tray4
*UIConstraints: *InputSlot Tray2     *Option1 None
*UIConstraints: *InputSlot Tray3     *Option1 None
*UIConstraints: *InputSlot Tray4     *Option1 None
*UIConstraints: *Option1 ExtraTray1  *InputSlot Tray3
*UIConstraints: *Option1 ExtraTray1  *InputSlot Tray4
*UIConstraints: *InputSlot Tray3     *Option1 ExtraTray1
*UIConstraints: *InputSlot Tray4     *Option1 ExtraTray1
*UIConstraints: *Option1 ExtraTray2  *InputSlot Tray4
*UIConstraints: *InputSlot Tray4     *Option1 ExtraTray2


*% ====================================
*% === Paper size / input slot constraints ===
*% ====================================
*% Only MPT supports Briefumschlag B5-ISO env.
*%
*UIConstraints: *PageSize EnvISOB5 *InputSlot Tray1
*UIConstraints: *PageSize EnvISOB5 *InputSlot Tray2
*UIConstraints: *PageSize EnvISOB5 *InputSlot Tray3
*UIConstraints: *PageSize EnvISOB5 *InputSlot Tray4
*UIConstraints: *InputSlot Tray1 *PageSize EnvISOB5
*UIConstraints: *InputSlot Tray2 *PageSize EnvISOB5
*UIConstraints: *InputSlot Tray3 *PageSize EnvISOB5
*UIConstraints: *InputSlot Tray4 *PageSize EnvISOB5

*% ====================================
*% Only MPT supports Monarch env.
*%
*UIConstraints: *PageSize EnvMonarch *InputSlot Tray1
*UIConstraints: *PageSize EnvMonarch *InputSlot Tray2
*UIConstraints: *PageSize EnvMonarch *InputSlot Tray3
*UIConstraints: *PageSize EnvMonarch *InputSlot Tray4
*UIConstraints: *InputSlot Tray1 *PageSize EnvMonarch
*UIConstraints: *InputSlot Tray2 *PageSize EnvMonarch
*UIConstraints: *InputSlot Tray3 *PageSize EnvMonarch
*UIConstraints: *InputSlot Tray4 *PageSize EnvMonarch

*% ====================================
*% Only MPT supports Comm10 env.
*%
*UIConstraints: *PageSize Env10 *InputSlot Tray1
*UIConstraints: *PageSize Env10 *InputSlot Tray2
*UIConstraints: *PageSize Env10 *InputSlot Tray3
*UIConstraints: *PageSize Env10 *InputSlot Tray4
*UIConstraints: *InputSlot Tray1 *PageSize Env10
*UIConstraints: *InputSlot Tray2 *PageSize Env10
*UIConstraints: *InputSlot Tray3 *PageSize Env10
*UIConstraints: *InputSlot Tray4 *PageSize Env10

*% ====================================
*% Only MPT and Env support C5 env.
*%
*UIConstraints: *PageSize EnvC5 *InputSlot Tray1
*UIConstraints: *PageSize EnvC5 *InputSlot Tray2
*UIConstraints: *PageSize EnvC5 *InputSlot Tray3
*UIConstraints: *PageSize EnvC5 *InputSlot Tray4
*UIConstraints: *InputSlot Tray1 *PageSize EnvC5
*UIConstraints: *InputSlot Tray2 *PageSize EnvC5
*UIConstraints: *InputSlot Tray3 *PageSize EnvC5
*UIConstraints: *InputSlot Tray4 *PageSize EnvC5

*% ====================================
*% Only MPT and Env support DL env.

*UIConstraints: *PageSize EnvDL *InputSlot Tray1
*UIConstraints: *PageSize EnvDL *InputSlot Tray2
*UIConstraints: *PageSize EnvDL *InputSlot Tray3
*UIConstraints: *PageSize EnvDL *InputSlot Tray4
*UIConstraints: *InputSlot Tray1 *PageSize EnvDL
*UIConstraints: *InputSlot Tray2 *PageSize EnvDL
*UIConstraints: *InputSlot Tray3 *PageSize EnvDL
*UIConstraints: *InputSlot Tray4 *PageSize EnvDL

*% ====================================
*% === end paper size / input slot constraints ===

*% ====================================
*% === media type constraints ===

*% ====================================
*% Only MPT supports heavy media.
*%
*UIConstraints: *InputSlot Tray1 *MediaType TRANSPARENCY
*UIConstraints: *InputSlot Tray1 *MediaType LABEL
*UIConstraints: *InputSlot Tray1 *MediaType ENVELOPE
*UIConstraints: *InputSlot Tray2 *MediaType TRANSPARENCY
*UIConstraints: *InputSlot Tray2 *MediaType LABEL
*UIConstraints: *InputSlot Tray2 *MediaType ENVELOPE
*UIConstraints: *InputSlot Tray3 *MediaType TRANSPARENCY
*UIConstraints: *InputSlot Tray3 *MediaType LABEL
*UIConstraints: *InputSlot Tray3 *MediaType ENVELOPE
*UIConstraints: *InputSlot Tray4 *MediaType TRANSPARENCY
*UIConstraints: *InputSlot Tray4 *MediaType LABEL
*UIConstraints: *InputSlot Tray4 *MediaType ENVELOPE
*UIConstraints: *MediaType TRANSPARENCY *InputSlot Tray1
*UIConstraints: *MediaType LABEL *InputSlot Tray1
*UIConstraints: *MediaType ENVELOPE *InputSlot Tray1
*UIConstraints: *MediaType TRANSPARENCY *InputSlot Tray2
*UIConstraints: *MediaType LABEL *InputSlot Tray2
*UIConstraints: *MediaType ENVELOPE *InputSlot Tray2
*UIConstraints: *MediaType TRANSPARENCY *InputSlot Tray3
*UIConstraints: *MediaType LABEL *InputSlot Tray3
*UIConstraints: *MediaType ENVELOPE *InputSlot Tray3
*UIConstraints: *MediaType TRANSPARENCY *InputSlot Tray4
*UIConstraints: *MediaType LABEL *InputSlot Tray4
*UIConstraints: *MediaType ENVELOPE *InputSlot Tray4

*% === end media type constraints ===

*% ====================================
*% If Finisher not installed, can't staple.
*%
*UIConstraints: *Option2 None     *Staple
*UIConstraints: *Staple           *Option2 None
*UIConstraints: *Option2 FinishC1 *Staple
*UIConstraints: *Staple           *Option2 FinishC1

*% ====================================
*% Collate must always be true if staple is enabled.
*%
*UIConstraints: *CNCollate False *Staple 1PLU
*UIConstraints: *CNCollate False *Staple 1PRU
*UIConstraints: *CNCollate False *Staple 1PRB
*UIConstraints: *CNCollate False *Staple 1PLB
*UIConstraints: *Staple 1PLU *CNCollate False
*UIConstraints: *Staple 1PRU *CNCollate False
*UIConstraints: *Staple 1PRB *CNCollate False
*UIConstraints: *Staple 1PLB *CNCollate False


*% ====================================
*% If Output Tray not installed, can't select
*%

*UIConstraints: *Option2 None        *CNOutput TrayALow
*UIConstraints: *Option2 None        *CNOutput TrayBUp
*UIConstraints: *CNOutput TrayALow   *Option2 None
*UIConstraints: *CNOutput TrayBUp    *Option2 None
*UIConstraints: *Option2 FinishU2Min *CNOutput TrayALow
*UIConstraints: *Option2 FinishU2Min *CNOutput TrayBUp
*UIConstraints: *CNOutput TrayALow   *Option2 FinishU2Min
*UIConstraints: *CNOutput TrayBUp    *Option2 FinishU2Min

*% ====================================
*% Page Size A3 supports only lower left staple
*%
*UIConstraints: *PageSize A3  *Staple 1PLU
*UIConstraints: *PageSize A3  *Staple 1PRU
*UIConstraints: *PageSize A3  *Staple 1PRB
*UIConstraints: *Staple 1PLU  *PageSize A3
*UIConstraints: *Staple 1PRU  *PageSize A3
*UIConstraints: *Staple 1PRB  *PageSize A3

*% ====================================

*% ====================================
*% ==== Device Capabilities ===========
*%
*LanguageLevel: "3"
*Protocols: PJL TBCP

*ColorDevice: False
*DefaultColorSpace: Gray

*TTRasterizer: Type42

*% ====================================
*% Optional flash rom is treated like a disk.
*%
*FileSystem: True
*Throughput: "32"

*OpenGroup: Features

*% === Duplex options ============
*BeginUI *Duplex/Duplex: PickOne
*OrderDependency: 50.0 AnySetup *Duplex
*DefaultDuplex: None
*Duplex None/Aus:                   "SICDuplex 0"
*Duplex DuplexNoTumble/Lange Seite: "SICDuplex 1"
*Duplex DuplexTumble/Kurze Seite:   "SICDuplex 2"
*EndUI: *Duplex

*% ====================================
*% === Input options  ============
*%
*BeginUI *InputSlot: PickOne
*OrderDependency: 20.1 AnySetup *InputSlot
*DefaultInputSlot: Tray1
*% tray names:
*% Tray1 = Drawer1
*% Tray2 = Drawer2
*% Tray3 = Drawer3
*% Tray4 = Drawer4
*InputSlot Auto/Automatische Auswahl:  "SICInputSlot 7"
*InputSlot Tray1/Einzug 1:             "SICInputSlot 1"
*InputSlot Tray2/Einzug 2:             "SICInputSlot 4"
*InputSlot Tray3/Einzug 3:             "SICInputSlot 5"
*InputSlot Tray4/Einzug 4:             "SICInputSlot 20"
*InputSlot StackBypass/Stapelanlage:   "SICInputSlot 2"
*EndUI: *InputSlot

*% ====================================
*% === Output options ============

*% ====================================
*% ===== Collation selection
*% Feature is not documented as far as we know...!
*%
*BeginUI *CNCollate/Gruppieren: Boolean
*OrderDependency: 25.0 AnySetup *CNCollate
*DefaultCNCollate: False
*CNCollate False/Aus: "@PJL COMMENT CANPJL SET SORTERMODE=GENERICOFF"
*CNCollate True/Ein:  "@PJL COMMENT CANPJL SET SORTERMODE=GENERICON"
*EndUI: *CNCollate

*% === Economode options ============
*BeginUI *CNEconomode/Toner sparen: Boolean
*OrderDependency: 51.0 AnySetup *CNEconomode
*DefaultCNEconomode: False
*CNEconomode False/Aus: "@PJL COMMENT CANPJL SET TONERREDUCTION = GENERICOFF"
*CNEconomode True/Ein:  "@PJL COMMENT CANPJL SET TONERREDUCTION = GENERICON"
*EndUI: *CNEconomode
*%
*% === Image Refinement options ============
*BeginUI *CNImageRefinement/Bildverbesserung: Boolean
*OrderDependency: 50.0 AnySetup *CNImageRefinement
*DefaultCNImageRefinement: True
*CNImageRefinement False/Aus: "@PJL COMMENT CANPJL SET REFINE = GENERICOFF"
*CNImageRefinement True/Ein:  "@PJL COMMENT CANPJL SET REFINE = GENERICON"
*EndUI: *CNImageRefinement

*% === Staple options ============
*%
*BeginUI *Staple/Heftposition: PickOne
*OrderDependency: 50.0 AnySetup *Staple
*DefaultStaple: None
*Staple None/Aus:                        "@PJL COMMENT CANPJL SET STAPLE=GENERICOFF"
*Staple 1PRU/1 Heften (Hochformat Rechts Oben/Querformat Rechts Unten): "@PJL COMMENT CANPJL SET SORTERMODE=GENERICON
@PJL COMMENT CANPJL SET STAPLE=ONEUPRIGHT"
*End
*Staple 1PLU/1 Heften (Hochformat Links Oben/Querformat Rechts Oben): "@PJL COMMENT CANPJL SET SORTERMODE=GENERICON
@PJL COMMENT CANPJL SET STAPLE=ONEUPLEFT"
*End
*Staple 1PRB/1 Heften (Hochformat Rechts Unten/Querformat Links Unten): "@PJL COMMENT CANPJL SET SORTERMODE=GENERICON
@PJL COMMENT CANPJL SET STAPLE=ONELOWRIGHT"
*End
*Staple 1PLB/1 Heften (Hochformat Links Unten/Querformat Links Oben): "@PJL COMMENT CANPJL SET SORTERMODE=GENERICON
@PJL COMMENT CANPJL SET STAPLE=ONELOWLEFT"
*End
*EndUI: *Staple

*% === Paper Output options ============
*BeginUI *CNOutput/Papierausgabe: PickOne
*OrderDependency: 50.0 AnySetup *CNOutput
*DefaultCNOutput: Auto
*CNOutput Auto/Automatisch: "@PJL COMMENT OUTBIN=AUTO"
*CNOutput TrayALow/Fach A (unten) Zusatzausgabefach: "@PJL SET OUTBIN=LOWER"
*CNOutput TrayBUp/Fach B (oben) Zusatzausgabefach:   "@PJL SET OUTBIN=UPPER"
*EndUI: *CNOutput


*% ====================================
*% ===== Media type selection
*%
*BeginUI *MediaType/Papiertyp: PickOne
*OrderDependency: 19.4 AnySetup *MediaType
*DefaultMediaType: AUTO
*MediaType AUTO/Druckerstandard:                "SICMediaType -1"
*MediaType PLAIN/Normalpapier:                  "SICMediaType 0"
*MediaType TRANSPR/Folie:              	        "SICMediaType 4"
*MediaType RECYCLED/Recycling-papier:           "SICMediaType 105"
*MediaType COLOR/Farbpapier:                    "SICMediaType 106"
*MediaType LABELS/Etikett:                      "SICMediaType 104"
*MediaType BOND/Bond Papier:                    "SICMediaType 1"
*MediaType PREPUNCHED/Dreier-lochung: 	        "SICMediaType 103"
*EndUI: *MediaType

*% === Wide A4 options ============
*BeginUI *WideMedia/Breit A4: PickOne
*OrderDependency: 50.0 AnySetup *WideMedia
*DefaultWideMedia: Default
*WideMedia Default/Druckerstandard: "@PJL COMMENT DEFAULT_WIDEA4"
*WideMedia Off/Aus:  "@PJL SET WIDEA4=OFF"
*WideMedia On/Ein:   "@PJL SET WIDEA4=ON"
*EndUI: *WideMedia


*CloseGroup: Features

*% Halftone Information ===============
*DefaultHalftoneType: 1
*ScreenFreq: "71.0"
*ScreenAngle: "45.0"
*ResScreenFreq 600dpi: "65.0"
*ResScreenAngle 600dpi: "45.0"
*ResScreenFreq 1200dpi: "71.0"
*ResScreenAngle 1200dpi: "45.0"

*DefaultScreenProc: Dot

*DefaultResolution: 600dpi

*DefaultTransfer: Null
*DefaultGuaranteedMaxSeparations: 1
*GuaranteedMaxSeparations 1: ""

*% ====================================
*% Paper Handling =====================
*%

*% ====================================
*% Custom Page Size ===================
*%
*NonUIOrderDependency: 80.3 AnySetup *CustomPageSize
*MaxMediaWidth: "841"
*MaxMediaHeight: "1224"
*CenterRegistered: True
*HWMargins: 12 12 12 12
*LeadingEdge Short: ""
*DefaultLeadingEdge: Short
*VariablePaperSize: True
*ParamCustomPageSize Width: 1 points 278 841
*ParamCustomPageSize Height: 2 points 420 1224
*ParamCustomPageSize WidthOffset: 3 points 0 0
*ParamCustomPageSize HeightOffset: 4 points 0 0
*ParamCustomPageSize Orientation: 5 int 0 3

*% ====================================
*% == Current Adobe drivers do not handle NonUIConstraints.
*% == They effectively do nothing

*% ====================================
*% Only the MPT supports custom page sizes.
*%
*%NonUIConstraints: *InputSlot Tray1 *CustomPageSize True
*%NonUIConstraints: *InputSlot Tray2 *CustomPageSize True
*%NonUIConstraints: *InputSlot Tray3 *CustomPageSize True
*%NonUIConstraints: *InputSlot Tray4 *CustomPageSize True
*%NonUIConstraints: *CustomPageSize True *InputSlot Tray1
*%NonUIConstraints: *CustomPageSize True *InputSlot Tray2
*%NonUIConstraints: *CustomPageSize True *InputSlot Tray3
*%NonUIConstraints: *CustomPageSize True *InputSlot Tray4

*% =========================1G===========

*% end Custom Page Size ===============


*% ====================================
*% ===== PageSize selections
*%
*BeginUI *PageSize: PickOne
*OrderDependency: 19.0 AnySetup *PageSize
*DefaultPageSize: A4
*%
*PageSize Letter/Letter:                  "SICPageSize  2"
*PageSize Legal/Legal:                    "SICPageSize  3"
*PageSize A3/A3:                          "SICPageSize  27"
*PageSize A4/A4:                          "SICPageSize  26"
*PageSize A5/A5:                          "SICPageSize  25"
*PageSize B4/B4-JIS:                      "SICPageSize  46"
*PageSize B5/B5-JIS:                      "SICPageSize  45"
*PageSize EnvISOB5/Briefumschlag B5-ISO:  "SICPageSize  100"
*PageSize Tabloid/11x17:                  "SICPageSize  6"
*PageSize Env10/Briefumschlag Comm10:     "SICPageSize  81"
*PageSize EnvC5/Briefumschlag CS:         "SICPageSize  91"
*PageSize EnvDL/Briefumschlag DL:         "SICPageSize  90"
*PageSize EnvMonarch/Briefumschlag Monarch: "SICPageSize  80"
*PageSize Statement/Statement:            "SICPageSize  11"
*EndUI: *PageSize

*% ====================================
*% The following entries provide information about specific paper keywords.
*%
*DefaultImageableArea: A4

*% ====================================
*% ImageableArea.
*ImageableArea Letter/Letter:               "12.1779 11.9379 599.698 779.938"
*ImageableArea Legal/Legal:                 "12.1779 11.458 599.698 996.778"
*ImageableArea A3/A3:                       "11.9379 11.3979 829.858 1179.24"
*ImageableArea A4/A4:                       "11.3379 11.9379 583.858 829.858"
*ImageableArea A5/A5:                       "11.398 11.4579 409.558 583.618"
*ImageableArea B4/B4-JIS:                   "12.7779 11.458 715.498 1020.54"
*ImageableArea B5/B5-JIS:                   "12.1779 12.7779 503.698 715.498"
*ImageableArea EnvISOB5/Briefumschlag B5-ISO:    "11.3379 11.3979 487.498 697.318"
*ImageableArea Tabloid/11x17:               "11.9379 11.4579 779.938 1212.78"
*ImageableArea Env10/Briefumschlag Comm10:       "12.1779 11.4579 284.818 672.778"
*ImageableArea EnvC5/Briefumschlag CS:           "12.5379 11.3979 446.458 637.798"
*ImageableArea EnvDL/Briefumschlag DL:           "11.818 11.4579 299.818 612.298"
*ImageableArea EnvMonarch/Briefumschlag Monarch: "12.7779 11.4579 266.218 528.778"
*ImageableArea Statement/Statement:         "11.3379 12.1779 384.658 599.698"

*% ====================================
*% These provide the physical dimensions of the paper by keyword
*%
*DefaultPaperDimension: A4
*PaperDimension Letter/Letter: "612 792"
*PaperDimension Legal/Legal: "612 1008"
*PaperDimension A3/A3: "842 1191"
*PaperDimension A4/A4: "595 842"
*PaperDimension A5/A5: "420 595"
*PaperDimension B4/B4-JIS: "729 1032"
*PaperDimension B5/B5-JIS: "516 729"
*PaperDimension EnvISOB5/Briefumschlag B5-ISO: "499 709"
*PaperDimension Tabloid/11x17: "792 1224"
*PaperDimension Env10/Briefumschlag Comm10: "297 684"
*PaperDimension EnvC5/Briefumschlag CS: "459 649"
*PaperDimension EnvDL/Briefumschlag DL: "312 624"
*PaperDimension EnvMonarch/Briefumschlag Monarch: "279 540"
*PaperDimension Statement/Statement: "396 612"

*% Halftone Information ===============

*% ====================================
*% Font Information ===================
*% =====================================================================
*% ==== PDD file revision number, date, and time stamp.  This must ====
*% ==== remain here and be updated each time this file is modified. ====
*%
*%    File:             Revision:      Time/Date:
*%
*%  @(#)cnir25g1.pdd    1.13          10:55:00 06/02/02
*%
*% Last Edit Date: May 30, 2002
*% end of PDD file for Canon iR2018








More information about the cups mailing list