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: Kevin Rodgers
Subject: Re: Cygwin/NTEmacs Printing Problem
Date: Mon, 17 Nov 2003 12:22:17 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

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?

--
Kevin Rodgers



reply via email to

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