unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Endless Story" <usable.thought@gmail.com>
Subject: Re: What's wrong with this lisp code in my init file?!
Date: 31 Dec 2006 17:48:41 -0800	[thread overview]
Message-ID: <1167616121.772315.45920@48g2000cwx.googlegroups.com> (raw)
In-Reply-To: <mailman.2599.1167605423.2155.help-gnu-emacs@gnu.org>

I love all this lisp stuff. I left my Gnu Emacs LISP book (paid-for
version) at a different house, but I may go ahead and print out the PS
version from the Web.

However, solving my problem turned out to be much simpler, basically
because of a dumb error. After some fumbling around I realized that the
Cygwin setup just needs -

(setq printer-name "//defuse/Printer2")
(setq ps-printer-name t)

- for postscript printing, and doesn't need to call to gsprint - some
kind of postscript translation is already built into Cygwin. So my
total code snippet that keeps both Windows Emacs and Cygwin console
Emacs happy looks like this:

(setq printer-name "//defuse/Printer2")
(setq ps-printer-name t)
(if (eq window-system 'w32)
   (setq ps-lpr-command "c:/Program Files/Ghostgum/gsview/gsprint.exe"))

      parent reply	other threads:[~2007-01-01  1:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-31 16:15 What's wrong with this lisp code in my init file?! Endless Story
2006-12-31 18:48 ` Eric Hanchrow
     [not found] ` <mailman.2592.1167591202.2155.help-gnu-emacs@gnu.org>
2006-12-31 19:57   ` Endless Story
2006-12-31 21:51     ` Eric Hanchrow
2006-12-31 22:29       ` Drew Adams
     [not found]     ` <mailman.2595.1167601997.2155.help-gnu-emacs@gnu.org>
2006-12-31 22:16       ` Harald Hanche-Olsen
2006-12-31 22:50         ` Drew Adams
     [not found]         ` <mailman.2599.1167605423.2155.help-gnu-emacs@gnu.org>
2007-01-01  1:48           ` Endless Story [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1167616121.772315.45920@48g2000cwx.googlegroups.com \
    --to=usable.thought@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).