up vote 4 down vote favorite
1
share [g+] share [fb]

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.

link|improve this question
feedback

4 Answers

up vote 6 down vote accepted

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

link|improve this answer
2  
This is what I usually do from emacs, but enscript provided tons of flexibility if you find this to be deficient in some way. – dmckee Sep 25 '09 at 15:14
feedback

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

enter image description here

link|improve this answer
feedback

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.

link|improve this answer
feedback

enscript

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.