> ## Documentation Index
> Fetch the complete documentation index at: https://docs.heychocolate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Print Export

> Export sustainability data and labels for physical packaging, print media, and documentation.

The Print Export module generates print-ready assets from sustainability data — labels, certificates, QR codes, and formatted data sheets for physical packaging and marketing materials.

## Generating a print label

```graphql theme={null}
mutation {
  generatePrintLabel(input: {
    productId: "prod_abc123"
    format: PDF
    template: SUSTAINABILITY_LABEL
    dimensions: { width: 100, height: 60, unit: MM }
    locale: "nl"
  }) {
    url
    format
    expiresAt
    dimensions {
      width
      height
      unit
    }
  }
}
```

## Available templates

| Template               | Description                                 | Typical use          |
| ---------------------- | ------------------------------------------- | -------------------- |
| `SUSTAINABILITY_LABEL` | Compact eco-label with score and icon       | Product packaging    |
| `CARBON_CERTIFICATE`   | Detailed impact certificate                 | Documentation, proof |
| `QR_DPP`               | QR code linking to Digital Product Passport | Packaging, tags      |
| `COMPARISON_CARD`      | Side-by-side product comparison             | Marketing collateral |
| `SUPPLY_CHAIN_SUMMARY` | Summarized supply chain visualization       | Brochures            |
| `IMPACT_BADGE`         | Visual impact badge                         | Stickers, tags       |

## Export formats

| Format | Description                                       |
| ------ | ------------------------------------------------- |
| `PDF`  | Print-ready PDF with CMYK color profile           |
| `SVG`  | Scalable vector for integration into design tools |
| `PNG`  | Raster image at specified DPI                     |
| `EPS`  | Encapsulated PostScript for professional printing |

## Batch export

Generate labels for multiple products at once:

```graphql theme={null}
mutation {
  batchGeneratePrintLabels(input: {
    productIds: ["prod_abc123", "prod_def456", "prod_ghi789"]
    format: PDF
    template: SUSTAINABILITY_LABEL
    dimensions: { width: 100, height: 60, unit: MM }
    dpi: 300
  }) {
    labels {
      productId
      url
    }
    archiveUrl
  }
}
```

## Custom data fields

Include specific data points on labels:

```graphql theme={null}
mutation {
  generatePrintLabel(input: {
    productId: "prod_abc123"
    format: SVG
    template: SUSTAINABILITY_LABEL
    fields: [CO2_EQUIVALENT, MKI_SCORE, RECYCLED_CONTENT, CERTIFICATION]
    showQrCode: true
    qrCodeTarget: DPP
  }) {
    url
    format
  }
}
```

## Use cases

* **Packaging**: Eco-labels on physical product packaging
* **Marketing**: Impact certificates for brochures and presentations
* **Retail**: Shelf labels with sustainability scores
* **Compliance**: QR codes linking to Digital Product Passports
