MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.118.137.96
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0555) :  /backup2/../bin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //backup2/../bin/ps2ps2
#!/bin/sh
# "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="-P- -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"

MMCT - 2023