Document Production Instructions

Document Production Instructions perform two functions in the presentation of SPDL documents. The first function is to provide control over the aspects of document presentation which are outside of the scope of the document content notation. Examples of these are the selection of simplex or duplex printing modes and media specification and selection. The second function is to provide control over the aspects of document presentation which may vary from one instance of presentation to another. Examples of this are the number of copies to be printed and, again, media specification and selection. These two functions are not exclusive.

General

Each Document Production Instruction affects one or more presentation parameters. Each presentation parameter has a default value. The presentation parameter values in effect for the processing of a DOCUMENT are derived from the default values and any values specified in Supplementary DPI, and Document Production Instructions in the highest level BLOCK. The presentation parameter values in effect for the processing of subordinate BLOCKs are derived from the values of the presentation parameters for the most immediately superior BLOCK, Supplementary DPI, and Document Productions in the subordinate BLOCK. The derivation of the presentation parameter values used for processing each block is specified in to . With the exception of the page-select presentation parameter, the default values of the presentation parameters are used only to initialize the presentation parameters at the beginning of document processing. In contrast, the default value of the page-select presentation parameter is used to initialize the page-select presentation parameter for each PAGESET. The processing of page-select presentation parameter for nested PAGESETs and the interaction of the page-select presentation parameter with the supplementary-page-select parameter are specified in .

For each Document Production Instruction, this International Standard specifies:

Sources of Document Production Instructions

In order to affect those aspects of document presentation which are outside of the scope of the content notation, a method is provided for specifying Document Production Instructions in the document structure.

In order to affect those aspects of document presentation which may vary from one instance of presentation to another without changing the document for each instance of presentation, the user must be able to provide Document Production Instructions applicable to a particular instance of document presentation along with the document itself.

In any particular instance of presentation of an SPDL document, either or both of these sources may provide an empty set of Document Production Instructions.

Document Structure

Document Production Instructions which are specified in the document structure are called Document DPI.

Document DPI are specified by means of DPI DECLARATION structure elements. A Document Production Instruction is said to occur in a BLOCK if it is specified by a DPI DECLARATION in the PROLOGUE of that BLOCK.

Supplementary DPI

Document Production Instructions which are delivered with a document for a particular instance of document presentation are called Supplementary DPI. The method by which Supplementary DPI are made available to the Presentation Process is outside of the scope of this International Standard. An SPDL Presentation Process that has no capability of receiving Supplementary DPI shall be considered to have an empty set of Supplementary DPI for all instances of document presentation.

Additional DPI

In addition to those Document Production Instructions defined in this International Standard, the SPDL syntax allows for the inclusion of additional Document Production Instructions in Document DPI or Supplementary DPI. Such Document Production Instructions are called Additional DPI.

Each Additional DPI consists of a name and a value. The name is a Public Object Identifier; the type of the value depends on the value of the name. While the specific syntax of Additional DPI and the effect of Additional DPI on the presentation of SPDL documents are outside of the scope of this International Standard, the inclusion of Additional DPI is specifically enabled.

Reconciliation of Document Production Instructions

Since Document Production Instructions can occur in any BLOCK in an SPDL document, it is possible for Document Production Instructions in a superior BLOCK to be in conflict with Document Production Instructions in a subordinate BLOCK. Any such conflicts are reconciled by the Structure Processor.

The scope of a Document Production Instruction is the most immediately superior BLOCK of the PROLOGUE in which the DPI DECLARATION occurs. The effect of a Document Production Instruction may be modified or overridden by another Document Production Instruction.

Two or more Document Production Instructions have overlapping scope if one of them occurs within the scope of the other. The method of reconciliation of two Document Production instructions which have overlapping scope depends on the particular Document Production Instructions involved, and is specified as part of the semantics of each Document Production Instruction.

The scope of Supplementary DPI is the entire DOCUMENT. Therefore for any instance of presentation for which there is a non-null set of Supplementary DPI, there will be an overlap between the Supplementary DPI and the Document DPI. In this case the Structure Processor must reconcile the Supplementary DPI and the Document DPI. The method by which the Structure Processor reconciles Supplementary DPI with Document DPI depends on the Document Production Instructions involved, and is specified as part of the semantics of each Document Production Instruction.

Classes of Document Production Instructions

There are five classes of Document Production Instructions:

There is an implied sequence for the application for Document Production Instructions.

Fallback

For some of the Document Production Instructions defined by this International Standard, the specified semantics can always be achieved. For these, no fallback specification is required. However, some of the Document Production Instructions specified in this International Standard require capabilities which need not be provided by every Presentation Process. In addition to the specification of operations for capable systems, this International Standard specifies the fallback behavior for these Document Production Instructions for systems in which those capabilities are not present. Where required, this fallback behavior is specified as part of the Document Production Instruction semantics.

There are some general classes of systems, such as soft copy devices, for which certain Document Production Instructions such as Finishing or Copies are generally inappropriate. In cases where a Document Production Instruction is inappropriate for document presentation by a particular system, the Document Production Instruction may be ignored.

Useful Structure elements

The following structure elements are used in several Document Production Instructions.

DIMENSION

The DIMENSION structure element represents a dimension. A DIMENSION structure element shall be a composite structure element which shall have the following immediate subordinates:

The immediate subordinates shall occur in the above order.

TOLERANCE

A TOLERANCE structure element shall be a base structure element. The value of a TOLERANCE structure element shall be of type Non-Negative Number.

The value of a TOLERANCE structure element represents a dimensional tolerance.

DIMENSION VALUE

A DIMENSION VALUE structure element shall be either:

NAMED DIMENSION

A NAMED DIMENSION structure element shall be a base structure element. The value of a NAMED DIMENSION structure element shall be of type Environment Identifier.

The value of a NAMED DIMENSION structure element shall identify a value of type Non-Negative Number. There are no Public Object Identifier values for NAMED DIMENSION values defined by this International Standard.

NUMERIC DIMENSION

A NUMERIC DIMENSION VALUE structure element shall be a base structure element. The value of a NUMERIC DIMENSION VALUE structure element shall be of type Non-Negative Number.

XYDIMENSIONS

An XYDIMENSIONS structure element represents the dimensions of a rectangular sheet medium or a location in the Reference Coordinate System. An XYDIMENSIONS structure element shall be a composite structure element which shall have the following immediate subordinates:

The immediate subordinates shall occur in the above order.

XYDIMENSIONS VALUE

An XYDIMENSIONS VALUE structure element shall be one of:

NAMED XYDIMENSIONS

A NAMED XYDIMENSIONS structure element shall be a base structure element. The value of a NAMED XYDIMENSIONS structure element shall be of type Environment Identifier.

The value of a NAMED XYDIMENSIONS structure element shall identify an ordered pair of values of type Non-Negative Number. The value most commonly represents the dimensions of a medium. Public Object Identifier values for NAMED XYDIMENSIONS are defined by ISO/IEC 10175 as standard values for the attribute medium-size. The Public Object Identifier values defined by ISO/IEC 10175 and the meaning of those values are described in (informative).

NUMERIC XYDIMENSIONS

A NUMERIC XYDIMENSIONS structure element shall be a composite structure element which shall have the following immediate subordinates:

The immediate subordinates shall occur in the above order.

X-DIMENSION

An X-DIMENSION structure element shall be a base structure element. The value of an X-DIMENSION structure element shall be of type Non-Negative Number.

Y-DIMENSION

A Y-DIMENSION structure element shall be a base structure element. The value of a Y-DIMENSION structure element shall be of type Non-Negative Number.

HEAD LOCATIONS

A HEAD LOCATIONS structure element represents a sequence of head locations for a finishing operation. A HEAD LOCATIONS structure element shall be a composite structure element which shall have the following immediate subordinates:

The immediate subordinates shall occur in the above order.

HEAD LOCATIONS VALUE

A HEAD LOCATIONS VALUE structure element shall be one of:

NAMED HEAD LOCATIONS

A NAMED HEAD LOCATIONS structure element shall be a base structure element. The value of a NAMED HEAD LOCATIONS structure element shall be of type Environment Identifier.

The value of a NAMED HEAD LOCATIONS structure element shall identify a sequence of values x1, . . , xn of type Non-Negative Number such that for each value of i, 1≤in-1, xixi+1. There are no Public Object Identifier values for NAMED HEAD LOCATIONS values defined by this International Standard.

NUMERIC HEAD LOCATIONS

A NUMERIC HEAD LOCATIONS structure element shall be a composite structure element which shall have the following immediate subordinates:

The values of the immediately subordinate HEAD LOCATION structure elements shall consist of a sequence of values x1, . . , xn such that for each value of i, 1≤in-1, xixi+1.

HEAD LOCATION

A HEAD LOCATION structure element shall be a base structure element. The value a HEAD LOCATION structure elements shall be of type Non-Negative Number.

EDGE

An EDGE structure element identifies a distinguished edge of a medium or of the assembled document. An EDGE structure element shall be a base structure element. The type of the value of an EDGE structure element shall be an Enumerated type. The values of this type and the edges identified shall be as shown in . ValueEdge bottom-edgethe edge coincident with the x-axis of the Reference Coordinate System right-edgethe edge parallel to the y-axis of the Reference Coordinate System and opposite the edge coincident with the y-axis top-edgethe edge parallel to the x-axis of the Reference Coordinate System and opposite the edge coincident with the x-axis left-edgethe edge of the medium coincident with the y-axis of the Reference Coordinate System

DPI DECLARATION

A DPI DECLARATION consists of a set of zero or more Document Production Instructions. The DPI DECLARATION syntax supports not only the Document Production Instructions which are defined by this International Standard but also Additional DPI.

A DPI DECLARATION structure element shall be a composite structure element which shall have the following immediate subordinates:

The immediate subordinates may occur in any order.

Additional Document Production Instructions

Each Additional DPI consists of a name and a value. The general syntax for Additional DPI is specified in this clause. The specific syntax and the semantics of an Additional DPI are specified by the owner of the name. While the specific syntax of Additional DPI and the effect of Additional DPI on the presentation of SPDL documents are outside of the scope of this International Standard, the inclusion of Additional DPI is specifically enabled.

Additional Document Production Instructions may be any of:

ADDITIONAL DPI

An ADDITIONAL DPI structure element shall be a composite structure element which shall have the following immediate subordinates:

The immediate subordinates shall occur in the specified order.

DPI NAME

A DPI NAME structure element shall be a base structure element. The value of a DPI NAME structure element shall be of type Public Object Identifier.

DPI VALUE

A DPI VALUE structure element may be either a base structure element or a composite structure element. The DPI VALUE structure element shall depend on the value of the peer DPI NAME structure element.

ADDITIONAL DPI Semantics

The specification of the semantics of an ADDITIONAL DPI shall be the responsibility of the owner of the Public Object Identifier which is the value of the DPI NAME. The effect of an Additional DPI on the presentation of an SPDL document shall be either:

The definition of the syntax of the DPI VALUE corresponding to any particular DPI NAME value, and the effect of ADDITIONAL DPI on the presentation of SPDL documents are outside of the scope of this International Standard.