[cups.general] How does "stopped cleartomark" work?

Johannes Meixner jsmeix at suse.de
Wed Apr 26 05:28:37 PDT 2006


Hello,

CUPS' pstops filter (form CUPS version 1.1.23) adds printer
specific features like
--------------------------------------------------------------
[{
%%BeginFeature: *PageSize A4
<</PageSize[595 842]/ImagingBBox null>>setpagedevice
%%EndFeature
} stopped cleartomark
--------------------------------------------------------------

I do not understand how "[ {...} stopped cleartomark" works.

Acording to the Adobe PostScript Language Reference (3. edition)
"stopped" leaves "false" on the stack if {...} returns noramlly
and "true" otherwise but regardless of the outcome
"cleartomark" is executed in any case.

I am missing the "if" as in Adobe's example for "stopped":
"{...} stopped {handleerror} if"

Why is there no "if" or why is there "stopped" when nothing
depends on its outcome?


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix at suse.de
90409 Nuernberg, Germany                    WWW: http://www.suse.de/





More information about the cups mailing list