Skip to contentSkip to conversation

Optimizing MicroJobTicket - JTAPI 'native' symbols - second n ote

Printing-architecture Petrie, Glen 1 participant 1 message Apr 1, 2008

lore
Share & tools
lore
#0 lore raw

Ira,

I am not requesting or proposing storing binary job-tickets for Lars' project. All I have asked is that Lars considers this possibility in his design of internal data structs.

gwp

p.s.
I sorry you """strongly disapprove"""!!!! I was never considering a fixed-sized binary job-ticket; I already stated that it would not be extensible.

gwp

Quoted 149 lines

-----Original Message-----
From: Ira McDonald [mailto:[email protected]]
Sent: Tuesday, April 01, 2008 12:08 PM
To: Petrie, Glen; Ira McDonald
Cc: [email protected]; Lars Uebernickel
Subject: Re: Optimizing MicroJobTicket - JTAPI 'native' symbols - second n ote

Hi Glen,

I strongly disapprove of externally storing a so-called binary job ticket format - fixed-size binary encodings are fragile (across versions) and don't accomodate multi-valued properties at all.

Fine - we'll keep MJT using IPP names (it uses EXACTLY IPP names, as are used in the serialization/deserialization functions in the PAPI interface).

Cheers,
- Ira

Quoted 3 lines · Glen

Ira,

Is coherence, at the level we are discussing needed or wanted? Or is

what

Quoted 5 lines

is needed/wanted is a translation mechanism to "seamlessly move between job-ticket representation"?

Coherence to me and in this context would mean consuming any job-ticket format and outputting a common (read as coherent) job-ticket

representation.

Quoted 9 lines

          JDF -----\
                   \
          MJT ----->---->>> common job-ticket representation
                   /
          XYZ JT --/

A translation mechanism says "take what I got and give me something I

can

Quoted 9 lines

use".

          JDF <<<<<<<<
                      ^  MJT becames a JDF
          MJT >>>>>>>>^

          XYZ JT --/
Quoted 4 lines

I believe in coherence but I also believe the world only needs/wants translation.

Therefore, the project as I proposed uses JTAPI to create the

translation

Quoted 1 line

service; as I believe was the originally intended. When you add the

concept

Quoted 2 lines

of a binary (internal) job-ticket representation writer/reader you can achieve a small degree of coherence or at least start a path to

coherence.

Quoted 2 lines

I also designed the project to accept only a few variations of a MJT.

This

Quoted 1 line

is so Lars would not have to process all the possible attribute values

of a

Quoted 2 lines

MJT (read this as IPP). He only needs to concentrate on the one in the pre-defined MJTs and focus his development time on the core JTAPI code.

I

Quoted 1 line

had to scope the project as a summer project but tried to figure out

how to

Quoted 11 lines

structure the activity so that is could continue afterwards.

Therefore, let's leave MJT as is. I actually picked MJT because I
understood it to be simplified job-ticket based on IPP and PWG content.

gwp

p.s.

Isn't defining the second standard suggested below creating another job-ticket format? If we are going to do that then I would rather

spend the

Quoted 9 lines

time create the specification for the binary (internal) job-ticket representation discussed above.

gwp

Quoted 4 lines

-----Original Message-----
From: Ira McDonald [mailto:[email protected]]
Sent: Tuesday, April 01, 2008 10:00 AM
To: [email protected]; Lars

Uebernickel;

Quoted 8 lines
Quoted 8 lines

Petrie, Glen; Ira McDonald
Subject: Optimizing MicroJobTicket - JTAPI 'native' symbols

Hi,

Right after I suggested we just use MJT for any needed interprocess serialization of a parsed job ticket in the JTAPI Library, I thought

Quoted 8 lines
Quoted 8 lines

"Hey, the current MJT uses IPP standard property names and values and a PWG namespace - duh!"

I suggest that I revise the PWG MJT working draft to be an OP MJT working draft (which I need to do anyway).

I should define a second standard JTAPI namespace for MJT, that uses JTAPI standard property names and values - this would let the

external

Quoted 4 lines
Quoted 4 lines

job ticket match exactly the OP canonical names from JTAPI - a very long-standing coherence goal that Glen has championed and I support.

However, for use with CUPS and/or PAPI integration, support for the

PWG

Quoted 7 lines
Quoted 7 lines

IPP names in MJT is also important. Hmm...

Comments, Glen and Lars?

Cheers,
- Ira

Quoted 12 lines
Quoted 11 lines

--
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music/High North Inc
email: [email protected]
winter:
579 Park Place Saline, MI 48176
734-944-0094
summer:
PO Box 221 Grand Marais, MI 49839
906-494-2434

--
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music/High North Inc
email: [email protected]
winter:
579 Park Place Saline, MI 48176
734-944-0094
summer:
PO Box 221 Grand Marais, MI 49839
906-494-2434