Closed rj-jesus closed 5 years ago
I wonder if the script actually makes a difference, i.e. is it in fact cheaper to print? If not we should probably drop it entirely to keep things simple (and lose a few dependencies).
I think I'm going to print Goodfellow's Deep Learning this week. So I can give it a test run and conclude which of these is cheaper to print, if there is a difference at all.
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=${OUT}/thesis-print.pdf ${OUT}/matter.pdf
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=${OUT}/thesis-print.pdf ${OUT}/matter.pdf
+ simplify-colors.sh
@fabiomaia
The gs
command seems to be only setting the compatibility level of the PDF, which some readers may otherwise complain about. It shouldn't affect costs.
The simplify-colors
may affect them, depending on how the printer used determines how many color pages there were. If it's a human counting them this should be irrelevant. If it's some professional printer which automatiaclly counts them, then it should.
Also, commit 8ae1d3608b5cabdec9285e8dcc9b759af76c0a18 should fix the script.
~I won't close this issue yet as I'm looking for an alternative to do this without relying on simplify-colors
.~
make print
causes the pages inthesis-print-final.pdf
to be out of order. This may be due to some glob happening (wrongly) insimplify-colors.sh
.