Variable: ps-print-prologue-header
ps-print-prologue-header is a customizable variable defined in
ps-print.el.gz.
Value
nil
Documentation
PostScript prologue header comments besides that ps-print generates.
ps-print-prologue-header may be a string or a symbol function which returns a
string. Note that this string is inserted on PostScript prologue header
section which is used to define some document characteristic through PostScript
special comments, like "%%Requirements: jog\\n".
ps-print always inserts the %%Requirements: comment, so if you need to insert
more requirements put them first in ps-print-prologue-header using the
"%%+" comment. For example, if you need to set numcopies to 3 and jog on
requirements and set %%LanguageLevel: to 2, do:
(setq ps-print-prologue-header
"%%+ numcopies(3) jog\\n%%LanguageLevel: 2\\n")
The duplex requirement is inserted by ps-print (see ps-spool-duplex).
Do not forget to terminate the string with "\\n".
For more information about PostScript document comments, see:
PostScript Language Reference Manual (2nd edition)
Adobe Systems Incorporated
Appendix G: Document Structuring Conventions -- Version 3.0
This variable was added, or its default value changed, in Emacs 20.
Source Code
;; Defined in /usr/src/emacs/lisp/ps-print.el.gz
(defcustom ps-print-prologue-header nil
"PostScript prologue header comments besides that ps-print generates.
`ps-print-prologue-header' may be a string or a symbol function which returns a
string. Note that this string is inserted on PostScript prologue header
section which is used to define some document characteristic through PostScript
special comments, like \"%%Requirements: jog\\n\".
ps-print always inserts the %%Requirements: comment, so if you need to insert
more requirements put them first in `ps-print-prologue-header' using the
\"%%+\" comment. For example, if you need to set numcopies to 3 and jog on
requirements and set %%LanguageLevel: to 2, do:
(setq ps-print-prologue-header
\"%%+ numcopies(3) jog\\n%%LanguageLevel: 2\\n\")
The duplex requirement is inserted by ps-print (see `ps-spool-duplex').
Do not forget to terminate the string with \"\\n\".
For more information about PostScript document comments, see:
PostScript Language Reference Manual (2nd edition)
Adobe Systems Incorporated
Appendix G: Document Structuring Conventions -- Version 3.0"
:type '(choice :menu-tag "Prologue Header"
:tag "Prologue Header"
(const :tag "none" nil) string symbol)
:version "20"
:group 'ps-print-miscellany)