This site is being prepared to be migrated to a new hosting. If you experience any issues in this process, we made a mistake and would ask you to contact infrastructure@cip4.org.
 
2
1
0

XXXTemplate variables are poorly document (in terms of being able to implement code to process them) I have a list of questions which relates to implementation of a digital printer:-

I get the impression that XXXTemplates are more documentation of a vendors implementation rather than a designed common architecture that was then to be implemented by all vendors. For example, you would never design a user spec with variables i, r, ri, you would design it with keyword "OutputFileCount" etc. This would explain the lack of detail in the documentation which should be addressed if vendors have any chance of producing common functionality (smile) . These questions are still only the highest level of questions and perhaps more detail still is needed.
1) Amount
Is this the @Amount field from the Final ComponentLink related to DigitalPrinting?
2) DeviceID can appear as attributes in the following:-
CYLINDERLAYOUTATTRIBUTE
DEVICE
MODULEPHASE
DEVICEINFO
JMF
MSGFILTER
NOTIFICATIONFILTER
QUEUE
QUEUEENTRY
RESOURCEINFO
STOPPERSCHPARAMS
SUBSCRIPTIONFILTER
which field relates to the DeviceID XXXTemplate for use with Digital Printing? (probably JMF only but spec doesn't say that)
3) element
"integer iterator over elements in a given page"
This is unclear. A page is being processed by a JDF which contains elements with sub elements. What are we counting - number of <layouts> for front / back / <layoutpreparationparms>, with / without sub elements?????
4) Error
"errors that happened during the job"
Where can this field be used since its not available until end of processing?
What happens if there are multiple errors - does the variable represent the first error or last error?
5) ErrorStats
what format are the statistics ?
6) FriendlyName
is this for JMF use only? Since FriendlyName for Device is deprecated, shouldnt this be deprecated?
7) Generated
"System generated file name" - is this saying "generate a random file name" for use by the script (or does it refer to a system generated file / which one)?
If it refers to a "random file name", does wach call generate a new random file name?
8) i
Iterator over all files produced by this process. When the process is "combined", what is this a count of?
9) input
"valid only when filespec is used as an Output resource". should this read "valid only when filespec is used as an Input resource". If not - please explain.
What happens if there are more than one file as the input?
10) JobRecipientName
where does this field come from since there isnt a similar named JDF field
11) JobSubmitterName
where does this field come from since there isnt a similar named JDF field
12) MediaBrand/Type
does this come from <Media>@brand. If so, what do you use if many Media are in use?
13) MoonPhase
what format is this in ?
14) Operator
where does this info come from for use with the JDF?
14) OperatorText
This is from the JobField but since there can be many <JobField> elements, which one do you use?
15) PrintQuality
available with InterpretingParams, DigitalPrintingParams -= which do you use?
16) ProoferProfileName
where is this field from?
17) PressProfileName
where is this field from?
18) Resolution
what format is this in eg "300 300"? or "300x300" etc or is it "300"
19) SheetNum
is this 0 - s (where s is the number of sides in a signature), resetting each time a new signature is started? Can it be used with <LayoutPreparationParams> ? or is this 0 - n for the entire job (where n is the number of sides in the job) ?
20) SystemRoot
"Root if system directory" but is this really what it means or does it mean "root of the directory where the JDF exists/is processing". On windows, the systemroot may be C:\ but you are likely to be doing all processing on D:\ and C:\ isnt useful. On Linux, \root is the root but you are more likely to be somehwhere like \U (with no access to \root) to process JDFs.
21) TileX/Y
is this a <Tile> resource <CTM> X and Y coordinatein 72 dpi from the JDF. Which Tile do you use if multiple specified ?
22) TotalPagesInDoc
what is a page - physical side of a sheet or from+back of a physical sheet?
is this excluding the application of @Amount copies?
23) UserText
what if there are more than one job field, which one do you use?
24) warnings
"warnings that happened during the job"
Where can this field be used since its not available until end of processing?
What happens if there are multiple warnings - does the variable represent the first warning or last warning?
Generally, should you make the variable available if:-
a) it is anywhere in the JDF (in which case, what do you use if the element/attribute appears in multiple locations?
or
b) if its in the currently activated node (in this case is "" or 0 the variable value if the variable is in the JDF but not in the currently processing node?
As a JDF should be process-able on any device, not just on the JDF creation device where extra info may be available (such as operator logon), I am assuming all values can be extracted or deduced from the JDF and JDF processing, and yet it is not obvious where certain fields can come from or go to.
    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      I agree - the values are fuzzy: they were defined quickly more than a decade ago. I've created an issue and once it is resolved you can use is also in prior versions since it is not a schema change but rather clarifications.

       

      JDF-182 - Jira server returned an error: Not Found

        CommentAdd your comment...
      1.  
        1
        0
        -1

        just for my interest, do you know which devices have implemented any of the XXXTemplate functionality?

          CommentAdd your comment...
        1.  
          1
          0
          -1

          thanks.

            CommentAdd your comment...