Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/depermitto/pbook
Produce correct booklet layout using imposition and use it with any printing solution
https://github.com/depermitto/pbook
command-line command-line-tool imposition java printing scala
Last synced: 25 days ago
JSON representation
Produce correct booklet layout using imposition and use it with any printing solution
- Host: GitHub
- URL: https://github.com/depermitto/pbook
- Owner: Depermitto
- License: mit
- Created: 2024-06-08T10:58:50.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-06-10T21:50:00.000Z (5 months ago)
- Last Synced: 2024-10-01T15:59:19.329Z (about 1 month ago)
- Topics: command-line, command-line-tool, imposition, java, printing, scala
- Language: Scala
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pbook
> Requires java 8 or up installedSimple and feature limited commandline utility for booklet style printing.
**pbook** is designed to be used in junction with some other printing solution. In short, it reorders pages to be in line with a booklet style print. To not mess up your print: **print xyz_booklet_front.pdf first -> flip -> then print xyz_booklet_back.pdf**
## Usage
`java -jar pbook.jar [-dhV] [-n=n] filename`
* -d, --duplex Reorder pages into a single pdf file for duplex-equipped printers
* -h, --help Show this help message and exit.
* -n, --name-preserve=n How much of original filename to preserve
* -V, --version Print version information and exit.## Example of usage
`java -jar pbook.jar some-pdf-file.pdf`
pbook will produce two independent files for printing. One for front one for back. For duplex-equipped printers use the `--duplex` option.# Installation
There is no need to clone or compile anything, one can just grab a **jar** from the releases. Alternatively
```bash
git clone gilab.com/Depermitto/pbook
cd pbook
sbt run [args...]
```# License
The project is licensed under the MIT license. Feel free to modify and distribute however you so choose.