Skip to main content

Printer Mark Annotations

A printer mark annotation identifies printer marks in a PDF document. Printer marks include registration marks, crop marks, color bars, and other marks used during commercial printing.

Printer mark annotations are intended for prepress workflows and PDF processing. They identify or preserve printer marks in a document. PDF viewers may ignore these annotations or display them differently.

Use the PrinterMarkAnnotation class to create a printer mark annotation. Specify the annotation bounds and add the annotation to a page.

The following code snippet marks an area that contains printer marks in a document prepared for commercial printing:

void markPrintArea(Page page) {
    PrinterMarkAnnotation annotation =
            new PrinterMarkAnnotation(
                    new RectangleF(15, 15, 25, 25));

    page.getAnnotations().add(annotation);
}
See Also