Re: [MOD] STR #4028: commandtops not robust against broken PostScript in PPD file

H. Blischke <HelgeBlischke-S0/[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

First, an additional save and restore bracketing does no harm. But the
stopped approach fails on syntax errors caused by missing or misplaced
braces.

To prevent the PS interpreter to abort the job in such cases you need to
replace the errorhandler procedure in $errordict by your own procedure. As
$errordict is in local VM, this is subject to save and restore as well.

If you could specify what such a special errorhandler procedure should
report to CUPS, I could program and test one.

Link: http://www.cups.org/str.php?L4028
Version: 1.5.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.