You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
350 B
16 lines
350 B
@echo off
|
|
if %1/==/ goto usage
|
|
if %2/==/ goto usage
|
|
|
|
set infile=%1
|
|
set outfile=%2
|
|
|
|
rem Now convert the input to EPSF and add the Preview to the EPSF file
|
|
gsos2 -q -dNOOUTERSAVE -dNODISPLAY -dLastPage=1 -sOutputFile=%outfile% --permit-file-read=%infile% %~dp0ps2epsi.ps %infile%
|
|
|
|
goto end
|
|
|
|
:usage
|
|
echo "Usage: ps2epsi <infile.ps> <outfile.epi>"
|
|
|
|
:end
|