Q: Is there a method or feature available in PDFTron SDK to embed a
job ticket in a PDF file?
Job ticket in this case is not Adobe JDF Job Definition. It is a
Xerox docutect compatible script that includes printing instructions.
As you know post script allow embedding job ticket and it looks
like the following:
%XRXsourceFile: UNIX: /var/spool/Volume-1.ps
A: JDF (http://www.cip4.org/documents/jdf_specifications/) can be
stored in PDF as an embedded XML stream. You can embed or replace an
existing JDF stream as follows:
// Using C# - Add XMP metadata to document catalog.
StdFile file = new StdFile("myjob.jdf",
FilterReader reader = new FilterReader(file);
Obj stm = pdfdoc.CreateIndirectStream(reader);
// Add optional keywords ...
// Reference JDF stream somewhere within PDF document structure, as
// For example…
It is also possible to embed a JDF data from a memory buffer.
Besides JDF, you could also store job ticket data in PDF using PJTF
(Portable Job Ticket Format). You can use PDFNet's SDF API to read,
write, and edit embedded (or stand-alone) PJTF. Although manipulating
PJTF using PDFNet is much simpler than having to deal with XML, it
seems that industry is slowly moving towards JDF workflows.