#!/bin/sh gs \ -dPDFA=1 \ -dBATCH \ -dNOPAUSE \ -sDEVICE=pdfwrite \ -sColorConversionStrategy=DeviceRGB \ -sOutputFile="$1".pdf "$1"