This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A command-line tool in Python. Pass it one or more text files, or pipe something from stdin, and it will produce a text-only PDF file.

Handy for quickly printing plain text content in a clean and predictable format. Specify font, font size, orientation and paper size from the command line.

Installation

Grab the file pdfpipe.py and execute it, or:

pip install pdfpipe

Or, you can download the source and

python setup.py install

or

sudo python setup.py install

if required.

Command-Line Usage

In your command-line:

echo "Hello from a PDF file named output.pdf" | pdfpipe.py

Or

pdfpipe.py -p -b -o printable.pdf -s 14 -g Letter --title "Reports for today" report*.txt

Type

pdfpipe.py --help

for more information on the available options.

Fonts and Unicode

The FPDF library knows about the following font families:

Courier, Arial, Times, Symbol, ZapfDingbats

Which can all be chosen as the font with the -f option. By default, Courier will be used for the monospace font, Arial (helvetica) for proportional (-p).

If you need to print non-latin text, or want a different font for any other reason, instead specify the full path to a TTF font file. E.g.:

./pdfpipe.py unicode_text.txt -f "/Library/Fonts/Arial Unicode.ttf"
Release History

Release History

1.0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pdfpipe-1.0.1.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 Source Sep 25, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting