Free plan

Print marks

Add crop marks and other marks that print shops ask for
POST
/v1/pdfs/print-marks

About this tool

This tool adds the marks a print shop needs around each page: crop marks showing where to cut, registration marks, colour bars and a line of page information. It adds extra margin around the page to hold them. Bleed (extra picture past the cut line) is set here, but your artwork must already reach that far.
For example, you prepare business cards and the print shop asks for crop marks and 3 mm of bleed.

How to use it

  1. Choose this tool.
  2. Add your PDF.
  3. Choose which marks you want and which pages get them.
  4. Set the bleed and the size and colour of the marks if the print shop asked for specific values.
  5. Press Generate, then download the new PDF.

What you get back

You get a new PDF with the marks added around every chosen page, ready to download and send to the printer.
GOOD TO KNOW
The bleed is not drawn: the artwork must already extend past the trim. Marks are drawn in the CMYK colour space. Counts as one PDF operation.
TEST IT LIVE

Try Print marks in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
PDFs
Plan
Free
Method
POST
Endpoint
/v1/pdfs/print-marks
Tool ID
pdfs.print-marks
Authentication
API key
Accepts
PDF
Background jobs
Yes
Usage group
Pdf
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/pdfs/print-marks" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'file=@document.pdf' \
  -F 'pages=1-3' \
  -F 'marks=["crop","registration"]' \
  -F 'bleed=3'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.pdfs.printMarks({
    "file": 'document.pdf',
    "pages": "1-3",
    "marks": "[\"crop\",\"registration\"]",
    "bleed": 3
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->pdfs()->printMarks([
    'file' => 'document.pdf',
    'pages' => '1-3',
    'marks' => '["crop","registration"]',
    'bleed' => 3,
]);
echo $result->requestId;
FAQ

Frequently asked questions

Add what a print shop asks for: crop marks, registration marks, colour bars and a page-info line in a margin (slug) around every page, with the trim box and bleed box set to the original page size and the bleed.

Print marks accepts PDF. You can send several files in one request.

Print marks is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/pdfs/print-marks with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.