Created
September 25, 2018 21:05
-
-
Save eyelash/f3e7f6df5d4b30a9f9d3472527dc3091 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| pdftocairo -svg $1 /tmp/print.svg | |
| sed -i 's/rgb(0%,0%,0%)/rgb(12%,12%,12%)/g' /tmp/print.svg | |
| rsvg-convert -f pdf /tmp/print.svg > $1.print.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment