730
Advanced Function Presentation Consortium Data Stream and Object Architectures Mixed Object Document Content Architecture (MO:DCA) Reference AFPC-0004-09

Mixed Object Document Content Architecture …...Advanced Function Presentation Consortium Data Stream and Object Architectures Mixed Object Document Content Architecture (MO:DCA)

  • Upload
    others

  • View
    13

  • Download
    0

Embed Size (px)

Citation preview

  • Advanced Function Presentation ConsortiumData Stream and Object Architectures

    Mixed Object DocumentContent Architecture (MO:DCA)Reference

    AFPC-0004-09

  • Copyright © AFP Consortium 1990, 2017 ii

    Note:

    Before using this information, read the information in “Notices” on page 641.

    AFPC-0004-09Tenth Edition (December 2017)

    This edition applies to the Mixed Object Document Content Architecture™ (MO:DCA™). It replaces and makes obsoletethe previous edition, AFPC-0004–08. This edition remains current until a new edition is published.

    Technical changes are indicated by a vertical bar to the left of the change. Editorial changes that have no technicalsignificance are not noted. For a detailed list of changes, see “Summary of Changes” on page ix.

    Internet

    Visit our home page at: www.afpcinc.org

  • Copyright © AFP Consortium 1990, 2017 iii

    PrefaceThis book describes the functions and services associated with the MO:DCA architecture.

    This book is a reference, not a tutorial. It complements individual product publications, but does not describeproduct implementations of the architecture.

    Who Should Read This BookThis book is for systems programmers and other developers who need such information to develop or adapt aproduct or program to interoperate with other presentation products.

    AFP ConsortiumThe Advanced Function Presentation™ (AFP™) architectures began as the strategic, general purposedocument and information presentation architecture for the IBM® Corporation. The first specifications andproducts go back to 1984. Although all of the components of the architecture have grown over the years, themajor concepts of object-driven structures, print integrity, resource management, and support for high printspeeds were built in from the start.

    In the early twenty-first century, IBM saw the need to enable applications to create color output that isindependent from the device used for printing and to preserve color consistency, quality, and fidelity of theprinted material. This need resulted in the formation, in October 2004, of the AFP Color Consortium™(AFPCC™). The goal was to extended the AFP architecture with support for full-color devices includingsupport for comprehensive color management. The purpose of doing this via a consortium consisting of theprimary AFP architecture users was to build synergism with partners from across the relevant industries, suchas hardware manufacturers that produce printers as well as software vendors of composition, work flow, viewerand transform tools. More than 30 members came together in regular meetings and work group sessions tocreate the AFP Color Management Object Content Architecture™ (CMOCA™), and the extensions required tosupport CMOCA within the other components of the AFP architecture. A major milestone was reached by theAFP Color Consortium with the release of the specifications of all components of the AFP Color ManagementArchitecture™ (ACMA™) in May 2006.

    Due to the success of the AFP Color Consortium, it was decided to broaden the scope of the consortium effortsand in September 2006 IBM announced its plans to open up the complete scope of the AFP architecture to theconsortium. In June 2007, IBM's role as founding member of the consortium was transferred to the InfoPrint®Solutions Company, an IBM/Ricoh® joint venture. In February 2009, the consortium was incorporated under anew set of bylaws with tiered membership and shared governance resulting in the creation of a formal openstandards body called the AFP Consortium™ (AFPC™). Ownership of and responsibility for the AFParchitectures was transferred at that time to the AFP Consortium.

  • iv MO:DCA Reference

    How to Use This BookThis book is divided into eight chapters, six appendixes, and a glossary.

    • Chapter 1, “A Presentation Architecture Perspective” introduces the AFP architectures and positions theMO:DCA architecture as a strategic presentation data stream architecture.

    • Chapter 2, “Introduction to the MO:DCA Architecture” introduces the concepts that form the basis of theMO:DCA architecture.

    • Chapter 3, “MO:DCA Overview” provides an overview of MO:DCA data structures and their use.

    • Chapter 4, “MO:DCA Objects” provides the structure definitions for MO:DCA objects.

    • Chapter 5, “MO:DCA Structured Fields” provides the syntax and semantics for MO:DCA structured fields.

    • Chapter 6, “MO:DCATriplets” provides the syntax and semantics for MO:DCA triplet data structures.

    • Chapter 7, “MO:DCA Interchange Sets” provides complete descriptions of the MO:DCA interchange sets anddescribes how products can become valid generators and receivers of the MO:DCA architecture.

    • Chapter 8, “MO:DCA Function Sets” provides complete descriptions of the MO:DCA function sets anddefines the extensions made by each registered function set to specific interchange sets of the MO:DCAarchitecture.

    • Appendix A, “Color Resources” provides information on color resources and on color to grayscaleconversion.

    • Appendix B, “Resource Access Table (RAT)” defines the Resource Access Table, which is used to locate andprocess resources such as TrueType and OpenType fonts.

    • Appendix C, “MO:DCA Migration Functions” provides the syntax and semantics for MO:DCA migrationstructured fields, triplets, parameters, and provides the structure definitions for MO:DCA migration objects.

    • Appendix D, “MO:DCA Registry” provides a registry for object type identifiers, media type identifiers, andcolor profile identifiers.

    • Appendix E, “Cross-References” provides tables of MO:DCA structured fields and triplets sorted by identifierand by name.

    • Appendix F, “Object OID Algorithms” provides the algorithms for generating Object Identifiers (OIDs) such asTrueType/OpenType font OIDs, Color Management Resource (CMR) OIDs, and data object OIDs.

    • The Glossary defines some of the terms used within this book.

  • MO:DCA Reference v

    How to Read the Syntax DiagramsThroughout this book, syntax is described using the following formats. The syntax of the structured field, theprincipal MODCA data structure, is shown with a horizontal representation, followed by a table that lists thedata elements contained in the structured field. The syntax of the triplet, the secondary MO:DCA datastructure, is shown using the table only. Six basic data types are used in the syntax descriptions:CODE Architected constantCHAR Character string, which may consist of any code pointsBITS Bit stringUBIN Unsigned binarySBIN Signed binaryUNDF Undefined type

    Structured Field Introducer

    Structured Field Introducer

    SF Length (2B) ID = X'D3TTCC' Flags (1B) ReservedX'0000'

    Structured Field Data

    The meanings of the elements of the horizontal representation are as follows:

    • The Structured Field Introducer, which identifies the length and the function or type of the structured field, iscomposed of the following parameters:

    Element Meaning

    SF Length The total length of the structured field including the length of the SF Lengthelement.

    ID = X'D3TTCC' The structured field identifier—consisting of the structured field class, type,and category codes—that uniquely identifies each MO:DCA structured field.

    Flags The set of bits or flags that identify if the structured field is segmented of if astructured field extender or padding is to be used.

    • The Structured Field Data, which provides the structured field's effect, is contained in the set of parametersdescribed in the table.

    For a detailed discussion of the data elements comprising MO:DCA structured fields, see “MO:DCA StructuredField Syntax” on page 18.

    Data

    The syntax for a MO:DCA data structure is as follows:

    Offset Type Name Range Meaning M/O Exc

    The field'sbyte offset.

    Thefield'sdatatype.

    Name of field, ifapplicable.

    Range of validvalues, ifapplicable.

    Meaning or purpose of the dataelement.

    MorO

    Code

    Certain fields may be denoted in the Meaning column as reserved. A reserved field is a parameter that has nofunctional definition at the current time, but may have at some time in the future. All bytes in any field that theMO:DCA architecture defines as a reserved field should be given a value of zero by generating applications.Receiving applications should ignore any values contained in a reserved field.

  • vi MO:DCA Reference

    Additional columns appear to the right of the Meaning column. These columns are:

    M/O Mandatory or optional

    Exc Exception code for the exception conditions that are possible for the data element. See“Exception Conditions” on page 71 for further information concerning exception conditions.

    The following is an example of the MO:DCA syntax:

    Structured Field Introducer

    SF Length (2B) ID = X'D3AFD8' Flags (1B) Reserved;X'0000'

    Structured Field Data

    Offset Type Name Range Meaning M/O Exc

    0–7 CHAR OvlyName Name of the overlay resource M X'06'

    8–10 SBIN XolOset -32,768–32,767 X-axis origin for the page overlay M X'06'

    X'FFFFFF' Retired value

    11–13 SBIN YolOset -32,768–32,767 Y-axis origin for the page overlay M X'06'

    X'FFFFFF' Retired value

    14–15 CODE OvlyOrent X'0000', X'2D00',X'5A00', X'8700'

    The overlay's X-axis rotationfrom the X axis of the includingpage coordinate system:X'0000' 0 degreesX'2D00' 90 degreesX'5A00' 180 degreesX'8700' 270 degrees

    O X'02'

    16–n Triplets See “IPO Semantics” on page214 for triplet applicability.

    O X'10'

  • MO:DCA Reference vii

    Related PublicationsFollowing is a list of the AFPArchitecture publications.

    AFPArchitecture PublicationsSeveral other publications can help you understand the architecture concepts described in this book. AFPConsortium publications are available on the AFP Consortium web site at www.afpcinc.org.

    Table 1. AFPC Architecture Documentation

    AFPArchitecture Publication Book Identification

    AFP Programming Guide and Line Data Reference S544-3884 (IBM)

    Bar Code Object Content Architecture™ Reference AFPC-0005

    Color Management Object Content Architecture Reference AFPC-0006

    Font Object Content Architecture Reference AFPC-0007

    Graphics Object Content Architecture for AFP Reference AFPC-0008

    Image Object Content Architecture Reference AFPC-0003

    Intelligent Printer Data Stream™ Reference AFPC-0001

    Metadata Object Content Architecture Reference AFPC-0013

    Mixed Object Document Content Architecture (MO:DCA) Reference AFPC-0004

    Presentation Text Object Content Architecture Reference AFPC-0009

    Table 2. Additional AFP Consortium Documentation

    AFPC Publication Book Identification

    AFP Color Management Architecture (ACMA) G550–1046 (IBM)

    AFPC Company Abbreviation Registry AFPC-0012

    AFPC Font Typeface Registry AFPC-0016

    BCOCA™ Frequently Asked Questions AFPC-0011

    MO:DCA-L: The OS/2® PM Metafile (.met) Format AFPC-0014

    Presentation Object Subsets for AFP AFPC-0002

    Recommended IPDS™ Values for Object Container Versions AFPC-0017

    Table 3. AFP Font-Related Documentation

    AFP Font-Related Publication Book Identification

    Character Data Representation Architecture Reference and Registry;For the most current information, please refer to the online version at:http://www-01.ibm.com/software/globalization/cdra

    SC09-2190 (IBM)

    Font Summary for AFP Font Collection S544-5633 (IBM)

    Technical Reference for Code Pages S544-3802 (IBM)

  • viii MO:DCA Reference

    Table 4. UP3I Architecture Documentation

    UP3I Publication Book Identification

    Universal Printer Pre- and Post-Processing Interface (UP3ITM) Specification Available at:www.afpcinc.org

    Table 5. International Organization for Standardization (ISO) Documentation

    ISO Publication Book Identification

    Document management – AFP/Archive ISO 18565:2015, available at:www.iso.org

  • MO:DCA Reference ix

    Summary of ChangesThis tenth edition of theMixed Object Document Content Architecture (MO:DCA) Reference contains thefollowing significant architecture extensions:

    • Support for text objects with an object environment group

    • Ability to keep page groups together as a recovery unit

    • Support for AFP archive (AFP/A)

    • Metadata object support

    • Support for new finishing options (crease and fold)

    • Preprinted Form Overlay (PFO) support

    • Scalable Vector Graphics (SVG) and secondary resources support

    • Support for object area rotation

    • The definition of a new MO:DCA function set model and the MO:DCA GA function set

    • Support internal rendering intent for object containers

    • Numerous corrections and clarifications

    As stated in the edition notice, the additions are marked in this publication using revision bars located on theleft-hand side of a page.

  • x MO:DCA Reference

  • Copyright © AFP Consortium 1990, 2017 xi

    ContentsPreface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii

    Who Should Read This Book .....................................................................................................................iiiAFP Consortium......................................................................................................................................iiiHow to Use This Book ............................................................................................................................. iv

    How to Read the Syntax Diagrams.......................................................................................................... vStructured Field Introducer................................................................................................................ vData............................................................................................................................................. v

    Related Publications ...............................................................................................................................viiAFPArchitecture Publications ...............................................................................................................vii

    Summary of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ixFigures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxixTables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiChapter 1. A Presentation Architecture Perspective. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

    The Presentation Environment ...................................................................................................................1Architecture Components..........................................................................................................................2

    Data Streams .....................................................................................................................................2Objects .............................................................................................................................................4

    Chapter 2. Introduction to the MO:DCA Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7What is the Mixed Object Document Content Architecture? ..............................................................................7Organization of the Architecture..................................................................................................................9Compliance with the Architecture .............................................................................................................. 10MO:DCA Concepts ................................................................................................................................ 10

    Print Files ........................................................................................................................................ 10Documents ...................................................................................................................................... 10Pages............................................................................................................................................. 10Overlays ......................................................................................................................................... 11Page Segments ................................................................................................................................ 11Objects ........................................................................................................................................... 11

    Data Objects................................................................................................................................ 11Resource Objects ......................................................................................................................... 12Secondary Resource Objects .......................................................................................................... 12Multi-page Resource Objects .......................................................................................................... 12Resource Object Mapping .............................................................................................................. 13Preloading and Preprocessing Resource Objects ................................................................................ 13

    Object Containers ............................................................................................................................. 14Environment Groups.......................................................................................................................... 14

    Document Environment Groups ....................................................................................................... 14Resource Environment Groups ........................................................................................................ 14Active Environment Groups............................................................................................................. 14Object Environment Groups ............................................................................................................ 15

    Resource Groups.............................................................................................................................. 15Page Groups.................................................................................................................................... 16Print Control Objects.......................................................................................................................... 16Process Elements ............................................................................................................................. 16

    Chapter 3. MO:DCA Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17MO:DCA Data Structures ........................................................................................................................ 17Notation Conventions ............................................................................................................................. 17MO:DCA Structured Field Syntax.............................................................................................................. 18

    Structured Field Introducer .................................................................................................................. 18SFI Syntax .................................................................................................................................. 18SFI Semantics.............................................................................................................................. 19Type Codes ................................................................................................................................. 20Category Codes ........................................................................................................................... 21

    Structured Field Data ......................................................................................................................... 22

  • xii MO:DCA Reference

    Structured Field Introducer Extension .................................................................................................... 22Structured Field Segmentation ............................................................................................................. 22Structured Field Padding .................................................................................................................... 22Structured Field Formats .................................................................................................................... 23Data Stream Format .......................................................................................................................... 23

    MO:DCA Data Stream States................................................................................................................... 23State Hierarchies .............................................................................................................................. 25Environment Hierarchies .................................................................................................................... 26Processing Order .............................................................................................................................. 26Resource Search Order...................................................................................................................... 27

    Structured Field Parameters .................................................................................................................... 28Mandatory and Optional Parameters ..................................................................................................... 28

    Mandatory Parameters................................................................................................................... 28Optional Parameters...................................................................................................................... 28

    Parameter Categories ........................................................................................................................ 28Fixed Parameters ......................................................................................................................... 28Self-identifying Parameters ............................................................................................................. 28Repeating Groups......................................................................................................................... 28

    Parameter Values.............................................................................................................................. 29Specified Values ........................................................................................................................... 29Default Values.............................................................................................................................. 29

    Hierarchical Defaults ................................................................................................................. 29Architected Defaults .................................................................................................................. 29

    Default Indicator ........................................................................................................................... 30Parameter Occurrence ....................................................................................................................... 30

    Single-Occurrence Parameters ........................................................................................................ 30Multiple-Occurrence Parameters ...................................................................................................... 30

    Parameter Types .............................................................................................................................. 30Bit String ..................................................................................................................................... 31Character String ........................................................................................................................... 31Code.......................................................................................................................................... 31Global Identifier ............................................................................................................................ 31Local Identifier.............................................................................................................................. 31Name ......................................................................................................................................... 32Number ...................................................................................................................................... 32

    Coordinate Systems............................................................................................................................... 34Measurement and Rotation ..................................................................................................................... 35

    Measurement ................................................................................................................................... 35Measurement Units ....................................................................................................................... 35Measurement Unit Formats............................................................................................................. 36Extent ........................................................................................................................................ 36Offset ......................................................................................................................................... 37

    Rotation .......................................................................................................................................... 38Rotation Units .............................................................................................................................. 40Shape ........................................................................................................................................ 41

    Presentation Space Mixing ...................................................................................................................... 41Foreground and Background ............................................................................................................... 41Merging Presentation Spaces .............................................................................................................. 43Mixing Rules .................................................................................................................................... 44Default Mixing Rule ........................................................................................................................... 45Preprinted Form Overlay (PFO) Mixing .................................................................................................. 45UP3i Print Data Mixing ....................................................................................................................... 46

    Color Management ................................................................................................................................ 47CMR names..................................................................................................................................... 47CMR types ...................................................................................................................................... 47Processing modes............................................................................................................................. 48CMR Installation ............................................................................................................................... 49CMRs and presentation devices ........................................................................................................... 50Associating CMRs with document components........................................................................................ 50Rendering intent ............................................................................................................................... 51CMRs and print media........................................................................................................................ 52CMR Processing............................................................................................................................... 53

  • MO:DCA Reference xiii

    CMR association and scope............................................................................................................ 53CMR processing mode................................................................................................................... 54CMR hierarchy rules...................................................................................................................... 54Generic CMR processing................................................................................................................ 55Default CMRs .............................................................................................................................. 55CMR exception processing ............................................................................................................. 55CMRs in Print file level Resource Groups ........................................................................................... 56

    Metadata Objects in AFP ........................................................................................................................ 56Associating MOs with an AFP print file ................................................................................................... 56

    MO association and scope.............................................................................................................. 56MO Hierarchy Rules ...................................................................................................................... 56Default MOs ................................................................................................................................ 56

    Font Technologies ................................................................................................................................. 56Relationship Between FOCA Character Metrics and TrueType Character Metrics: Implementation Issues ............ 57

    Horizontal Metrics ......................................................................................................................... 57Vertical Metrics............................................................................................................................. 59Simulating Vertical Metrics .............................................................................................................. 59

    Document Indexing................................................................................................................................ 62Index Elements................................................................................................................................. 62Tag Logical Elements ......................................................................................................................... 64

    Document Links .................................................................................................................................... 65Link Logical Elements ........................................................................................................................ 66Annotations and Appends ................................................................................................................... 67

    N-up Presentation ................................................................................................................................. 67Cut-sheet Emulation (CSE) Print Mode ...................................................................................................... 68Simulation of Preprinted Forms ................................................................................................................ 69Document Finishing ............................................................................................................................... 70Exception Conditions ............................................................................................................................. 71

    Classifications .................................................................................................................................. 71Detection......................................................................................................................................... 72Exception Action ............................................................................................................................... 73

    Chapter 4. MO:DCA Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Object Syntax Structure .......................................................................................................................... 75Print File.............................................................................................................................................. 75Document............................................................................................................................................ 77Document Index.................................................................................................................................... 78Resource Environment Group .................................................................................................................. 78Page .................................................................................................................................................. 79Page Group ......................................................................................................................................... 81Resource Objects.................................................................................................................................. 82

    Font Objects .................................................................................................................................... 83Font Object Content Architecture (FOCA) Fonts .................................................................................. 83TrueType/OpenType Fonts ............................................................................................................. 83

    Overlay Objects ................................................................................................................................ 84Page Segment Objects....................................................................................................................... 85

    Resource Groups .................................................................................................................................. 86External Resource Naming Conventions ................................................................................................ 88

    Print Control Objects .............................................................................................................................. 89Form Map........................................................................................................................................ 89

    Document Environment Group......................................................................................................... 90Medium Map .................................................................................................................................... 91

    Invocation of Medium Maps............................................................................................................. 92Data Objects ........................................................................................................................................ 96

    Bar Code Objects.............................................................................................................................. 97Mapping the Bar Code Presentation Space ........................................................................................ 98

    Graphics Objects .............................................................................................................................. 99Mapping the Graphics Presentation Space ....................................................................................... 100

    Image Objects ................................................................................................................................ 104Mapping the Image Presentation Space........................................................................................... 104

    Text Objects................................................................................................................................... 108Mapping the Text Presentation Space (Text Object with OEG) ............................................................... 111

    Object Containers ............................................................................................................................ 111

  • xiv MO:DCA Reference

    Mapping the Container Data Presentation Space................................................................................114

    Chapter 5. MO:DCA Structured Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115General Information ..............................................................................................................................115Begin Active Environment Group (BAG) ....................................................................................................116

    BAG (X'D3A8C9') Syntax...................................................................................................................116BAG Semantics ...............................................................................................................................116BAG Exception Condition Summary .....................................................................................................116

    Begin Bar Code Object (BBC) .................................................................................................................117BBC (X'D3A8EB') Syntax...................................................................................................................117BBC Semantics ...............................................................................................................................117BBC Exception Condition Summary .....................................................................................................118

    Bar Code Data (BDA) ............................................................................................................................119BDA (X'D3EEEB') Syntax ..................................................................................................................119BDA Semantics ...............................................................................................................................119

    Bar Code Data Descriptor (BDD) ............................................................................................................ 120BDD (X'D3A6EB') Syntax.................................................................................................................. 120BDD Semantics .............................................................................................................................. 120

    Begin Document Environment Group (BDG) ............................................................................................. 121BDG (X'D3A8C4') Syntax.................................................................................................................. 121BDG Semantics .............................................................................................................................. 121BDG Exception Condition Summary.................................................................................................... 121

    Begin Document Index (BDI).................................................................................................................. 122BDI (X'D3A8A7') Syntax ................................................................................................................... 122BDI Semantics ............................................................................................................................... 122BDI Exception Condition Summary ..................................................................................................... 123

    Begin Document (BDT)......................................................................................................................... 124BDT (X'D3A8A8') Syntax .................................................................................................................. 124BDT Semantics .............................................................................................................................. 124BDT Exception Condition Summary .................................................................................................... 126

    Begin Form Map (BFM) ........................................................................................................................ 127BFM (X'D3A8CD') Syntax ................................................................................................................. 127BFM Semantics .............................................................................................................................. 127BFM Exception Condition Summary .................................................................................................... 127

    Begin Graphics Object (BGR) ................................................................................................................ 128BGR (X'D3A8BB') Syntax ................................................................................................................. 128BGR Semantics .............................................................................................................................. 128BGR Exception Condition Summary.................................................................................................... 129

    Begin Image Object (BIM) ..................................................................................................................... 130BIM (X'D3A8FB') Syntax................................................................................................................... 130BIM Semantics ............................................................................................................................... 130BIM Exception Condition Summary ..................................................................................................... 131

    Begin Medium Map (BMM) .................................................................................................................... 132BMM (X'D3A8CC') Syntax................................................................................................................. 132BMM Semantics ............................................................................................................................. 132BMM Exception Condition Summary ................................................................................................... 133

    Begin Overlay (BMO) ........................................................................................................................... 134BMO (X'D3A8DF') Syntax ................................................................................................................. 134BMO Semantics.............................................................................................................................. 134BMO Exception Condition Summary ................................................................................................... 135

    Begin Named Page Group (BNG) ........................................................................................................... 136BNG (X'D3A8AD') Syntax ................................................................................................................. 136BNG Semantics .............................................................................................................................. 136Nesting Rules for Keep Group Together recovery units............................................................................ 138BNG Exception Condition Summary.................................................................................................... 139

    Begin Object Container (BOC) ............................................................................................................... 140BOC (X'D3A892') Syntax .................................................................................................................. 140BOC Semantics .............................................................................................................................. 140BOC Exception Condition Summary.................................................................................................... 144

    Begin Object Environment Group (BOG) .................................................................................................. 145BOG (X'D3A8C7') Syntax ................................................................................................................. 145BOG Semantics.............................................................................................................................. 145BOG Exception Condition Summary.................................................................................................... 145

  • MO:DCA Reference xv

    Begin Print File (BPF)........................................................................................................................... 146BPF (X'D3A8A5') Syntax .................................................................................................................. 146BPF Semantics............................................................................................................................... 146BPF Exception Condition Summary .................................................................................................... 147

    Begin Page (BPG) ............................................................................................................................... 148BPG (X'D3A8AF') Syntax.................................................................................................................. 148BPG Semantics .............................................................................................................................. 148BPG Exception Condition Summary .................................................................................................... 150

    Begin Page Segment (BPS)................................................................................................................... 151BPS (X'D3A85F') Syntax .................................................................................................................. 151BPS Semantics .............................................................................................................................. 151BPS Exception Condition Summary .................................................................................................... 152

    Begin Presentation Text Object (BPT) ...................................................................................................... 153BPT (X'D3A89B') Syntax .................................................................................................................. 153BPT Semantics............................................................................................................................... 153BPT Exception Condition Summary .................................................................................................... 154

    Begin Resource Group (BRG) ................................................................................................................ 155BRG (X'D3A8C6') Syntax.................................................................................................................. 155BRG Semantics .............................................................................................................................. 155BRG Exception Condition Summary.................................................................................................... 156

    Begin Resource (BRS) ......................................................................................................................... 157BRS (X'D3A8CE') Syntax.................................................................................................................. 157BRS Semantics .............................................................................................................................. 157Using the BRS to Envelop Inline TrueType/OpenType Resources.............................................................. 160Using the BRS to Envelop Inline Color Management Resources................................................................ 161BRS Exception Condition Summary .................................................................................................... 164

    Begin Resource Environment Group (BSG) .............................................................................................. 165BSG (X'D3A8D9') Syntax.................................................................................................................. 165BSG Semantics .............................................................................................................................. 165BSG Exception Condition Summary .................................................................................................... 165

    Container Data Descriptor (CDD)............................................................................................................ 166CDD (X'D3A692') Syntax .................................................................................................................. 166CDD Semantics .............................................................................................................................. 166

    End Active Environment Group (EAG) ..................................................................................................... 169EAG (X'D3A9C9') Syntax.................................................................................................................. 169EAG Semantics .............................................................................................................................. 169EAG Exception Condition Summary .................................................................................................... 169

    End Bar Code Object (EBC) .................................................................................................................. 170EBC (X'D3A9EB') Syntax.................................................................................................................. 170EBC Semantics .............................................................................................................................. 170EBC Exception Condition Summary .................................................................................................... 170

    End Document Environment Group (EDG)................................................................................................ 171EDG (X'D3A9C4') Syntax.................................................................................................................. 171EDG Semantics .............................................................................................................................. 171EDG Exception Condition Summary.................................................................................................... 171

    End Document Index (EDI) .................................................................................................................... 172EDI (X'D3A9A7') Syntax ................................................................................................................... 172EDI Semantics ............................................................................................................................... 172EDI Exception Condition Summary ..................................................................................................... 172

    End Document (EDT) ........................................................................................................................... 173EDT (X'D3A9A8') Syntax .................................................................................................................. 173EDT Semantics .............................................................................................................................. 173EDT Exception Condition Summary .................................................................................................... 173

    End Form Map (EFM)........................................................................................................................... 174EFM (X'D3A9CD') Syntax ................................................................................................................. 174EFM Semantics .............................................................................................................................. 174EFM Exception Condition Summary .................................................................................................... 174

    End Graphics Object (EGR)................................................................................................................... 175EGR (X'D3A9BB') Syntax ................................................................................................................. 175EGR Semantics .............................................................................................................................. 175EGR Exception Condition Summary.................................................................................................... 175

    End Image Object (EIM)........................................................................................................................ 176

  • xvi MO:DCA Reference

    EIM (X'D3A9FB') Syntax................................................................................................................... 176EIM Semantics ............................................................................................................................... 176EIM Exception Condition Summary ..................................................................................................... 176

    End Medium Map (EMM) ...................................................................................................................... 177EMM (X'D3A9CC') Syntax................................................................................................................. 177EMM Semantics ............................................................................................................................. 177EMM Exception Condition Summary ................................................................................................... 177

    End Overlay (EMO) ............................................................................................................................. 178EMO (X'D3A9DF') Syntax ................................................................................................................. 178EMO Semantics.............................................................................................................................. 178EMO Exception Condition Summary ................................................................................................... 178

    End Named Page Group (ENG).............................................................................................................. 179ENG (X'D3A9AD') Syntax ................................................................................................................. 179ENG Semantics .............................................................................................................................. 179ENG Exception Condition Summary.................................................................................................... 180

    End Object Container (EOC).................................................................................................................. 181EOC (X'D3A992') Syntax .................................................................................................................. 181EOC Semantics .............................................................................................................................. 181EOC Exception Condition Summary.................................................................................................... 181

    End Object Environment Group (EOG)..................................................................................................... 182EOG (X'D3A9C7') Syntax ................................................................................................................. 182EOG Semantics.............................................................................................................................. 182EOG Exception Condition Summary.................................................................................................... 182

    End Print File (EPF) ............................................................................................................................. 183EPF (X'D3A9A5') Syntax .................................................................................................................. 183EPF Semantics............................................................................................................................... 183EPF Exception Condition Summary .................................................................................................... 183

    End Page (EPG) ................................................................................................................................. 184EPG (X'D3A9AF') Syntax.................................................................................................................. 184EPG Semantics .............................................................................................................................. 184EPG Exception Condition Summary .................................................................................................... 184

    End Page Segment (EPS) ..................................................................................................................... 185EPS (X'D3A95F') Syntax .................................................................................................................. 185EPS Semantics .............................................................................................................................. 185EPS Exception Condition Summary .................................................................................................... 185

    End Presentation Text Object (EPT) ........................................................................................................ 186EPT (X'D3A99B') Syntax .................................................................................................................. 186EPT Semantics............................................................................................................................... 186EPT Exception Condition Summary .................................................................................................... 186

    End Resource Group (ERG) .................................................................................................................. 187ERG (X'D3A9C6') Syntax.................................................................................................................. 187ERG Semantics .............................................................................................................................. 187ERG Exception Condition Summary.................................................................................................... 187

    End Resource (ERS)............................................................................................................................ 188ERS (X'D3A9CE') Syntax.................................................................................................................. 188ERS Semantics .............................................................................................................................. 188ERS Exception Condition Summary .................................................................................................... 188

    End Resource Environment Group (ESG)................................................................................................. 189ESG (X'D3A9D9') Syntax.................................................................................................................. 189ESG Semantics .............................................................................................................................. 189ESG Exception Condition Summary .................................................................................................... 189

    Graphics Data (GAD) ........................................................................................................................... 190GAD (X'D3EEBB') Syntax ................................................................................................................. 190GAD Semantics .............................................................................................................................. 190

    Graphics Data Descriptor (GDD)............................................................................................................. 191GDD (X'D3A6BB') Syntax ................................................................................................................. 191GDD Semantics.............................................................................................................................. 191

    Image Data Descriptor (IDD).................................................................................................................. 192IDD (X'D3A6FB') Syntax ................................................................................................................... 192IDD Semantics ............................................................................................................................... 192

    Index Element (IEL) ............................................................................................................................. 193IEL (X'D3B2A7') Syntax.................................................................................................................... 193IEL Semantics ................................................................................................................................ 193

  • MO:DCA Reference xvii

    IEL Exception Condition Summary...................................................................................................... 194Invoke Medium Map (IMM) .................................................................................................................... 195

    IMM (X'D3ABCC') Syntax ................................................................................................................. 195IMM Semantics............................................................................................................................... 195

    Effect On Parameter Values .......................................................................................................... 195Parameter Conflict Resolution ....................................................................................................... 196

    Include Object (IOB) ............................................................................................................................ 197IOB (X'D3AFC3') Syntax................................................................................................................... 197IOB Semantics ............................................................................................................................... 199IOB Exception Condition Summary ..................................................................................................... 208

    Image Picture Data (IPD) ...................................................................................................................... 210IPD (X'D3EEFB') Syntax................................................................................................................... 210IPD Semantics ............................................................................................................................... 210

    Include Page (IPG) ...............................................................................................................................211IPG (X'D3AFAF') Syntax ....................................................................................................................211IPG Semantics ................................................................................................................................211

    Include Page Overlay (IPO) ................................................................................................................... 214IPO (X'D3AFD8') Syntax................................................................................................................... 214IPO Semantics ............................................................................................................................... 214IPO Exception Condition Summary ..................................................................................................... 215

    Include Page Segment (IPS).................................................................................................................. 216IPS (X'D3AF5F') Syntax ................................................................................................................... 216IPS Semantics................................................................................................................................ 216IPS Exception Condition Summary ..................................................................................................... 217

    Link Logical Element (LLE) .................................................................................................................... 218LLE (X'D3B490') Syntax ................................................................................................................... 218LLE Semantics ............................................................................................................................... 218LLE Exception Condition Summary ..................................................................................................... 223

    Map Bar Code Object (MBC) ................................................................................................................. 224MBC (X'D3ABEB') Syntax ................................................................................................................. 224MBC Semantics.............................................................................................................................. 224MBC Exception Condition Summary.................................................................................................... 224

    Medium Copy Count (MCC)................................................................................................................... 225MCC (X'D3A288') Syntax.................................................................................................................. 225MCC Semantics.............................................................................................................................. 225MCC Exception Condition Summary ................................................................................................... 226

    Map Container Data (MCD) ................................................................................................................... 227MCD (X'D3AB92') Syntax ................................................................................................................. 227MCD Semantics.............................................................................................................................. 227MCD Exception Condition Summary ................................................................................................... 228

    Map Coded Font (MCF) Format 2 ........................................................................................................... 229MCF (X'D3AB8A') Syntax ................................................................................................................. 229MCF Semantics .............................................................................................................................. 229MCF Usage Information.................................................................................................................... 232Double-byte Font References ............................................................................................................ 233Using the X'50' Triplet to Specify Encoding ........................................................................................... 233MCF Exception Condition Summary.................................................................................................... 234

    Medium Descriptor (MDD)..................................................................................................................... 236MDD (X'D3A688') Syntax.................................................................................................................. 236MDD Semantics.............................................................................................................................. 236

    Map Data Resource (MDR) ................................................................................................................... 238MDR (X'D3ABC3') Syntax ................................................................................................................. 238MDR Semantics.............................................................................................................................. 238Using the X'50' Triplet to Specify Encoding ........................................................................................... 245Using the MDR to Map a TrueType/OpenType Font ................................................................................ 245

    Font Name ................................................................................................................................ 245Font Install Program .................................................................................................................... 246

    TrueType/OpenType Font Resources in a Resource Library............................................................. 247TrueType/OpenType Font Resources in an External (Print file level) Resource Group............................ 247

    Using the MDR to Map a Color Management Resource (CMR) ................................................................. 249CMR Name ............................................................................................................................... 249Generic CMRs ........................................................................................................................... 249Link CMRs ................................................................................................................................ 249

  • xviii MO:DCA Reference

    CMR Install Program ................................................................................................................... 249CMRs in a Resource Library.......................................................................................................... 250CMRs in an External (Print file level) Resource Group......................................................................... 251

    Using the MDR to Map a Data Object Resource..................................................................................... 253MDR Exception Condition Summary ................................................................................................... 254

    Medium Finishing Control (MFC) ............................................................................................................ 255MFC (X'D3A088') Syntax .................................................................................................................. 256MFC Semantics .............................................................................................................................. 257

    Finishing Operation Nesting Rules.................................................................................................. 260MFC Exception Condition Summary................................................................................................ 262

    Map Graphics Object (MGO).................................................................................................................. 263MGO (X'D3ABBB') Syntax ................................................................................................................ 263MGO Semantics ............................................................................................................................. 263MGO Exception Condition Summary ................................................................................................... 263

    Map Image Object (MIO)....................................................................................................................... 264MIO (X'D3ABFB') Syntax .................................................................................................................. 264MIO Semantics............................................................................................................................... 264MIO Exception Condition Summary..................................................................................................... 265

    Medium Modification Control (MMC)........................................................................................................ 266MMC (X'D3A788') Syntax ................................................................................................................. 266MMC Semantics ............................................................................................................................. 267MMC Exception Condition Summary ................................................................................................... 275

    Map Media Destination (MMD) ............................................................................................................... 276MMD (X'D3ABCD') Syntax ................................................................................................................ 276MMD Semantics ............................................................................................................................. 276MMD Exception Condition Summary ................................................................................................... 277

    Map Medium Overlay (MMO) ................................................................................................................. 278MMO (X'D3B1DF') Syntax................................................................................................................. 278MMO Semantics ............................................................................................................................. 278

    Map Media Type (MMT) ........................................................................................................................ 279MMT (X'D3AB88') Syntax ................................................................................................................. 279MMT Semantics.............................................................................................................................. 279MMT Exception Condition Summary ................................................................................................... 281

    Map Page (MPG) ................................................................................................................................ 282MPG (X'D3ABAF') Syntax ................................................................................................................. 282MPG Semantics.............................................................................................................................. 282MPG Exception Condition Summary ................................................................................................... 283

    Map Page Overlay (MPO) ..................................................................................................................... 284MPO (X'D3ABD8') Syntax ................................................................................................................. 284MPO Semantics.............................................................................................................................. 284MPO Exception Condition Summary ................................................................................................... 285

    Map Page Segment (MPS) .................................................................................................................... 286MPS (X'D3B15F') Syntax .................................................................................................................. 286MPS Semantics .............................................................................................................................. 286

    Map Presentation Text (MPT)................................................................................................................. 287MPT (X'D3AB9B') Syntax.................................................................................................................. 287MPT Semantics .............................................................................................................................. 287MPT Exception Condition Summary .................................................................................................... 287

    Map Suppression (MSU)....................................................................................................................... 288MSU (X'D3ABEA') Syntax ................................................................................................................. 288MSU Semantics.............................................................................................................................. 288

    No Operation (NOP) ............................................................................................................................ 289NOP (X'D3EEEE') Syntax ................................................................................................................. 289NOP Semantics .............................................................................................................................. 289

    Object Area Descriptor (OBD) ................................................................................................................ 290OBD (X'D3A66B') Syntax.................................................................................................................. 290OBD Semantics .............................................................................................................................. 290OBD Exception Condition Summary.................................................................................................... 291

    Object Area Position (OBP) ................................................................................................................... 292OBP (X'D3AC6B') Syntax ................................................................................................................. 292OBP Semantics .............................................................................................................................. 293OBP Exception Condition Summary .................................................................................................... 294

  • MO:DCA Reference xix

    Object Container Data (OCD)................................................................................................................. 295OCD (X'D3EE92') Syntax.................................................................................................................. 295OCD Semantics.............................................................................................................................. 295

    Presentation Environment Control (PEC).................................................................................................. 296PEC (X'D3A7A8') Syntax .................................................................................................................. 296PEC Semantics .............................................................................................................................. 296

    Presentation Fidelity Control (PFC) ......................................................................................................... 298PFC (X'D3B288') Syntax................................................................................................................... 298PFC Semantics .............................................................................................................................. 298

    Page Descriptor (PGD)......................................................................................................................... 300PGD (X'D3A6AF') Syntax.................................................................................................................. 300PGD Semantics .............................................................................................................................. 300PGD Exception Condition Summary.................................................................................................... 302

    Page Position (PGP) Format 2 ............................................................................................................... 303PGP (X'D3B1AF') Syntax.................................................................................................................. 303PGP Semantics .............................................................................................................................. 304PGP Exception Condition Summary .................................................................................................... 310Partition Numbering for N-up ............................................................................................................. 310

    Page Modification Control (PMC) ............................................................................................................ 317PMC (X'D3A7AF') Syntax ................................................................................................................. 317PMC Semantics.............................................................................................................................. 317

    Preprocess Presentation Object (PPO) .................................................................................................... 319PPO (X'D3ADC3') Syntax ................................................................................................................. 319PPO Semantics .............................................................................................................................. 319Processing Rules ............................................................................................................................ 327

    Preprocessing overlays ................................................................................................................ 328Preprocessing data objects ........................................................................................................... 328

    Scale-to-fit or scale-to-fill .......................................................................................................... 328Position, position-and-trim, or center-and-trim............................................................................... 328

    Limitations................................................................................................................................. 328PPO Exception Condition Summary .................................................................................................... 329

    Presentation Text Data Descriptor (PTD) Format 2 ..................................................................................... 330PTD (X'D3B19B') Syntax .................................................................................................................. 330PTD Semantics .............................................................................................................................. 330

    Presentation Text Data (PTX)................................................................................................................. 331PTX (X'D3EE9B') Syntax .................................................................................................................. 331PTX Semantics............................................................................................................................... 331

    Tag Logical Element (TLE) .................................................................................................................... 332TLE (X'D3A090') Syntax ................................................................................................................... 332TLE Semantics ............................................................................................................................... 332

    Chapter 6. MO:DCATriplets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335General Inf