readAFP πŸ”Beta
Home β€Ί Guides β€Ί AFP Object Types Explained: PTOCA, IOCA, BCOCA, GOCA, FOCA

AFP Object Types Explained: PTOCA, IOCA, BCOCA, GOCA, FOCA

Inside an AFP file, the actual page content is carried by a family of object content architectures, each specialized for one kind of content. Here's what each one is β€” with a live sample you can open in readAFP.

PTOCA β€” Presentation Text

The text on the page. PTOCA control sequences position each run of characters to an exact coordinate and set the font, color, and orientation. This is how a statement's numbers and labels land precisely where the form expects them. Open a text sample β†’

IOCA β€” Image Object Content

Raster images and photographs, including bilevel scans, grayscale, JPEG, and banded CMYK color. Open an image sample β†’

BCOCA β€” Bar Code Object Content

Bar codes described by symbology, module size, and data, rather than as a picture β€” so the printer renders a crisp symbol. QR Codes are common. Open a bar-code sample β†’

GOCA β€” Graphics Object Content

Vector graphics: lines, boxes, arcs, and BΓ©zier curves drawn from drawing orders, plus area fills and color. Open a graphics sample β†’

FOCA β€” Font Object Content

Fonts β€” both raster (bitmap) glyphs and outline font programs β€” that an AFP file can embed so its text prints in exactly the right typeface. Open a font sample β†’

All of these sit within the MO:DCA structured-field stream. To see them decoded together, open any file in readAFP.

Open your AFP file free, in your browser β†’