Skip to content
项目

关于

pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.

效率与自动化

这些数字如何统计

可以做什么

  • 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.

实测星标增长

24小时
0
7天
+2
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Build Static Binaries

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.

Alternatively, you can install it:

  • on macOS with homebrew: brew install pdftilecut
  • on ArchLinux from AUR: yay -S pdftilecut

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.

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

Warning: if printing, ensure your print settings are not re-scaling the output (e.g. Scale to fit option must be off, and scale set to 100%). Always start with a single page and ensure dimensions are correct before printing all tiles.

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

Build & Development

You need yasm, cmake, automake, autogen, git, go >= 1.18, coreutils and C compiler.

Build using make and the static binary will be output to bin/pdftilecut.

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.

探索相关项目

加载中…