Skip to main content
When generating PDF output (output_format: "pdf"), you can configure prepress settings for professional printing.

Quick start

For most use cases, one of the presets handles everything:

Presets

Presets bundle common settings for specific use cases.

generic (default)

Standard PDF output for most uses:
  • RGB color space
  • White background (no transparency)
  • Bleed/crop marks are controlled by pdf.profile (defaults to document)
Use for: General downloads, archiving, non-print workflows.
If you want the API to automatically choose press for trimmed products (postcards/cards) and document for letters, set pdf.profile: "auto".

lob

Optimized for Lob.com print API:
  • Forces PDF/X-1a (CMYK)
  • Includes bleed on trimmed products (postcards, cards)
  • No crop marks (Lob handles trimming)
  • GRACoL 2013 ICC profile (US), PSO Coated v3 (EU)
Use for: Lob.com direct mail integration.

click2mail

Optimized for Click2Mail:
  • Standard PDF (not PDF/X-1a)
  • No crop marks or slug (clean edges)
  • Larger bleed for US trimmed products (6.35mm / 0.25”)
  • Press profile for postcards, document profile for letters
Use for: Click2Mail portal uploads.

PDF standards

pdf (default)

Standard PDF with RGB color:
  • Compatible with all PDF viewers
  • White background
  • Supports profile/region/bleed options

pdfx1a

PDF/X-1a:2001 for strict print preflight:
  • CMYK color only (Ghostscript conversion)
  • No transparency
  • Embedded ICC profile
  • Required by some commercial printers
The lob preset automatically sets standard: "pdfx1a". You don’t need to specify both.

ICC profiles

For PDF/X-1a output, choose an ICC profile for color conversion:

Profiles

For standard PDF output, the profile controls bleed and crop marks:

document

Clean page with no print production marks:
  • No bleed area
  • No crop marks
  • Page size matches paper size exactly
This is the default (pdf.profile defaults to document).

auto

Automatically chooses a sensible profile based on page size:
  • press for trimmed products: postcard_us, card_5x7, card_a2, square_5x5, card_96x135
  • document for letters/envelopes and other formats

press

Print-ready with bleed and trim guides:
  • Includes bleed area around content
  • Adds crop marks for trimming
  • Includes slug area for marks
Use this when you need print production marks and bleed (common for postcards/cards).

Bleed settings

Bleed is extra content area that extends beyond the trim line, ensuring no white edges after cutting.

Regional defaults

When profile is press and bleed is not specified:

Custom bleed

Override with bleed_mm:

Region

Region affects default bleed, ICC profile selection, and crop mark style:

Auto-detection

When region: "auto" (default):
  • ISO sizes (a3, a4, a5, a6, dl, card_96x135) → eu
  • US sizes (letter, legal, postcard_us, etc.) → us

Crop box

Controls the visible area in PDF viewers:

PDF boxes explained

PDF prepress uses several box definitions:
  • TrimBox: The intended final product size
  • BleedBox: TrimBox plus bleed area
  • MediaBox: Full page including crop marks and slug

Examples

Postcard for Lob

A4 letter for download

Press-ready greeting card