Category : DeskTop Publishing in the 1990's
Archive   : GS261EXE.ZIP
Filename : PS2EPSI.BAT

 
Output of file : PS2EPSI.BAT contained in archive : GS261EXE.ZIP
@echo off

if "%1"=="" goto usage

if "%2"=="" goto usage



set infile=%1

set outfile=%2



rem Ghostscript uses %outfile% to define the output file

gs -q -dNOPAUSE -dNODISPLAY ps2epsi.ps < %infile%



rem We bracket the actual file with a few commands to help encapsulation

echo /InitDictCount countdictstack def gsave save mark newpath >> %outfile%



rem Append the original onto the preview header

copy %outfile% + %infile%



echo countdictstack InitDictCount sub { end } repeat >> %outfile%

echo cleartomark restore grestore >> %outfile%



goto end



:usage

echo "Usage: ps2epsi "



:end



  3 Responses to “Category : DeskTop Publishing in the 1990's
Archive   : GS261EXE.ZIP
Filename : PS2EPSI.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/