(v13) The escapedstring operator
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP
internaldict v6.4+
string1 string2 escapedstring substring2
string1 string2 integer escapedstring substring2
This operator copies string1
into the initial substring of string2
, escaping some or all of the characters such that the string can be reinterpreted by the PostScript interpreter correctly. The length of string2
must be at least as long as necessary to hold the string after it has been escaped. The remaining elements of string2
are unaffected. In the first form, only the (, )
, and \
characters are escaped. In the second form, an integer value of 7
or 8
will be accepted to indicate that the substring should be 7
or 8
-bit clean, as defined for the %%DocumentData
: comment in The Adobe document PostScript Language Document Structuring Conventions Specification Version 3.0.