Skip to content

Shell script to convert Gradle PDF user guide to use printer friendly colors

Notifications You must be signed in to change notification settings

d4nj1/GradleDocPrintScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GradleDocPrintScript

Shell script to convert code listing colors in Gradle PDF to be printer friendly. Script uses "pdftk" and "mimetype" command. Be shure you have them installed on your system. Written and tested with version 2.0 of the Gradle user guide.

Steps to do:

  1. Download the gradleDocColors.sh script
  2. Go to http://www.gradle.org/documentation and download the userguide.pdf
  3. Set script to be executable chmod +x gradleDocColors.sh
  4. Start the script with the userguide.pdf as parameter ./gradleDocColors.sh userguide.pdf
  5. The script will then uncompress the pdf, change it's colors and then compresses it again
  6. New document is named as the original but with prefix "print-"

Original code style:

original style screenshot

Java code style: (default)

java style screenshot

Groovy code style: (changeable in script)

groovy style screenshot

About

Shell script to convert Gradle PDF user guide to use printer friendly colors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages