An open API service indexing awesome lists of open source software.

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

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.