| Crates.io | mkbookpdf |
| lib.rs | mkbookpdf |
| version | 1.1.0 |
| created_at | 2019-10-13 15:31:10.405299+00 |
| updated_at | 2020-02-27 08:30:21.552333+00 |
| description | a command-line utility for booklet printing |
| homepage | https://github.com/coord-e/mkbookpdf |
| repository | https://github.com/coord-e/mkbookpdf |
| max_upload_size | |
| id | 172147 |
| size | 248,943 |
mkbookpdf is a simple command-line utility for booklet printing.
# prints input.pdf as a booklet
$ mkbookpdf input.pdf -p
# writes the converted PDF to output.pdf
$ mkbookpdf input.pdf -o output.pdf
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)
$ cargo install mkbookpdf
# 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"
Licensed under either of
at your option.
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.