PPD custom options

franz.pfoertsch.brose franz.pfoertsch at brose.com
Sat Oct 27 15:58:46 PDT 2007


> I found 2 spots in your posted example that are not in order (and I hit the
> "send" button too early, when I had only one of the two spots outlined).
>
> See below.
You are right there are twa bugs.
The first one was a test I tried was happend without the ending JCLend tag.

The secondone is also a bug, this bug is a copy of the documentation.

> >
> > I need some more explanation of the ppd custom options http://www.cups.org/documentation.php/spec-ppd.html
> >
> > I try to print into a "mailbox" of a multifunction device from
> > Canon (ir C2880). All selections are done by Canon PJLs.
> >
> > so I expandet the PPD with
> >
> > + *% === Job Control Language ==
> > +
> > + *JCLBegin: "<1B>%-12345X at PJL JOB<0A>"
> > + *JCLToPSInterpreter: "@PJL ENTER LANGUAGE = Postscript <0A>"
> > + *% JCLEnd: "<1B>%-12345X at PJL EOJ <0A><1B>%-12345X"
>
> This line is effectively commented out. But for PJL you need it:
>
>     *JCLEnd: "<1B>%-12345X at PJL EOJ <0A><1B>%-12345X"
>
> not:
>
>     *% JCLEnd: "<1B>%-12345X at PJL EOJ <0A><1B>%-12345X"
>
> > + *% Base JCL key code option
> > + *OpenUI JCLMailbox/Mailbox: PickOne
>
> That last line should be:
>
>      *JCLOpenUI JCLMailbox/Mailbox: PickOne
>
> not:
>
>      *OpenUI JCLMailbox/Mailbox: PickOne
>
> > + *OrderDependency: 10 JCLSetup *JCLMailbox
> > + *DefaultJCLMailbox: None
> > + *JCLMailbox None/No mailbox: ""
> > + *JCLMailbox 0: "@PJL COMMENT CANPJL SET DEVICE=MAILBOX<0A>@PJL COMMENT CANPJL SET MAILBOXNUMBER=O<0A>"
> > + *JCLMailbox 1: "@PJL COMMENT CANPJL SET DEVICE=MAILBOX<0A>@PJL COMMENT CANPJL SET MAILBOXNUMBER=1<0A>"
> > + *JCLMailbox 2: "@PJL COMMENT CANPJL SET DEVICE=MAILBOX<0A>@PJL COMMENT CANPJL SET MAILBOXNUMBER=2<0A>"
> > + *JCLMailbox 3: "@PJL COMMENT CANPJL SET DEVICE=MAILBOX<0A>@PJL COMMENT CANPJL SET MAILBOXNUMBER=3<0A>"
> > + *JCLMailbox 4: "@PJL COMMENT CANPJL SET DEVICE=MAILBOX<0A>@PJL COMMENT CANPJL SET MAILBOXNUMBER=4<0A>"
> > + *JCLMailbox 5: "@PJL COMMENT CANPJL SET DEVICE=MAILBOX<0A>@PJL COMMENT CANPJL SET MAILBOXNUMBER=5<0A>"
> > + *JCLCloseUI: *JCLMailbox
> > +
> >

Code which I write down is a mixed mode of classic PJL/PS and the cups flavour wiht cupsJobTickets.

JCLOpenUI/JCLCloseUI are special commands to control cupsJobTickets ...

I tried it with JCLOpenUI but my PJL-Commands get cutted and lost ...

So I try to solve my problem with PJL/PS

regards
Franz




More information about the cups mailing list