5
# imagetops - This is a Image-to-PostScript filter for CUPS
7
# Note: This wrapper filter is only included for backward compatibility with
8
# certan custom configurations. It is not mentioned in any of the .convs
9
# files included in this package and therefore never used with the default
10
# configuration. It makes sure that third-party PPD files referring to
11
# imagetops explicitly or custom configurations (in /etc/cups/*.convs files)
14
# DO NOT create new PPD or .convs files using this filter! imagetops is
17
# (C) 2012 Till Kamppeter <till.kamppeter@gmail.com>
19
# Released under GPL 2 or later
24
echo "DEBUG: imagetops argv[$#] = $@" >&2
25
echo "DEBUG: PPD: $PPD" >&2
27
if [ $# -lt 5 -o $# -gt 6 ]; then
28
echo "ERROR: $0 job-id user title copies options [file]" >&2
32
# Read from given file.
37
`dirname $0`/imagetopdf "$1" "$2" "$3" "$4" "$5" | $PDF2PS - -