Paper Muncher

Usage

Paper-Muncher is a document rendering tool that converts web documents into high-quality PDFs or rasterized images using the Vaev layout engine. It supports HTTP and local I/O, and CSS units for layout configuration.

Commands


print

paper-munch print <input> -o <output> [options]

Renders a web document to a print-ready file (typically PDF).

Options:

Examples:

paper-munch print article.html -o out.pdf
paper-munch print article.html -o out.pdf --paper Letter --orientation landscape
paper-munch print article.html -o https://example.com/doc.pdf --output-mime application/pdf

render

paper-munch render <input> -o <output> [options]

Renders a web document to a raster image (BMP, PNG, etc.).

Options:

Examples:

paper-munch render page.html -o out.bmp
paper-munch render page.html -o out.png --width 1024px --height 768px --density 192dpi
paper-munch render page.html -o out.png --wireframe