#!/bin/sh set -eu scanimage --format=png --device=pixma --resolution=150 | convert - scan.pdf