ps-user-defined-prologue

ps-user-defined-prologue is a variable defined in `ps-print.el'.
Its value is
nil


Documentation:
User defined PostScript prologue code inserted before all prologue code.

`ps-user-defined-prologue' may be a string or a symbol function which returns a
string. Note that this string is inserted after `ps-adobe-tag' and PostScript
prologue comments, and before ps-print PostScript prologue code section. That
is, this string is inserted after error handler initialization and before
ps-print settings.

It's strongly recommended only insert PostScript code and/or comments specific
for your printing system particularities. For example, some special
initialization that only your printing system needs.

Do not insert code for duplex printing, n-up printing or error handler,
ps-print handles this in a suitable way.

For more information about PostScript, see:
PostScript Language Reference Manual (2nd edition)
Adobe Systems Incorporated

As an example for `ps-user-defined-prologue' setting:

;; Setting for HP PostScript printer
(setq ps-user-defined-prologue
(concat "< "/MediaPosition 2 /MediaType (Plain)>> setpagedevice"))

You can customize this variable.

This variable was introduced, or its default value was changed, in version 20 of Emacs.