all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@elta.co.il>
Subject: Re: Cygwin/NTEmacs Printing Problem
Date: Mon, 17 Nov 2003 21:08:16 +0200	[thread overview]
Message-ID: <9681-Mon17Nov2003210816+0200-eliz@elta.co.il> (raw)
In-Reply-To: <118cb3cc.0311170102.5c06f4ca@posting.google.com> (steven@lczmsoft.com)

> From: steven@lczmsoft.com (steven)
> Newsgroups: gnu.emacs.help
> Date: 17 Nov 2003 01:02:50 -0800
> 
>   (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.

If all you need is to get the PS output on a file, you don't need all
this trickery: when ps-print-* commands are invoked with a numeric
argument, they automatically prompt for a file name and leave the PS
stuff on that file.

> But, when I invoked the 'ps-print-xxx' in NTEmacs, I always got
> following error:
>   "searching for program: no such file or directory, cat2file"

I suspect that the value of PATH as known to Emacs does not include
the directory where you put cat2file.

  reply	other threads:[~2003-11-17 19:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-17  9:02 Cygwin/NTEmacs Printing Problem steven
2003-11-17 19:08 ` Eli Zaretskii [this message]
2003-11-17 19:22 ` Kevin Rodgers
2003-11-18  5:47   ` Eli Zaretskii
2003-11-18  8:02   ` steven
     [not found] ` <mailman.179.1069106535.399.help-gnu-emacs@gnu.org>
2003-11-18  9:01   ` steven
2003-11-18  9:40     ` Eli Zaretskii
     [not found]     ` <mailman.208.1069152033.399.help-gnu-emacs@gnu.org>
2003-11-18 23:31       ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9681-Mon17Nov2003210816+0200-eliz@elta.co.il \
    --to=eliz@elta.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.