Making holes with cups ...
guy roussin
guy.roussin at teledetection.fr
Mon Feb 23 08:04:58 PST 2009
Hi,
I use a canon iR3245. It can make 4 holes.
Works fine with linux but i want to use a lpr command.
I try something like this :
$ lpr -P MyPrinter -o InputSlot=Auto -o PageSize=A4 -o Punch=PL
but the printer don't accept this syntax.
I found "Punch" in the canon driver (cnr3235f1.ppd)
Here some extracts from the driver :
(...)
*% Constraints FinishingOption and Puncher
*UIConstraints: *OptPCU True *OptFIN IN2TRAY
*UIConstraints: *OptFIN IN2TRAY *OptPCU True
*UIConstraints: *OptPCU True *OptFIN None
*UIConstraints: *OptFIN None *OptPCU True
*UIConstraints: *Punch PL *OptPCU False
*UIConstraints: *OptPCU False *Punch PL
*UIConstraints: *Punch PR *OptPCU False
*UIConstraints: *OptPCU False *Punch PR
*UIConstraints: *Punch PU *OptPCU False
*UIConstraints: *OptPCU False *Punch PU
*UIConstraints: *Punch PB *OptPCU False
*UIConstraints: *OptPCU False *Punch PB
(...)
*OpenUI *Punch/Perforations: PickOne
*OrderDependency: 50.0 AnySetup *Punch
*DefaultPunch: None
*Punch None/D<e9>sactiv<e9>: "<</Punch false>> setpagedevice"
*Punch PL/Perforations (Portrait Gauche/Paysage Haut): "<</Punch true
/PunchDetails <</Type 19 /Position (PL)>> >> setpagedevice"
*End
*Punch PR/Perforations (Portrait Droit/Paysage Bas): "<</Punch true
/PunchDetails <</Type 19 /Position (PR)>> >> setpagedevice"
*End
*Punch PU/Perforations (Portrait Haut/Paysage Droit): "<</Punch true
/PunchDetails <</Type 19 /Position (PU)>> >> setpagedevice"
*End
*Punch PB/Perforations (Portrait Bas/Paysage Gauche: "<</Punch true
/PunchDetails <</Type 19 /Position (PB)>> >> setpagedevice"
*End
*CloseUI: *Punch
(...)
What command should I use for making holes in my prints ?
Thank you.
Guy
More information about the cups
mailing list