| Server IP : 93.86.61.54 / Your IP : 216.73.216.206 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/cups/filter/ |
Upload File : |
#!/bin/sh
# gstopdf - Ghostscript-based PDF filter for CUPS
#
# Note: This is only a wrapper filter, the real work is done by gstoraster
#
# (C) 2012 Till Kamppeter <till.kamppeter@gmail.com>
#
# Released under GPL 2 or later
#
echo "DEBUG: gstopdf argv[$#] = $@" >&2
echo "DEBUG: PPD: $PPD" >&2
if [ $# -lt 5 -o $# -gt 6 ]; then
echo "ERROR: gstopdf job-id user title copies options [file]" >&2
exit 1
fi
# Read from given file.
if [ -n "$6" ]; then
exec <"$6"
fi
OUTFORMAT=PDF $CUPS_SERVERBIN/filter/gstoraster "$1" "$2" "$3" "$4" "$5"