1070
Advanced Function Presentation Consortium Data Stream and Object Architectures Intelligent Printer Data Stream Reference AFPC-0001-11

Intelligent Printer Data Stream Reference (AFPC-0001-11)afpcinc.org/wp-content/uploads/2016/12/IPDS-Reference-11.pdf · 2017-02-09 · Advanced Function Presentation Consortium Data

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

  • Advanced Function Presentation Consortium Data Stream and Object Architectures

    Intelligent Printer Data StreamReference

    AFPC-0001-11

  • Copyright © AFP Consortium 1987, 2016 ii

    Note:

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

    AFPC-0001-11Twelfth Edition (December 2016)

    This edition applies to the Intelligent Printer Data Stream™ (IPDS™) architecture. It is the fourth edition produced by theAFP Consortium™(AFPC™) and replaces and makes obsolete the previous edition (AFPC-0001-10). This edition remainscurrent until a new edition is published. This publication also applies to any subsequent releases of Advanced FunctionPresentation™ (AFP™) products that use the IPDS architecture until otherwise indicated in a new edition.

    Specific changes are indicated by a vertical bar to the left of the change. For a detailed list of changes, see “Changes inThis Edition” on page xv.

    Internet

    Visit our home page: www.afpcinc.org

  • Copyright © AFP Consortium 1987, 2016 iii

    PrefaceThis book describes the functions and services associated with the Intelligent Printer Data Stream (IPDS)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 system programmers and other developers who need such information to develop or adapt aproduct or program to interoperate with other presentation products in an Advanced Function Presentation(AFP) environment.

    The Intelligent Printer Data Stream Reference describes the function and composition of elements sent toprinters that support the Intelligent Printer Data Stream (IPDS) architecture. However, this book does notdescribe any specific hardware or licensed programs that implement the IPDS architecture.

    This book documents the architecture that encompasses IPDS products available at the time of publication.Use this book in conjunction with your printer documentation to:

    • Check for the correct input to an IPDS-supported printer

    • Learn about the input to IPDS printers

    • Develop print server programs to control IPDS printers

    • Support the design of programs that provide input for the data stream; for example, a text formatting program

    You should note that the IPDS architecture provides a host-to-printer interface intended to be used byprograms requiring direct control over printers.

    AFP Consortium (AFPC)The Advanced Function Presentation (AFP) architectures began as the strategic, general purpose documentand information presentation architecture for the IBM® Corporation. The first specifications and products goback to 1984. Although all of the components of the architecture have grown over the years, the majorconcepts of object-driven structures, print integrity, resource management, and support for high print speedswere 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 extend the object architectures with support for full-color devices includingsupport for comprehensive color management. The idea 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,viewer, and transform tools. Quickly more than 30 members came together in regular meetings and work groupsessions to create the AFP Color Management Object Content Architecture™ (CMOCA™). A major milestonewas reached by the AFP Color Consortium with the initial official release of the CMOCA specification in May2006.

    Since the cooperation between the members of the AFP Color Consortium turned out to be very effective andvaluable, it was decided to broaden the scope of the consortium efforts and IBM soon announced its plans toopen up the complete scope of the AFP architecture to the consortium. In June 2007, IBM's role as founding

  • iv IPDS Reference

    member of the consortium was transferred to the InfoPrint® Solutions Company, an IBM/Ricoh® joint venture.In February 2009, the consortium was incorporated under a new set of bylaws with tiered membership andshared governance resulting in the creation of a formal open standards body called the AFP Consortium(AFPC). Ownership of and responsibility for the AFP architectures was transferred at that time to the AFPConsortium.

    Publication HistoryThe IPDS Reference was first published by IBM in 1987 and has had several enhancements and updatessince that time. The first eight editions were published by IBM Corporation and later editions were published bythe AFP Consortium.

    First Edition published by IBM CorporationS544-3417-00 dated August 1987

    Second Edition published by IBM CorporationS544-3417-01 dated March 1989

    This edition provides enhanced detail and clarification, including:• A more complete description of the Xm,Ym coordinate system and units of measure• More detail on Acknowledge Replies• More detail on exception handling and exception IDs

    The following major new functions were added:• Load Resource Equivalence command (later renamed to Activate Resource command)• New action codes and exception IDs.• Rules for copy group processing• STM property pairs and OPC self-defining field data• XOA Control Edge Marks command• XOH Set Media Origin command

    Third Edition published by IBM CorporationS544-3417-02 dated February 1990

    This edition provides an extensive restructuring to improve readability and ease of reference; thefollowing major new functions were added:• The Define User Area command provides additional control over the area of a page that isaccessible to an application program. This command can be used by a print-driver program to printnon-subvertible security labels.

    • The XOH Define Group Boundary command provides a means of grouping pages.• The XOH Specify Group Operation command provides a means of specifying an operation to beperformed on a group of pages. The operation can be performed by a printer or by a pre-processingor post-processing device attached to the printer.

    This edition describes the relationship between the IPDS architecture and the new SAA/CCSarchitectures that IBM announced in May 1989. Chapter One describes the function of IPDSarchitecture within Systems Application Architecture®. Chapter Fourteen provides additional detailabout IPDS functional divisions and supplies compliance and migration information.

    Description of some of the data that IPDS carries has been removed from this edition and a muchmore complete description of this data is provided in the following new books:Graphics Object Content Architecture Reference, SC31-6804Image Object Content Architecture Reference, SC31-6805Presentation Text Object Content Architecture Reference, SC31-6803

  • IPDS Reference v

    Fourth Edition published by IBM CorporationS544-3417-03 dated August 1991

    This edition was further restructured to improve readability and ease of reference; the following majornew functions were added:• A data type for each field in the syntax tables• Envelope media• Magnetic Ink Character Recognition (MICR) printing• Relative-metric fonts• Several new exception IDs• Two new image compression algorithms:1. ABIC (Bilevel Q-Coder) compression algorithm2. G3 Facsimile Two-Dimensional Coding 'Scheme (G3 MR) compression algorithm

    Description of some of the bar code data that IPDS carries has been removed from this edition and amuch more complete description of this data is provided in the following new book:Bar Code Object Content Architecture™ Reference, S544-3766

    Fifth Edition published by IBM CorporationS544-3417-04 dated August 1993

    This edition provides enhanced detail and the following major new functions:• Additional information added to all exception IDs• An overview section describing IPDS resources and resource processing• Enhanced Chapter 1 to describe how the IPDS Architecture fits into IBM's presentationenvironments

    • Enhanced description of IPDS presentation spaces and their coordinate systems• More complete glossary• Product identification in the XOH-OPC reply• Several new exception IDs• XOH Select Medium Modifications command• XOH Stack Received Pages command

    The following commands have been renamed:• “Delete Font” has been renamed to “Deactivate Font”• “Delete Overlay” has been renamed to “Deactivate Overlay”• “Delete Page Segment” has been renamed to “Deactivate Page Segment”• “Load Resource Equivalence” has been renamed to “Activate Resource”

    Sixth Edition published by IBM CorporationS544-3417-05 dated March 1996

    This edition provides enhanced detail and the following major new functions:• Activate Printer Alarm command• General enhancements include:– Additional information added to exception IDs– Deactivate Font command moved to Device-Control command set– Empty LFE commands now allowed– Font resource clarifications– New intervention required sense data– Presentation space mixing clarifications– Several new exception IDs– The term “data block” renamed to “object area”

  • vi IPDS Reference

    • Input media identification• IPDS Dialog management• Microfilm media• N-up page placement and orientation• Outline fonts including:– Adobe® Type 1 font technology– Query extensions– Separate code page and font character set resources

    • Replicate-and-trim mapping for IO Image• Resource query enhancements• Support for multiple media sources and multiple media destinations

    Seventh Edition published by IBM CorporationS544-3417-06 dated November 2002

    This edition provides enhanced detail and the following major new functions:• Activation failed NACK• All architected units of measure• Bilevel IO-Image color• CID-keyed font technology• Color fidelity• Cut-sheet emulation• Data object resources• Data validation and ribbon fault errors• Default character in outline code pages• Double-byte outline fonts• Double-byte raster to outline font migration support• EPS and EPS with transparency• Extended group ID format for OS/400®• Extended overlay and page segment support• Extended page counters control• External printer name• Finishing (cutting, folding, inserting, punching, stapling, stitching)• Finishing fidelity• Font character set extensions• Full-process text color (PTOCA PT3)• G3 MH image compression algorithm• GOCA box draw, image resolution, partial arcs, and process color• IOCA Image resources and IOCA tile resources• IOCA full-process color support (FS11, FS40, FS42, FS45)• Logical page and object area coloring and shading• Media identification by OID• Multiple raster-font resolutions• Named groups• Object container architecture• Object container OID for color mapping table• Operator-directed recovery• Page overlay rotation• PDF pages, PDF pages with transparency, and PDF resources• Physical media selection extensions• Postal bar codes (Australia Post, Dutch KIX, Japan Postal, and Royal Mail)• Presentation fidelity control

  • IPDS Reference vii

    • Printer-detected forms mismatch• Printer set-up verification• Resident color profiles• Resource version support• Saved pages• Scale-to-fill mapping option• Set Media Size enhancements• Toner saver• Two-dimensional (2D) bar codes (Data Matrix, MaxiCode, and PDF417)• UP3ITM finishing• XOH Separate Continuous Forms command

    Eighth Edition published by IBM CorporationS544-3417-07 dated May 2006

    This edition provides enhanced detail and the following major new functions:• Additional data objects: GIF, JFIF, JPEG2000, PCL®, and TIFF• Additional group information• Code 93 bar code• Color management• GCGID-to-Unicode enhancements• Identification of TrueType and OpenType font errors• Intelligent Mail® Barcode• JBIG2 image compression algorithm• MICR enhancements• PLANET bar code• QR Code 2D bar code• Rasterize Presentation Object command• Text fidelity control• TrueType/OpenType font support (data-object fonts)• UCC/EAN 128 bar code• UP3I Print Data

    Ninth Edition published by AFP ConsortiumAFPC-0001-01 dated June 2010

    This edition provides enhanced detail and the following major new functions:• Bind and trim finishing• Clarifications based on multiple-company experience• Cubic Bézier Curves GOCA drawing order• Data Matrix encodation• Desired bar code symbol width• Exception ID additions and updates• Exception IDs registered with action code X'1A'• Extension of IDO color override for IOCA• Image Resolution (X'9A') triplet• IOCA Set Extended Bilevel Image Color exception ID• Large copy set values• Multi-image TIFF containers• Multi-page PDF containers• Number of pages in a group• Partial arcs with clockwise drawing direction

  • viii IPDS Reference

    • Partial support for HTand TTC CMRs• Passthrough for audit color-conversion CMRs• Rasterize Presentation Object extensions for color management• Retired items identified• Royal Mail RED Tag bar code• Scale-to-Fill mapping option for graphics objects• Set default support in GDD for normal line width• Set default support in GDD for process color• Set Line End GOCA drawing order• Set Line Join GOCA drawing order• Small bar code symbol support• Tag Image File Format (TIFF) without transparency• Unicode values in IPDS code pages• UP3I Enhancements

    Tenth Edition published by AFP ConsortiumAFPC-0001-09 dated August 2011

    This edition provides enhanced detail and the following major new functions:• AFPC TIFF Subset• BCOCA™ subset BCD2• Clarifications for:– Color simulation when a page is saved– Description of sense-byte format 0 byte 18– Device resolution– Duplicate code point exception in an LCP command– EHC flags within an RPO command– Exception ID descriptions– Fidelity-control triplet descriptions and the Exception Handling Control flowchart– FQN (X'02') triplet in the AR command triplets-use table– IOCA self-defining fields table– PCA for exception IDs X'0200..01', X'021C..01', and X'021E..01'– Unsupported group ID formats in a Group Information (X'6E') triplet

    • CMOCA error codes X'12' and X'13'• GOCA subset GRS3• ICC DeviceLink CMRs• Intelligent Mail Container Barcode• IPDS support for MO:DCA™ Interchange Set 3 (IS/3)• Overview section to describe how color is specified within IPDS commands• PTOCA subset PT4• Retired Exception IDs more fully described• Specific error condition identified in NACKs for multi-bulleted exception IDs• Text glyph runs in PTOCA data– Allows better user control over text layout– Supports Unicode complex text

    • User-selected presentation-space size for PDF objects

  • IPDS Reference ix

    Eleventh Edition published by AFP ConsortiumAFPC-0001-10 dated June 2014

    This edition provides enhanced detail and the following major new functions:• Acknowledge Reply extended to allow additional debug information to be returned after an erroroccurs

    • Bar Code Type/Modifier Self-Defining Field for the OPC reply; also deprecates the Bar CodeCommon Set

    • Bearer Bars for Interleaved 2-of-5 bar codes• Color for Bilevel and Grayscale Image (allows color to be specified for all bilevel image objectssupported within IPDS pages and overlays; also allows grayscale images to be colorized)

    • Command and triplet descriptions updated to ensure mention of each appropriate exception ID incontext

    • Deprecated the Royal Mail RED TAG bar code type• Deprecated the USPS POSTNETand PLANET bar code types• Finishing operations for folding (center-fold out, c-fold in, c-fold out, accordion-fold in, accordion-foldout, single gate-fold in, single gate-fold out, double parallel-fold in, double parallel-fold out, doublegate-fold in, and double gate-fold out)

    • Glossary definition for the term “deprecated”• Glossary definitions for several terms (particularly color terms)• GOCA Custom Line Types• GOCA Marker Size support• GOCA Nonzero Winding Mode• GS1 DataBar bar codes• Human-readable object names for captured objects• Index entries provided for each exception ID definition indicating where the exception ID is definedand used

    • Internal rendering intent supported in presentation data objects; includes more information in theCMRs-Used trace entry

    • Keep Group Together as a Recovery Unit (new SGO Group Operation that allows repositioning anderror recovery on a group boundary)

    • Media Feed Direction returned in the OPC reply• Metadata Object Content Architecture (MOCA) added; metadata can be carried in MO:DCA printfiles and documents, but is currently not supported in IPDS data streams

    • New data stream structures:– 2 new action codes (X'1B' and X'2B')– 3 new commands (RRR, RRRL, and WTC)– 18 new exception IDs (X'4040..00' (with action codes X'1B' and X'2B'), X'0408..05', X'0412..04',X'0201..03', X'020A..06', X'020D..30', X'020D..31', X'020D..32', X'0238..04', X'0238..10',X'0238..11', X'0255..0B', X'0256..24', X'0293..00', X'0293..03', X'0293..04', X'0140..00' (with actioncodes X'1B' and X'2B'), X'0141..00')

    – 1 new XOA order (XOA Obtain Additional Exception Information)– 3 new XOH-OPC self-defining fields (X'000F', X'0024', and X'0027')– 3 new object self-defining fields (TAP, TOC, and TDD)– 15 new STM property pairs (X'1204', X'1205', X'1600', X'2001', X'4113', X'4114', X'4115', X'4132',X'4403', X'500E', X'5801', X'80F9', X'F102', X'F211', and X'FF03')

    • Object area orientation extended to any angle measured in degrees and minutes• Object container version information can now be returned in the XOH-OPC reply• Portable Network Graphics (PNG) objects (AFPC PNG Subset)• Preprinted Form Overlay (PFO) – provides a more accurate simulation of preprinted forms• Remove Resident Resource (RRR) – new command to allow deactivated data-object resources anddata-object-font components to be removed from the printer

    • Request Resident Resource List (RRRL) – new command to allow a print server to obtain a list of allprinter-resident resources that includes information useful to a resource administrator

  • x IPDS Reference

    • Royal Mail MailmarkTM bar codes• Text objects – allows text to be packaged in an object and positioned on a page or overlay like anyother presentation object; defines a new command called Write Text Control (WTC)

    • TIFF LZW with Differencing Predictor compression algorithm for IOCA images• Updates to the description of unsupported IOCA function in an IPDS environment• XOA Obtain Additional Exception Information – new XOA order to allow a printer server to obtainadditional debug information after a NACK has been reported

    • Clarifications for:– Color and color management– Exception IDs– Length field ranges– Mixing rules– Secondary resources– Text-major text– Triplets

  • IPDS Reference xi

    How to Use This BookThis book is divided into sixteen chapters and four appendixes:

    • Chapter 1, “A Presentation Architecture Perspective”, on page 1 introduces the AFPC presentationarchitectures and describes the role of data streams and data objects.

    • Chapter 2, “Introduction to IPDS”, on page 7 introduces the Intelligent Printer Data Stream as a componentof printing subsystems. This chapter also describes IPDS functional divisions.

    • Chapter 3, “IPDS Overview”, on page 17 describes the key concepts and terminology used by IPDSArchitecture.

    • Chapter 4, “Device-Control Command Set”, on page 117 describes the commands used to set up a logicalpage, communicate device controls, manage resources, and handle the acknowledgment protocol.

    • Chapter 5, “Text Command Set”, on page 435 describes the commands for presenting PTOCA textinformation in a page, a page segment, or an overlay.

    • Chapter 6, “IM-Image Command Set”, on page 457 describes the commands for presenting image rasterdata in a page, a page segment, or an overlay.

    • Chapter 7, “IO-Image Command Set”, on page 471 describes the commands for presenting IOCA imagedata in a page, a page segment, or an overlay.

    • Chapter 8, “Graphics Command Set”, on page 499 describes the commands for presenting GOCA graphicsdata in a page, a page segment, or an overlay.

    • Chapter 9, “Bar Code Command Set”, on page 525 describes the commands for presenting BCOCA data ina page, a page segment, or an overlay.

    • Chapter 10, “Object Container Command Set”, on page 541 describes the commands for downloading objectcontainers and presenting object container data in a page, a page segment, or an overlay.

    • Chapter 11, “Overlay Command Set”, on page 589 describes the commands for controlling frequentlyaccessed user data in a page, a page segment, or an overlay. An overlay contains its own environment andappears the same on every page on which it is printed.

    • Chapter 12, “Page-Segment Command Set”, on page 599 describes the commands for controlling frequentlyaccessed user data in a page. Unlike an overlay, a page segment is not independent of its pageenvironment.

    • Chapter 13, “Loaded-Font Command Set”, on page 603 describes the commands for downloading coded-font information to the printer.

    • Chapter 14, “Triplets”, on page 671 describes substructures called triplets that are used within some IPDScommands.

    • Chapter 15, “Exception Reporting”, on page 753 provides additional information about the AcknowledgeReply that is used by IPDS devices for exception reporting. A complete list of printer exception-reportingcodes is provided along with a description of page-counter and copy-counter adjustments.

    • Chapter 16, “Compliance”, on page 933 provides a complete description of the IPDS functional divisions,IPDS support requirements, and migration functions.

    • Appendix A, “IPDS Commands Sorted by Command Code”, on page 945 provides a table listing the IPDScommand codes in numeric order, the meaning of the codes, and the section in this document where theyare described.

    • Appendix B, “Examples of IPDS Command Sequences”, on page 947 provides examples of IPDS commandsequences that could be used to drive an IPDS printer.

    • Appendix C, “Image Compression and Recording Algorithms”, on page 955 provides a brief description ofthe algorithms used in the IO-Image command set for image compression and recording.

  • xii IPDS Reference

    • Appendix D, “Retired Items”, on page 961 lists each retired item that is mentioned within the body of thisbook and also lists those items that have been unretired.

    The “Glossary” on page 981 defines terms used within the book.

    How to Read the Syntax DiagramsThroughout this book, syntax is described using the following format that shows the syntax of a command in ahorizontal representation followed by a table showing the data of the command. Refer to “NotationConventions” on page 67 and “The IPDS Command Format” on page 70 for a detailed description of thecommand syntax. The syntax includes six basic data types:CODE Architected constantCHAR Character stringBITS Bit stringUBIN Unsigned binarySBIN Signed binaryUNDF Undefined type

    Command Syntax

    CommandLength

    Command ID Flags Correlation ID Data

    Data Syntax

    Offset Type Name Range Meaning Subset Range

    Thefield'soffset

    Thefield'sdatatype

    Name of field,if applicable

    Architecturallyvalid range ofvalues

    Meaning or purpose of the data element Range definedby a subset of anIPDS commandset

    Note: The specific heading for the subset range column in a table will identify a specific subset, such as PS1Range, or will indicate Required when the command does not belong to a specific subset.

    The following is an example of IPDS syntax (for the Deactivate Page Segment command):

    Length X'D66F' Flag CID Data

    The data field is as follows:

    Offset Type Name Range Meaning PS1 Range

    0–1 CODE HAID X'0000'

    X'0001' –X'7EFF'

    Deactivate All indicator

    Page Segment Host-Assigned ID

    X'0000'

    X'0001' –X'007F'

  • IPDS Reference xiii

    Related PublicationsSeveral other publications can help you understand the architecture concepts described in this book. AFPConsortium publications and a few other AFP publications are available on the AFP Consortium website,www.afpcinc.org.

    Table 1. AFP Consortium Architecture References

    AFPArchitecture Publication Order Number

    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 Advanced Function Presentation 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 Order Number

    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

    Publication Order Number

    Character Data Representation Architecture Reference and Registry;please refer to the online version for the most current information(http://www-306.ibm.com/software/globalization/cdra/index.jsp)

    SC09-2190 (IBM)

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

    Technical Reference for Code Pages S544-3802 (IBM)

  • xiv IPDS Reference

    Table 4. UP3I Architecture Documentation

    UP3I Publication Order Number

    Universal Printer Pre- and Post-Processing Interface (UP3I) Specification Available atwww.afpcinc.org

  • IPDS Reference xv

    Changes in This EditionChanges between this edition and the previous edition are marked by a vertical bar “|” in the left margin.

    This edition provides enhanced detail to support the IPDS products that were introduced in the years 2014through 2016 and to support the work of the AFP Consortium. Specifically, the following new function andclarification has been added:

    • Clarifications for:

    – Better identification of early IPDS products manufactured by IBM and Océ

    – IOCA self-defining fields have been labeled to distinguish them from IPDS self-defining fields; note thatboth IOCA and IPDS defines self-defining fields

    – Retired items and retired exception IDs

    – Sense data format used for various exception IDs

    • Glossary definitions for several terms (particularly color, FOCA, GOCA, and metadata terms)

    • Glossary updated to include the current definition for all AFP terms

    • GOCA custom patterns supported

    • GOCA linear and radial gradients supported

    • Improvements to object-container-version reporting:

    – Explicitly listed the object OIDs that constitute the variations when describing the object containers thathave variations defined for them

    – TrueType/OpenType added to the list of object containers that have variations defined for them

    • New appendix describing each numbered retired item and also items that have been unretired

    • New data stream structures:

    – 1 new text subset ID (LF4)

    – 2 new object OIDs (AFPC SVG Subset object and non-OCA resource object)

    – 3 new XOH-OPC self-defining fields (X'0025', X'0026', and X'0028')

    – 25 new STM property pairs (X'1206' , X'1207', X'1208', X'1209', X'120A', X'120B', X'1304', X'1305',X'2002', X'4116', X'4117', X'4130', X'4131', X'6004', X'6005', X'6006', X'6007', X'6008', X'6009', X'A0nn'(used in new places), X'F004', X'F005', X'F604', X'F605', and X'FC01')

    – 45 new and updated exception IDs (X'0109..00', X'020D..0F', X'020D..13', X'020E..02', X'020E..03',X'020E..04', X'020E..05', X'0256..B1', X'0256..B2', X'0256..B3', X'0256..B4', X'0257..02', X'027C..0D',X'0300..08', X'035E..00', X'0368..06', X'03DC..00', X'03DC..01', X'03DC..02', X'03DC..03', X'03DC..04',X'03DC..05', X'03DC..06', X'03DC..07', X'03DD..00', X'03DD..01', X'03DD..02', X'03DD..03', X'03DD..04',X'03DD..05', X'03DD..06', X'03DD..07', X'03DE..00', X'03DE..01', X'03DE..02', X'03DE..03', X'03DE..04',X'03DE..05', X'03DE..06', X'03DE..07', X'03DF..00', X'03DF..01', X'03DF..02', X'0500..04', and X'059B..10')

    • New finishing support:

    – New finishing operation for fold out

    – New finishing options field defined with a new option to crease instead of fold for all defined fold operations

    – New XOH-OPC Finishing Options self-defining field so that a printer can report all supported options

    • New OPC Recognized Group ID Formats self-defining field so that a printer can list the Group ID (X'00')triplet formats that are recognized; this self-defining field can help a host program to determine what GroupID format to use

  • xvi IPDS Reference

    • New OPC Supported Device Resolutions self-defining field so that a printer can provide a list of the currentlysupported resolutions; previously, the IM-Image and Coded-Font Resolution self-defining field providedsome of this information, but it was not always complete and it only covered the resolution-dependent datatypes

    • New subset ID LF4 added to the STM Loaded-Font command-set vector to identify support for FOCA codepages when LF3 FOCA fonts are not also supported; code pages are used with TrueType/OpenType fontobjects as well as with LF3 fonts

    • Printer support for the MO:DCA GA (Graphic Arts) function set

    • Seventeen new STM property pairs for functions that are optional, but previously not reported in STM replies

    • STM orientation-support property pair (X'A0nn') now used for all presentation objects

    • Support for Non-OCA Resource objects (used with PDF and SVG objects)

    • Support for Scalable Vector Graphics (SVG) objects

    • The description of the X'059B..10' exception was updated to include an ordered list of possible causes

    • TrueType/OpenType fonts can be used with OCA presentation objects and with PDF and SVG objects

    • Two new STM property pairs to cover options and choices related to the GOCA architecture (font positioningand cell positioning)

  • Copyright © AFP Consortium 1987, 2016 xvii

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

    Who Should Read This Book .....................................................................................................................iiiAFP Consortium (AFPC)...........................................................................................................................iiiPublication History.................................................................................................................................. ivHow to Use This Book ............................................................................................................................. xi

    How to Read the Syntax Diagrams.........................................................................................................xiiRelated Publications .............................................................................................................................. xiii

    Changes in This Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvFigures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviiTables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxixChapter 1. A Presentation Architecture Perspective. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

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

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

    Chapter 2. Introduction to IPDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7IPDS Architecture as a Component of Printing Subsystems..............................................................................8

    The Spooled System Environment ..........................................................................................................9The Mainframe Interactive Environment ................................................................................................. 10The Intelligent Workstation or Departmental System Environment ............................................................... 11The Local Area Network Environment.................................................................................................... 12

    Communication with an IPDS Device......................................................................................................... 13IPDS Functional Divisions ....................................................................................................................... 14

    Chapter 3. IPDS Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17The IPDS Presentation Environment ......................................................................................................... 17

    Cut-Sheet Emulation Mode ................................................................................................................. 22Overlays and Page Segments.............................................................................................................. 24Using an Overlay as a Preprinted Form.................................................................................................. 26IPDS Mixing Rules ............................................................................................................................ 27

    Foreground and Background ........................................................................................................... 27Merging Presentation Spaces.......................................................................................................... 28General Mixing Rules .................................................................................................................... 30Formblend Mixing Rule .................................................................................................................. 30IPDS Default Mixing Rule ............................................................................................................... 31

    Logical Page and Object Area Coloring.................................................................................................. 32Specifying Color ............................................................................................................................... 33Color Management............................................................................................................................ 35

    Basic Concepts ............................................................................................................................ 35CMR-Usage Hierarchy................................................................................................................... 35

    Data-Object-Level CMRs ........................................................................................................... 37Medium-Overlay-Level CMRs ..................................................................................................... 38Page-Overlay-Level CMRs ......................................................................................................... 38Page-Level CMRs .................................................................................................................... 38Home-State-Level CMRs ........................................................................................................... 38Default CMRs .......................................................................................................................... 39

    CMR-Usage Hierarchy Processing ................................................................................................... 39Selecting Color-Conversion CMRs ................................................................................................... 39Pass-Through Audit Color-Conversion CMRs ..................................................................................... 41CMR-Usage Hierarchy Summary ..................................................................................................... 42Color Management Compliance ....................................................................................................... 43

    Required Color-Management Function.......................................................................................... 43Optional Color-Management Function........................................................................................... 43

    Color Resource Relationships ......................................................................................................... 44Ordered Data ................................................................................................................................... 45

  • xviii IPDS Reference

    Fixed Medium Information................................................................................................................... 45Fonts.............................................................................................................................................. 45

    Coded-Font Components ............................................................................................................... 46Data-Object-Font Components ........................................................................................................ 46

    Expressing Linear Measurements ............................................................................................................. 47Coordinate Systems............................................................................................................................... 48

    Xm,Ym Coordinate System (Medium) ..................................................................................................... 48Xp,Yp Coordinate System (Logical Page) ................................................................................................ 53I,B Coordinate System (Text) ............................................................................................................... 55

    Character Development ................................................................................................................. 55I,B Orientation .............................................................................................................................. 56The Four Basic Object Orientations .................................................................................................. 57Other Object Orientations ............................................................................................................... 59

    Xt,Yt Coordinate System (Text)............................................................................................................. 60Xg,Yg Coordinate System (Graphics) ..................................................................................................... 60Xio,Yio Coordinate System (IO Image) .................................................................................................... 60Xbc,Ybc Coordinate System (Bar Code) .................................................................................................. 60Xoc,Yoc Coordinate System (Object Container) ......................................................................................... 60Xoa,Yoa Coordinate System (Object Area) ............................................................................................... 60Coordinate System Relationships ......................................................................................................... 61

    The Valid Printable Area ......................................................................................................................... 62The User-Printable Area ......................................................................................................................... 63Position Exceptions for Presentation Objects............................................................................................... 64Logical Positioning and Physical Pels ........................................................................................................ 65Processing IPDS Commands................................................................................................................... 66Notation Conventions ............................................................................................................................. 67L-Unit Range Conversion Algorithm........................................................................................................... 68The IPDS Command Format.................................................................................................................... 70Host Acknowledgment Requests .............................................................................................................. 71Printer Acknowledge Replies ................................................................................................................... 71IPDS Operating States ........................................................................................................................... 72

    Home State ..................................................................................................................................... 72Object States ................................................................................................................................... 73Page State ...................................................................................................................................... 74Overlay State ................................................................................................................................... 75Page Segment State.......................................................................................................................... 76Font State ....................................................................................................................................... 77Code Page State............................................................................................................................... 78IO-Image Resource State ................................................................................................................... 79Object-Container State....................................................................................................................... 80Anystate.......................................................................................................................................... 80Summary of the IPDS States and Commands ......................................................................................... 81

    IPDS Resources ................................................................................................................................... 86Resource IDs ................................................................................................................................... 87

    HAID Pools.................................................................................................................................. 89Resource Management ...................................................................................................................... 90

    Physical Presence of Resources ...................................................................................................... 90Availability of Resources ................................................................................................................ 92Invocation of Resources ................................................................................................................. 95Data Object Resources, Data-Object-Font Components, and Setup Files ................................................. 97Multi-Page Resource Objects ........................................................................................................ 101Pre-Rasterizing and Caching Presentation Objects ............................................................................ 102Saving and Including Pages .......................................................................................................... 103

    Relationship Between FOCA Character Metrics and TrueType Character Metrics ......................................... 105Horizontal Metrics ....................................................................................................................... 105Vertical Metrics........................................................................................................................... 106Simulating Vertical Metrics ............................................................................................................ 107

    Resource Management Summary....................................................................................................... 109Exception Handling...............................................................................................................................110

    Pages Exactly-As-Requested .............................................................................................................110Best-Possible Output ........................................................................................................................110Exception-Handling Combinations ....................................................................................................... 111

  • IPDS Reference xix

    Exception-Handling Control ................................................................................................................112Presentation Fidelity Control ...................................................................................................................113Color Simulation Guidelines....................................................................................................................114

    Simulating Out-of-Gamut Colors..........................................................................................................114Simulating Colors on a Black-Only Printer without Grayscale Capability .......................................................114Simulating Colors with Grayscale ........................................................................................................114

    Default Handling ..................................................................................................................................116

    Chapter 4. Device-Control Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117Acknowledge Reply ..............................................................................................................................118

    Acknowledge Reply Data Format........................................................................................................ 121Four-Byte Page and Copy Counter Format ....................................................................................... 121Eighteen-Byte Page and Copy Counter Format ................................................................................. 121

    General Rules for the Acknowledge Reply ............................................................................................ 125Activate Resource ............................................................................................................................... 127

    Activate Resource Triplet Considerations ............................................................................................. 147Apply Finishing Operations.................................................................................................................... 150

    Apply Finishing Operations Triplet Considerations.................................................................................. 151Begin Page ........................................................................................................................................ 152Deactivate Font................................................................................................................................... 153Define User Area................................................................................................................................. 158End .................................................................................................................................................. 160End Page .......................................................................................................................................... 161Include Saved Page............................................................................................................................. 162

    Group ID (X'00') Triplet Considerations ................................................................................................ 163Invoke CMR ....................................................................................................................................... 164Load Copy Control............................................................................................................................... 166

    Rules for Copy Subgroup Exception Processing .................................................................................... 182When The Page Is To Be Printed: ................................................................................................... 182When The Page Is Not To Be Printed: ............................................................................................. 183

    Load Font Equivalence ......................................................................................................................... 186Logical Page Descriptor........................................................................................................................ 194

    Area Coloring Triplet Considerations ................................................................................................... 199Invoke CMR (X'92') and Rendering Intent (X'95') Triplet Considerations ...................................................... 199

    Logical Page Position........................................................................................................................... 200Manage IPDS Dialog............................................................................................................................ 206No Operation...................................................................................................................................... 207Presentation Fidelity Control .................................................................................................................. 208Rasterize Presentation Object ................................................................................................................ 210

    Processing Rules ............................................................................................................................ 212Preprocessing Overlays ............................................................................................................... 212Preprocessing Data Object Resources ............................................................................................ 212Limitations................................................................................................................................. 213

    Command Syntax ........................................................................................................................... 214Color Specification (X'4E') Triplet Considerations............................................................................... 220Object Offset (X'5A') Triplet Considerations ...................................................................................... 221Invoke CMR (X'92') and Rendering Intent (X'95') Triplet Considerations.................................................. 221Image Resolution (X'9A') Triplet Considerations ................................................................................ 222Object Container Presentation Space Size (X'9C') Triplet Considerations................................................ 222

    Sense Type and Model ......................................................................................................................... 223Acknowledge Reply for Sense Type and Model...................................................................................... 223

    Device-Control Command-Set Vector.............................................................................................. 225Text Command-Set Vector ............................................................................................................ 234IM-Image Command-Set Vector ..................................................................................................... 237IO-Image Command-Set Vector ..................................................................................................... 239Graphics Command-Set Vector...................................................................................................... 243Bar Code Command-Set Vector ..................................................................................................... 246Object Container Command-Set Vector ........................................................................................... 249Overlay Command-Set Vector ....................................................................................................... 252Page Segment Command-Set Vector .............................................................................................. 252Loaded-Font Command-Set Vector................................................................................................. 253

    Set Home State .................................................................................................................................. 255Set Presentation Environment................................................................................................................ 256

  • xx IPDS Reference

    Presentation Environment Triplet Considerations ................................................................................... 257Execute Order Anystate........................................................................................................................ 258

    XOA Activate Printer Alarm ............................................................................................................... 259XOA Alternate Offset Stacker ............................................................................................................ 260XOA Control Edge Marks.................................................................................................................. 261XOA Discard Buffered Data............................................................................................................... 264XOA Discard Unstacked Pages.......................................................................................................... 265XOA Exception-Handling Control........................................................................................................ 266XOA Mark Form.............................................................................................................................. 278XOA Obtain Additional Exception Information........................................................................................ 279

    OAEI Reply ............................................................................................................................... 280XOA Print-Quality Control ................................................................................................................. 282XOA Request Resource List .............................................................................................................. 283

    Resource List Query.................................................................................................................... 284Resource List Reply .................................................................................................................... 292

    Execute Order Home State.................................................................................................................... 296XOH Deactivate Saved Page Group.................................................................................................... 298

    Group ID (X'00') Triplet Considerations ............................................................................................ 299XOH Define Group Boundary............................................................................................................. 300

    Coded Graphic Character Set Global Identifier (X'01') Triplet Considerations ........................................... 306Finishing Operation (X'85') Triplet Considerations .............................................................................. 306UP3I Finishing Operation (X'8E') Triplet Considerations....................................................................... 307

    XOH Eject to Front Facing................................................................................................................. 308XOH Erase Residual Font Data .......................................................................................................... 309XOH Erase Residual Print Data.......................................................................................................... 310XOH Obtain Printer Characteristics ......................................................................................................311

    OPC Command...........................................................................................................................311OPC Reply ................................................................................................................................ 312

    Printable-Area Self-Defining Field .............................................................................................. 314Symbol-Set Support Self-Defining Field....................................................................................... 318IM-Image and Coded-Font Resolution Self-Defining Field................................................................ 320Storage Pools Self-Defining Field............................................................................................... 321Retired Item 130 (Standard OCA Color Value Support Self-Defining Field) .......................................... 322Installed Features Self-Defining Field.......................................................................................... 323Available Features Self-Defining Field......................................................................................... 324Resident Symbol-Set Support Self-Defining Field .......................................................................... 326Print-Quality Support Self-Defining Field...................................................................................... 327XOA-RRL RT & RIDF Support Self-Defining Field.......................................................................... 328Activate Resource RT & RIDF Support Self-Defining Field............................................................... 329Medium Modification IDs Supported Self-Defining Field .................................................................. 330Deprecated (Common Bar Code Type/Modifier Self-Defining Field) ................................................... 331Bar Code Type/Modifier Self-Defining Field .................................................................................. 333Media-Destinations Self-Defining Field........................................................................................ 338Supported Group Operations Self-Defining Field ........................................................................... 339Product Identifier Self-Defining Field ........................................................................................... 340Object-Container Type Support Self-Defining Field ........................................................................ 343DF Deactivation Types Supported Self-Defining Field ..................................................................... 347PFC Triplets Supported Self-Defining Field .................................................................................. 348Printer Setup Self-Defining Field ................................................................................................ 349Finishing Operations Self-Defining Field ...................................................................................... 350UP3I Tupel Self-Defining Field ................................................................................................... 351UP3I Paper Input Media Self-Defining Field .................................................................................. 351Colorant-Identification Self-Defining Field .................................................................................... 352Device-Appearance Self-Defining Field ....................................................................................... 353Keep-Group-Together-as-a-Recovery-Unit Self-Defining Field.......................................................... 354Recognized Group ID Formats Self-Defining Field ......................................................................... 355Supported Device Resolutions Self-Defining Field ......................................................................... 356Object-Container Version Support Self-Defining Field..................................................................... 357Finishing Options Self-Defining Field .......................................................................................... 359

    XOH Page Counters Control.............................................................................................................. 360XOH Print Buffered Data................................................................................................................... 361XOH Remove Saved Page Group....................................................................................................... 362

  • IPDS Reference xxi

    Group ID (X'00') Triplet Considerations ............................................................................................ 362XOH Select Input Media Source ......................................................................................................... 364XOH Select Medium Modifications ...................................................................................................... 365XOH Separate Continuous Forms....................................................................................................... 367XOH Set Media Origin...................................................................................................................... 368XOH Set Media Size ........................................................................................................................ 376XOH Specify Group Operation ........................................................................................................... 380XOH Stack Received Pages .............................................................................................................. 387XOH Trace .................................................................................................................................... 388

    Acknowledge Reply for the XOH Trace Command ............................................................................. 393Printer-Generated Trace Entries..................................................................................................... 393

    Begin-Trace Trace Entry .......................................................................................................... 394Begin-Page Trace Entry ........................................................................................................... 397Begin-Overlay Trace Entry........................................................................................................ 402Begin-Presentation-Object Trace Entry ....................................................................................... 404CMRs-Used Trace Entry .......................................................................................................... 408CMR-Activation Trace Entry...................................................................................................... 412CMR-Invocation Trace Entry ..................................................................................................... 414Media-Source-Selection Trace Entry........................................................................................... 416Exception-ID Trace Entry ......................................................................................................... 417Free-Form Trace Entry ............................................................................................................ 418Include-Saved-Page Trace Entry ............................................................................................... 420Include-Overlay Trace Entry...................................................................................................... 421Include-Data-Object Trace Entry ................................................................................................ 423Device-Appearance Trace Entry ................................................................................................ 425Color-Fidelity Trace Entry ......................................................................................................... 426CMR-Tag-Fidelity Trace Entry ................................................................................................... 427Begin-Print-Unit Trace Entry ..................................................................................................... 428Trace-Full Trace Entry ............................................................................................................. 430End-Object Trace Entry............................................................................................................ 431CMR-Deactivation Trace Entry .................................................................................................. 433

    Chapter 5. Text Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435The Text Presentation Space ................................................................................................................. 435The Text Object Area............................................................................................................................ 436Mapping the Text Presentation Space ...................................................................................................... 437Interaction Between Text Objects and Text-Major Text ................................................................................. 437Load Equivalence................................................................................................................................ 438Write Text Control ................................................................................................................................ 440

    Text Area Position ........................................................................................................................... 441Text Output Control.......................................................................................................................... 444

    Area Coloring Triplet Considerations ............................................................................................... 447Invoke CMR (X'92') and Rendering Intent (X'95') Triplet Considerations.................................................. 447

    Text Data Descriptor ........................................................................................................................ 448Write Text .......................................................................................................................................... 450

    Spanning....................................................................................................................................... 450Unicode Support ............................................................................................................................. 451

    Unicode Complex Text ................................................................................................................. 451PTOCA Unicode Complex Text (UCT) Control Sequence .................................................................... 451PTOCA Glyph Layout Controls ...................................................................................................... 452

    Control Sequence Summary.............................................................................................................. 454

    Chapter 6. IM-Image Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457Write Image Control ............................................................................................................................. 459

    Image Size .................................................................................................................................... 461Input Image Data Format .................................................................................................................. 462Image Magnification ........................................................................................................................ 463Output Image Orientation.................................................................................................................. 464Output Image Location ..................................................................................................................... 465Image Color ................................................................................................................................... 467

    Standard OCA Color-Value Table ................................................................................................... 467Write Image ....................................................................................................................................... 469

  • xxii IPDS Reference

    Chapter 7. IO-Image Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471The IO-Image Presentation Space .......................................................................................................... 473The IO-Image Object Area..................................................................................................................... 474Mapping the IO-Image Presentation Space ............................................................................................... 474Using IO Image as a Resource ............................................................................................................... 475Write Image Control 2........................................................................................................................... 476

    Image Area Position ........................................................................................................................ 477Image Output Control....................................................................................................................... 480

    Area Coloring Triplet Considerations ............................................................................................... 489Invoke CMR (X'92') and Rendering Intent (X'95') Triplet Considerations.................................................. 490

    Image Data Descriptor ..................................................................................................................... 491Write Image 2 ..................................................................................................................................... 494

    Unsupported IOCA function in an IPDS Environment .............................................................................. 496

    Chapter 8. Graphics Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499Drawing-Order Coordinate System.......................................................................................................... 500Graphics Presentation Space Window ..................................................................................................... 501Graphics Object Area ........................................................................................................................... 501Positioning the Graphics Presentation Space Window................................................................................. 502Write Graphics Control ......................................................................................................................... 504

    Graphics Area Position..................................................................................................................... 505Graphics Output Control ................................................................................................................... 509

    Area Coloring Triplet Considerations ............................................................................................... 512Invoke CMR (X'92') and Rendering Intent (X'95') Triplet Considerations.................................................. 512Mapping Control Options .............................................................................................................. 513

    Scale-to-Fit Mapping ............................................................................................................... 513Scale-to-Fill Mapping............................................................................................................... 515Center-and-Trim Mapping......................................................................................................... 516Position-and-Trim Mapping....................................................................................................... 517

    Graphics Data Descriptor.................................................................................................................. 518Write Graphics.................................................................................................................................... 521

    Begin Segment Introducer................................................................................................................. 521Drawing Orders .............................................................................................................................. 522

    Chapter 9. Bar Code Command Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525Bar Code Presentation Space ................................................................................................................ 525Bar Code Object Area .......................................................................................................................... 526Positioning the Bar Code Presentation Space............................................................................................ 527Write Bar Code Control......................................................................................................................... 528

    Self-Defining Fields within the Write Bar Code Control ............................................................................ 528Bar Code Area Position .................................................................................................................... 529Bar Code Output Control .................................................................................................................. 533

    Area Coloring Triplet Considerations ............................................................................................... 535Invoke CMR (X'92') Triplet Considerations........................................................................................ 536

    Bar Code Data Descriptor ................................................................................................................. 537Color Specification (X'4E') Triplet Considerations............................................................................... 539

    Write Bar Code ................................................................................................................................... 540

    Chapter 10. Object Container Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541Object Container Presentation Space ...................................................................................................... 542Object Container Object Area................................................................................................................. 542Data Object Resource Equivalence ......................................................................................................... 544Deactivate Data-Object-Font Component ................................................................................................. 547Deactivate Data Object Resource ........................................................................................................... 548Include Data Object ............................................................................................................................. 549

    Data Object Area Position ................................................................................................................. 551Data Object Output Control ............................................................................................................... 554

    Override for Presentation Space Reset Mixing (X'70') triplet ................................................................. 558Color Management Resources ...................................................................................................... 558

    Data Object Data Descriptor .............................................................................................................. 559Override for Color Specification (X'4E') Triplet ................................................................................... 560Override for Object Offset (X'5A') Triplet .......................................................................................... 562Override for Image Resolution (X'9A') Triplet..................................................................................... 562

  • IPDS Reference xxiii

    Override for Object Container Presentation Space Size (X'9C') Triplet .................................................... 562Remove Resident Resource .................................................................................................................. 564Request Resident Resource List............................................................................................................. 566

    Acknowledge Reply for Request Resident Resource List ......................................................................... 567Write Object Container Control ............................................................................................................... 569

    Object Container Area Position .......................................................................................................... 570Object Container Output Control......................................................................................................... 573

    Area Coloring Triplet Considerations ............................................................................................... 576Invoke CMR (X'92') and Rendering Intent (X'95') Triplet Considerations.................................................. 576Mapping Control Options .............................................................................................................. 577

    Scale-to-Fit Mapping ............................................................................................................... 577Center-and-Trim Mapping......................................................................................................... 578Position-and-Trim Mapping....................................................................................................... 579Position Mapping.................................................................................................................... 580Scale-to-Fill Mapping............................................................................................................... 580UP3I-Print-Data Mapping.......................................................................................................... 581

    Object Container Data Descriptor ....................................................................................................... 583Color Management Triplet Considerations........................................................................................ 584Color Specification (X'4E') Triplet Considerations............................................................................... 585Image Resolution (X'9A') Triplet Considerations ................................................................................ 585Object Offset (X'5A') Triplet Considerations ...................................................................................... 586Object Container Presentation Space Size (X'9C') Triplet Considerations................................................ 586TrueType/OpenType Font Triplet Considerations ............................................................................... 586

    Write Object Container ......................................................................................................................... 587

    Chapter 11. Overlay Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589Overlay Command-Set Commands ......................................................................................................... 589Begin Overlay..................................................................................................................................... 591Deactivate Overlay .............................................................................................................................. 593Include Overlay................................................................................................................................... 595

    Chapter 12. Page-Segment Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599Page-Segment Command-Set Commands ............................................................................................... 599Begin Page Segment ........................................................................................................................... 600Deactivate Page Segment..................................................................................................................... 601Include Page Segment ......................................................................................................................... 602

    Chapter 13. Loaded-Font Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603Graphic Character Placement Fundamentals ............................................................................................ 604

    Font Inline Sequences...................................................................................................................... 605Font Parameter Relationships............................................................................................................ 609

    Characters Printed in the 0° Font Inline Sequence ............................................................................. 609Characters Printed in the 90° Font Inline Sequence............................................................................ 610Characters Printed in the 180° Font Inline Sequence ...........................................................................611Characters Printed in the 270° Font Inline Sequence .......................................................................... 612

    Printing a Kerned Character .............................................................................................................. 613Printing an Underscore Character....................................................................................................... 613Printing an Underscore with PTOCA PT2 ............................................................................................. 614

    LF1-Type Coded-Font Command Summary .............................................................................................. 615The Long Format LFI ....................................................................................................................... 616The Short Format LFI....................................................................................................................... 616Parts of an LF1-Type Coded Font ....................................................................................................... 617

    LF2-Type Coded-Font Command Summary .............................................................................................. 618LF3-Type Coded-Font Command Summary .............................................................................................. 618LF4-Type Code-Page Command Summary............................................................................................... 619Invoking a Coded Font.......