Skip to content
command-line utility for booklet printing
Rust Dockerfile
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
src
tests
.dockerignore
.gitignore
Cargo.lock
Cargo.toml
Dockerfile
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

mkbookpdf

Actions Status Actions Status Crates.io Crates.io Docker Cloud Automated build Docker Cloud Build Status MicroBadger Layers MicroBadger Size

mkbookpdf is a simple command-line utility for booklet printing.

Usage

# prints input.pdf as a booklet
$ mkbookpdf input.pdf -p

# writes the converted PDF to output.pdf
$ mkbookpdf input.pdf -o output.pdf

Installation

Download the latest compiled binary from links below and put it in your executable path.

Platform Download
Linux 64-bit mkbookpdf-x86_64-unknown-linux-musl
macOS 64-bit mkbookpdf-x86_64-apple-darwin
Windows 64-bit mkbookpdf-x86_64-pc-windows-msvc.exe

Note that mkbookpdf has no runtime requirements, except that printing feature (-p, --print) requires lp utility to be installed in your system. (this means you can't use -p in windows)

with Cargo

$ cargo install mkbookpdf

with Docker

# place this in your shell configuration (.bashrc, .zshrc, etc...)
$ alias mkbookpdf="docker run --rm -v $(pwd):/data -v /var/run/cups:/var/run/cups coorde/mkbookpdf"

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

You can’t perform that action at this time.