The getPDFtrailer operator
This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP.
int
getPDFtrailer dict
This operator is defined in internaldict.
The supplied int is a PDF execution context ID, as returned by pdfopen
. The returned dict is a copy of the trailer dictionary, held in PostScript VM. (The trailer dictionary provides access to the hierarchy of the PDF file.)
A new object type, called pdfobjtype
, is present in the trailer dictionary entries. A pdfobjtype
represents the PDF indirect reference construct (for example, “10 0 R”
). All you can do with pdfobjtype
in PostScript code is use cvs
and related operations ( =
, ==
, and so on) or pass them to getPDFobject
.
It is useful to note that the internal structure of pdfobjtype
means that these simple literal objects are perfectly valid keys for dictionaries.