2008-01-01 Printing from Emacs on OSX

I built Emacs from source on my old iBook running Mac OS 10.3.9. I really liked the print dialog in CarbonEmacsPackage. Here’s how to get it back:

1. Get mac-print-mode.el and put it on your LoadPath.

2. Get htmlize.el and put it in your LoadPath.

3. Get coral 1.1

1. copy `bin/coral.app` into `/Applications`

2. copy `bin/coral` into `/usr/local/bin` and edit it so that it calls `/Applications/coral.app/Contents/MacOS/coral`

4. Add the following to your `.emacs`:(when (require 'mac-print-mode nil t) (mac-print-mode 1) (global-set-key (kbd "M-p") 'mac-print-buffer))

mac-print-mode.el

htmlize.el

coral 1.1

Now `M-p` should automatically export the current page as HTML and produce a nice Mac OS print dialog that prints it.

​#Emacs ​#Printing ​#OSX