Skip to content

stytri/t2p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

t2p

Version 1.0.0

Description

A very simple text to pdf file convertor. There is no inline formatting, all options are configured via the command line; the conversion routine just handles new-lines and form-feeds.

Command Line

usage: t2p [OPTION]... [FILE]...
A simplified Text to PDF convertor.
options:
  -h, --help                                 display this help and exit
      --version                              display version and exit
      --license                              display license and exit
      --readme                               display readme and exit
  -o, --output FILE                          output to FILE
  -t, --title TITLE
  -a, --author AUTHOR
  -s, --subject SUBJECT
  -c, --creator CREATOR
  -p, --producer PRODUCER
  -d, --date DATE
  -f, --font [FONT][:SIZE]
  -z, --paper-size FORMAT
  -m, --margin HORIZONTAL[:VERTICAL][UNITS]
  -n, --lines COUNT[UNITS]

FORMAT:
	A4
	A5
	A6
	A7
	A8
	B4
	B5
	B6
	B7
	B8
	Ledger
	Legal
	Letter
	Memo
	ID-1
	ID-2
	ID-3
	WIDTHxHEIGHT[UNITS]
UNITS:
	in, inch    inches
	mm          millimeters

Building

Uses:

Build with:

About

Text to PDF

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages