home *** CD-ROM | disk | FTP | other *** search
/ Corel Draw 6 / corel-draw-6-cd1.iso / draw / ehandler / pssend2.bat < prev    next >
DOS Batch File  |  1995-08-18  |  3KB  |  52 lines

  1. echo off
  2.  
  3. rem ***********************************
  4. rem PORT SETTINGS may be modified below
  5. rem ***********************************
  6. rem set PS=lpt1
  7. set PS=lpt2
  8. rem set PS=com1
  9. rem set PS=com2
  10. rem *********************************************************************
  11. rem If the PS device is not on LPT2 then you should type in REM before
  12. rem the line 'set PS=lpt2' and remove the REM from the line corresponding
  13. rem to the appropriate port.
  14. rem *********************************************************************
  15.  
  16. cls
  17. echo ╔══════════════════════════════════════════════════════════════════════════╗
  18. echo ║                                                                          ║
  19. echo ║                               EHANDLER.PS                                ║
  20. echo ║                                                                          ║
  21. echo ║                     PostScript Error Handler Routine                     ║
  22. echo ║                                                                          ║
  23. echo ║        Copyright (c) 1984, 1985, 1986 Adobe Systems Incorporated.        ║
  24. echo ║                           All Rights Reserved                            ║
  25. echo ║                                                                          ║
  26. echo ╚══════════════════════════════════════════════════════════════════════════╝
  27. echo.
  28. echo This batch file assumes that there is a PostScript device connected to LPT2.
  29. echo If such a device is connected to a port other than LPT2 then you should
  30. echo press CTRL-C now and edit the batch file accordingly (instructions within).
  31. echo You may use any ASCII text editor (i.e. Notepad).
  32. echo.
  33. PAUSE
  34.  
  35. echo Sending EHANDLER.PS using %PS% ...
  36. copy ehandler.ps %PS%
  37. echo Sending PSINFO.PS ...
  38. copy psinfo.ps %PS%
  39.  
  40. cls
  41. echo ╔══════════════════════════════════════════════════════════════════════════╗
  42. echo ║                                                                          ║
  43. echo ║       The Error Handler should be in place shortly. If an error          ║
  44. echo ║       is encountered, the error type, the offending command and          ║
  45. echo ║       the contents of the operand stack will be captured and a           ║
  46. echo ║       Showpage command will be issued to print the marks on the          ║
  47. echo ║       current page up to the point where the error ocurred.              ║
  48. echo ║                                                                          ║
  49. echo ╚══════════════════════════════════════════════════════════════════════════╝
  50. echo.
  51. pause
  52.