Date: Wed, 6 Nov 1996 13:43:49 +0200 (IST) From: Eli Zaretskii To: Koen Van Herck Cc: djgpp AT delorie DOT com Subject: Re: Emacs and ghostscript In-Reply-To: <9611060938.AA08305@ivs4.> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 6 Nov 1996, Koen Van Herck wrote: > I have installed the binary distribution of emacs-19.34 (one of the > alpha versions form delorie.com I think). In the _emacs.xmp file is > ghostscript used for ps-print, but I can't get this to work. When I > use ps-print-buffer, after the formatting I get a message: "printing" > and ghostscript is started (I guess). Then everything hangs. Did you try to invoke Ghostscript from the DOS command line with exactly the same arguments as mentioned on `_emacs'? Does your Ghostcript reside in the C:\GS directory and is called GS386.EXE? > Where does the output from ghostscript go ? (Not the laserjet file, > but the messages) Is it possible to redirect them to a file or view it > in a buffer ? GS messages are discarded. You can see if it prints any messages by (1) invoking it from DOS prompt or (2) calling it via `M-x compile' after you save the ps data to a file (if memory serves, invoking `ps-print-buffer' or `ps-print-region' with a numeric argument will prompt for a name of a file where the ps output will be written instead of the printer, but check the ps-print docs for details). > I am using an old version of ghostscript which uses dos4gw. Could this > be the problem ? I tested this with Ghostscript 3.51 which also uses dos4gw, and it worked. Which version of GS do you have? Which version of CWSDPMI do you use? If it isn't the latest v3 (v2misc/csdpmi3b.zip from the DJGPP archives), please upgrade.