https://github.com/depermitto/pbook
Produce booklet layout for PDFs
https://github.com/depermitto/pbook
command-line command-line-tool imposition java printing scala
Last synced: 10 months ago
JSON representation
Produce booklet layout for PDFs
- Host: GitHub
- URL: https://github.com/depermitto/pbook
- Owner: Depermitto
- License: mit
- Created: 2024-06-08T10:58:50.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-25T13:43:39.000Z (over 1 year ago)
- Last Synced: 2025-01-29T11:30:38.905Z (over 1 year ago)
- Topics: command-line, command-line-tool, imposition, java, printing, scala
- Language: Scala
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deprecated. Use [jbook](https://github.com/Depermitto/jbook) instead
> Requires java 8 or up installed
Simple commandline utility for creating booklet-style PDFs.
## Usage
```shell
java -jar pbook.jar [-hV] [--duplex] file
file
-h, --help Show this help message and exit.
--split Split the booklet into two (front and back) PDF files.
-V, --version Print version information and exit.
```
## Example of usage
`java -jar pbook.jar --split some-pdf-file.pdf`
pbook will produce two independent files for printing. One for front one for back. For double-sided printers omit the `--split` option.
# Installation
Either grab a **jar** from the releases or build from source:
```shell
git clone gilab.com/Depermitto/pbook
cd pbook
sbt test assembly
```
# License
The project is licensed under the MIT license.