help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cygwin/NTEmacs Printing Problem


From: steven
Subject: Re: Cygwin/NTEmacs Printing Problem
Date: 18 Nov 2003 00:02:20 -0800

Kevin Rodgers <ihs_4664@yahoo.com> wrote in message 
news:<3FB91FE9.6080402@yahoo.com>...
> steven wrote:
> 
> > in the .emacs, I wrote:
> > 
> >   (setq lpr-command "cat2file")
> > 
> > under cygwin/bash:
> >   $ cat 
> >   #!/usr/bin/bash
> >   TMPFILE=`mktemp -t emacs.print.XXXXX` || exit 1
> >   cat >$TMPFILE
> > 
> > I dit this because I hope the 'ps-print-xxx' command can generate and
> > save a ps file for me.
> > 
> > But, when I invoked the 'ps-print-xxx' in NTEmacs, I always got
> > following error:
> >   "searching for program: no such file or directory, cat2file"
> 
> Is the cat2file script executable?  Is it in your PATH?  Is the Emacs
> exec-path variable correctly initialized from your PATH environment
> variable?

M-x shell

$ which cat2file
/usr/local/bin/cat2file
$ echo "hello" | cat2file


So, you see, under the shell prompt of NTEmacs, I can run the cat2file script.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]