Skip to main content

Convert G5 book PDF into a A4, maintaining the real sizes.

Project description

G5toA4

A simple Python program that converts G5 books in A4 pages.

Why

  • You are in a Nordic country
  • You want to pre-print your thesis, which is in G5 format
  • You want to be a bit environmental friendly, and save some paper
  • You discover that 2 G5 pages may fit in the same A4 page
  • Your operating system print dialog is not able to fit them without cropping
  • ...
  • You use this tool to get a ready-to-print A4 PDF with 2 pages per side

Usage

Install from pypi:

pip install G5toA4

And directly execute it:

G5toA4 thesis.pdf

Optionally, specify the output file:

G5toA4 thesis.pdf thesis_a4.pdf

Local install

Clone this repository, then:

pip3 install -r requirements.txt
python3 -m G5toA4 thesis.pdf

License

The code in this repository is licensed under the GNU Public License v3, see LICENSE to know more.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

g5toa4-0.3.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

g5toa4-0.3-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file g5toa4-0.3.tar.gz.

File metadata

  • Download URL: g5toa4-0.3.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for g5toa4-0.3.tar.gz
Algorithm Hash digest
SHA256 d76c93137eb770f618f0afd5fa66092c6b315939b0daa3e9232efa2cf6458e9c
MD5 d25d37d2c76e072454c175233861daa8
BLAKE2b-256 1f739dc542bb16868c87dc2550fab7373ba516ef4646378e4c2984325b6ad673

See more details on using hashes here.

File details

Details for the file g5toa4-0.3-py3-none-any.whl.

File metadata

  • Download URL: g5toa4-0.3-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for g5toa4-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 66a15321c00bdfa7e64e925a702f1aa31a72352e63073e3bf17ae4ff46999ff9
MD5 1d9fb345ebe27b55e35281a05705e560
BLAKE2b-256 ac8b4c0c309fd1fe3f0c4aadef5834eb87953b695112b32764e6af42c507215f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page