Article View: adobe.postscript.programming
Article #839Distiller and /handleerror
From: Scott_Prouty
Date: Wed, 07 Jan 2004 19:07
Date: Wed, 07 Jan 2004 19:07
19 lines
1435 bytes
1435 bytes
Hi! I am creating PostScript code that will run under both Adobe Acrobat Distiller and real PostScript printers. I have run into an issue where I am trying to include more error reporting information by adding to /handleerror in errordict. Something like:
/OrigHandleError errodict /handleerror get def
/handleerror
{
MyOwnFunctionHere
OrigHandleError
}
errordict 3 1 roll put
This seems to work fine on a printer, but Distiller seems to not call /handleerror. Instead it uses its own internal error reporting function.
1. Is there a way to configure Distiller to use /handleerror in the same way a real printer uses /handleerror?
2. Is there a way to access Distiller's error reporting function so that it can be modified with additional code?
Any insight on this would be greatly appreciated!
Thanks!
Technical Details
Message-ID:
<2ccf3d8f.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c61a,64f4f95016e438c9,start X-Google-Attributes: gid10c61a,public X-Google-ArrivalTime: 2004-01-07 11:37:58 PST From: Scott_Prouty@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.postscript.programming Subject: Distiller and /handleerror Message-ID: <2ccf3d8f.-1@webx.la2eafNXanI> Date: Wed, 7 Jan 2004 11:07:46 -0800 Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit