Skip to content

Some simple bash scripts I made when writing my Master's thesis.

License

Notifications You must be signed in to change notification settings

matsest/print-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

print-tools

Some useful scripts for making sure your master's thesis gets printed correctly

Check fonts

To make sure you generated PDF have the fonts embedded subset. Prints the fonts, page by page to stdout.

Usage

$ check-pdf-fonts.sh <pdf-file>

Print preview

It is recommended writing a thesis in A4 format, which upon printing is scaled to B5.

To get a better sense of how the printed size will be (fonts, figures, etc.), this script shrinks the pages to B5 size and frames it in a B5-sized box on printable A4 pages. A new file is created in the same directory as the input file.

The output will likely be lower quality than input, so do not use for checking print quality.

If you write it in B5 and want to print it on A4 in the same sized box, add the --b5 flag.

Usage

$ master-print-preview.sh <pdf-file> [--b5]

Dependencies

  • sudo apt install poppler-utils
  • pdftk
  • pdfscale (incl. dependencies)

Limitations

  • Tested on Ubuntu 18.04

Licence

About

Some simple bash scripts I made when writing my Master's thesis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages