Last active
December 25, 2018 22:14
-
-
Save Wikinaut/986e49baf516a0d459e35c6148517cb6 to your computer and use it in GitHub Desktop.
35c3 Fahrplan to PDF: How to create coloured PDFs from the 35C3 Fahrplan https://twitter.com/Wikinaut/status/1077679091514515456
This file contains 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
# Firefox lovers use | |
for i in 1 2 3 4; do firefox --headless --screenshot $i.pdf https://fahrplan.events.ccc.de/congress/2018/Fahrplan/schedule/$i.html; done | |
# Chromium lover use | |
for i in 1 2 3 4;do chromium --headless --disable-gpu --print-to-pdf=$i.pdf https://fahrplan.events.ccc.de/congress/2018/Fahrplan/schedule/$i.html;done | |
# the simple way: fetch the small B/W pdf and compose a single pdf | |
for i in 1 2 3 4; do wget https://fahrplan.events.ccc.de/congress/2018/Fahrplan/schedule/$i.pdf; done | |
# put all into one file | |
pdftk 1.pdf 2.pdf 3.pdf 4.pdf output alldays.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment