8

Is it possible to get beautiful prints in GNU Emacs? By default using M-x print-buffer the output looks ugly, with big fonts and no margin.

For source code it would be nice to get a pretty font, syntax highlighting, a header and line numbering.

sverrejoh
  • 183

4 Answers4

11

I would suggest using M-x ps-print-buffer-with-faces, it looks much nicer.

5

Download a2ps; it does what you're looking for.

enter image description here

Gareth
  • 19,080
2

You might find this page about printing on the Emacs Wiki helpful.

The two most interesting options on there are:

I have to admit I haven't tried either.

David Webb
  • 12,294
2

enscript

Similar in spirit to a2ps. My link is to the GNU version, but I think that Adobe provided the original.