pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 875ee02 Dec 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img Add readme Dec 1, 2018
qpdf Compress new streams on output Dec 1, 2018
.gitignore Initial commit Dec 1, 2018
.gitmodules Initial commit Dec 1, 2018
LICENSE Add license Dec 1, 2018
Readme.md fixed original Dec 3, 2018
build Initial commit Dec 1, 2018
go.mod Initial commit Dec 1, 2018
go.sum Initial commit Dec 1, 2018
logo.go Initial commit Dec 1, 2018
main.go Compress new streams on output Dec 1, 2018
vecchars.go Initial commit Dec 1, 2018

Readme.md

pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers. This operation is sometimes called posterizing (related to printing large posters on home printers) and tile cropping.

Installation

Latest statically linked binaries are available on releases page.

Features

  • Statically compiled Go binaries with no OS dependencies.
  • Multi page PDF support. Each page can be of arbitrary size.
  • Each output page has appropriate PDF bleed and trim boxes set (so you can give it to a printing house and get back correctly trimmed pages).
  • Print marks to assist with accurate trimming and arranging.
  • Small increase in output size.

Usage

We want to print mars.pdf from the beautiful NASA posters collection, which comes in 20x30 inch size, on A4 papers:

$ pdftilecut -tile-size A4 -in mars.pdf -out mars_a4.pdf

Below on the left is the original poster, and two of its tiles on the right:

Poster before and after

The header contains the original page number and a tile reference for easier arranging:

Tile heading

Credits

The amazing QPDF library is used to parse and write back modified PDF files. QPDF relies on libz and libjpeg. Library sources are not included in this repo and must be downloaded separately.