From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: steven@lczmsoft.com (steven) Newsgroups: gmane.emacs.help Subject: Cygwin/NTEmacs Printing Problem Date: 17 Nov 2003 01:02:50 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <118cb3cc.0311170102.5c06f4ca@posting.google.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1069060610 23661 80.91.224.253 (17 Nov 2003 09:16:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 09:16:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 17 10:16:48 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALfV2-0002Qp-00 for ; Mon, 17 Nov 2003 10:16:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ALgQI-0000uo-Vr for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Nov 2003 05:15:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 218.13.193.183 Original-X-Trace: posting.google.com 1069059770 7123 127.0.0.1 (17 Nov 2003 09:02:50 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 17 Nov 2003 09:02:50 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:118360 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14301 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14301 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" Please help! -- Steven Woody steven@lczmsoft.com