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
#!/bin/bash | |
# This script prints a one-page double-sided preview of all pdfs in a | |
# specified directory. It takes two arguments: 1) the name of the | |
# printer and 2) the directory path. This script does not specify a | |
# color mode or print quality. | |
# | |
# ./print_pdf_preview.sh <printer_name> <dir_path> | |
for f in $2*.pdf |