ADC Home > Reference Library > Technical Notes > Legacy Documents > Printing >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Job Log SyntaxAt the top level, the job log defines a dictionary of arrays. Each entry in a dictionary is indexed by a key string. The data for an entry is an array of values, with each value being either a dictionary, a string, a number, a boolean, or a null value.
To define the job log dictionary, the job log uses a series of ordered statements to be read in order from the start to the end of the file. Each line is either an assignment, adding a value to the current dictionary, or a command. Current commands used to mark the extent of dictionaries by LaserWriter 8 are The job log is made up of a series of lines in which each line can be terminated by a carriage return, a line feed, or both. LaserWriter 8.6.5 currently terminates each line with a carriage return, but this behavior may change in future LaserWriter releases. Job Log readers should be prepared to interpret both a carriage return and a line feed, or both. White space, defined to be spaces or tab characters, and the character ':' delimit tokens. Comments can be placed on a line using "//". The "//" and all of the characters to the end of the line are considered to be the comment. The comments provide information to a human job log reader. The Job Log Syntax:
terminals:
Currently Defined Dictionaries and Keys for LaserWriter 8.6.5Top Level Dictionary:
GeneralInfo Dictionary:
Job Log ReaderPrepress houses may want to create a job log reader to parse for information relevant to their business. A job log reader should maintain a stack of dictionaries. The dictionary stack's top dictionary is the current dictionary, and assignment statements add values to the current dictionary. A job log reader should define an empty dictionary and place it on the dictionary stack before reading the first line from the job log. The When an assignment line is read, it contains a key and a value. The job log reader must look up the key in the current dictionary. If the key exists in the dictionary, the reader should obtain the array associated with the key. The reader should then extend the array by adding the value from the assignment log to the end of the array. If the key is not found in the dictionary, the reader needs to create a one-element array containing the assignment value and add the new array, indexed by the key, to the dictionary. SummaryAs you can see, the job log is a useful new feature added to the LaserWriter 8.6.5 driver. ReferencesTechnote 1165: Introducing the LaserWriter 8 Driver version 8.6.5 Downloadables
|
|