| Server IP : 52.9.100.119 / Your IP : 216.73.216.135 Web Server : Apache/2.4.61 (Amazon) OpenSSL/1.0.2k-fips PHP/7.3.30 Phusion_Passenger/5.1.5 System : Linux ip-172-31-9-35 4.14.355-196.618.amzn1.x86_64 #1 SMP Mon Apr 7 17:09:50 UTC 2025 x86_64 User : root ( 0) PHP Version : 7.3.30 Disable Function : exec,passthru,shell_exec,system,popen,proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/bin/ |
Upload File : |
#!/bin/sh # $Id: ps2ps2 9344 2009-01-10 22:11:18Z till $ # "Distill" PostScript with the Ghostscript 'ps2write' device # this generates a PDF-style stream with an attached # PostScript program to interpret it. # This definition is changed on install to match the # executable name set in the makefile GS_EXECUTABLE=gs OPTIONS="-dSAFER" while true do case "$1" in -?*) OPTIONS="$OPTIONS $1" ;; *) break ;; esac shift done if [ $# -ne 2 ]; then echo "Usage: `basename $0` [options] input.ps output.ps" 1>&2 echo " e.g. `basename $0` -sPAPERSIZE=a4 input.ps output.ps" 1>&2 exit 1 fi exec $GS_EXECUTABLE -q -sDEVICE=ps2write -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH $OPTIONS "$1"