When printing a buffer (for example with the Printing package), I understand Emacs coverts it into a Postscript file and then prints this file. But this Postscript file always contains a grey box at the top, displaying information about the buffer (name of the buffer, path, date, number of pages), which prefaces the actual buffer I want to print. After some research I haven't got any idea how to remove this box.
In other words, I would like the content of my buffer, and only that, to be sent to the printer.
(setq ps-print-header nil)
?;;; Commentary:
section at the beginning with useful information about usage and/or implementation. You can read the file itself withM-x find-library RET ps-print RET
or only that section withM-x describe-package RET ps-print RET
. I read it once as I wanted to adjust some other things.