Mail Archives: djgpp/1997/08/25/04:26:46
On 24 Aug 1997, Paul Derbyshire wrote:
> Also trying out Emacs. Very powerful and customizable, it seems. And yes,
> it IS a freaking operating system! :-) One thing, the pretty-print option
> seems to want an executable called 'gs'... where is this
Do you have a PostScript printer? If so, you don't need Ghostscript
(that's what `gs' stands for). You need to set `dos-ps-printer' to
name the port where that printer is connected, like so:
(setq dos-ps-printer "PRN")
Just put this in your _emacs file. Some further docs about this (as
well as other DOS specifics in Emacs) can be seen in the Emacs on-line
manual (type `C-h i 2 6', where C-h means Ctrl-h); the printing issues
are under the "Printing" section there.
If your printer does NOT support PS, then you will need to download a
DOS port of Ghostscript. There is no DJGPP-compiled port, so you will
have to look around. One word of caution: the port that I used (from
Aladdin) needed DOS4GW and would crash under Emacs if the DPMI host
was CWSDPMI. QDPMI was OK, and so were Windows, I think.
- Raw text -