home *** CD-ROM | disk | FTP | other *** search
- echo off
-
- rem ***********************************
- rem PORT SETTINGS may be modified below
- rem ***********************************
- rem set PS=lpt1
- set PS=lpt2
- rem set PS=com1
- rem set PS=com2
- rem *********************************************************************
- rem If the PS device is not on LPT2 then you should type in REM before
- rem the line 'set PS=lpt2' and remove the REM from the line corresponding
- rem to the appropriate port.
- rem *********************************************************************
-
- cls
- echo ╔══════════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ EHANDLER.PS ║
- echo ║ ║
- echo ║ PostScript Error Handler Routine ║
- echo ║ ║
- echo ║ Copyright (c) 1984, 1985, 1986 Adobe Systems Incorporated. ║
- echo ║ All Rights Reserved ║
- echo ║ ║
- echo ╚══════════════════════════════════════════════════════════════════════════╝
- echo.
- echo This batch file assumes that there is a PostScript device connected to LPT2.
- echo If such a device is connected to a port other than LPT2 then you should
- echo press CTRL-C now and edit the batch file accordingly (instructions within).
- echo You may use any ASCII text editor (i.e. Notepad).
- echo.
- PAUSE
-
- echo Sending EHANDLER.PS using %PS% ...
- copy ehandler.ps %PS%
- echo Sending PSINFO.PS ...
- copy psinfo.ps %PS%
-
- cls
- echo ╔══════════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ The Error Handler should be in place shortly. If an error ║
- echo ║ is encountered, the error type, the offending command and ║
- echo ║ the contents of the operand stack will be captured and a ║
- echo ║ Showpage command will be issued to print the marks on the ║
- echo ║ current page up to the point where the error ocurred. ║
- echo ║ ║
- echo ╚══════════════════════════════════════════════════════════════════════════╝
- echo.
- pause
-