Printing emacs buffer with your HP ink jet printer

Place the line in your .emacs file:

(setq printer-name “ENVY_4500”)

The name of your printer can be found typing

lpstat -p -d

This works in Ubuntu.

Leave a comment

Your email address will not be published. Required fields are marked *