all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How To Print To Printer GNU Emacs 22.2.1	(i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
Date: Wed, 08 Apr 2009 18:21:13 +0300	[thread overview]
Message-ID: <83tz4z41ee.fsf@gnu.org> (raw)
In-Reply-To: <f765c941-5386-4c08-bb2f-a52ce4dc262d@r15g2000vbi.googlegroups.com>

> From: rustom <rustompmody@gmail.com>
> Date: Wed, 8 Apr 2009 07:26:43 -0700 (PDT)
> 
> At the least I need these two things
> (setq printer-name "//network/path/to/printer")
> (setq ps-printer-name t)
> 
> However this prints without the typical printer dialog that all other
> windows applications give.

That's how Emacs behaves on all platforms, not only on Windows.

The reason it does not show the Print dialog is that (1) by the above
setup you already told it what printer you want to print to, so
there's no need to ask you to select a printer; and (2) Emacs does not
(yet) support the other printing options you are used to selecting
through the Print dialog -- instead, you need to set Emacs variables.

> If I add
> (setq ps-lpr-command "C:/Program Files/gs/gs8.63/bin/
> gswin32c.exe")  ;; obviously use the correct path for you here which
> means also setup ghostscript.
> (setq ps-lpr-switches '( "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2"))
> then the dialog also appears.

The dialog that appears is popped up by gswin32c.exe, not by Emacs.

> I find this mysterious because these variables seem to be part of the
> printing package (without (require 'printing) no help is available for
> them) but yet they change the behavior of printing

They are not part of the `printing' package, they are part of the
`ps-print' package.




  reply	other threads:[~2009-04-08 15:21 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 16:06 How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE ChristopherL
2009-04-06 17:05 ` Peter Dyballa
     [not found] ` <mailman.4719.1239037549.31690.help-gnu-emacs@gnu.org>
2009-04-06 17:51   ` ChristopherL
2009-04-06 19:20     ` ChristopherL
2009-04-06 20:33 ` Eli Zaretskii
2009-04-06 20:51   ` Lennart Borgman
2009-04-08 12:49     ` Jonathan Groll
     [not found]   ` <mailman.4732.1239051102.31690.help-gnu-emacs@gnu.org>
2009-04-07 13:19     ` ChristopherL
2009-04-07 13:48       ` Lennart Borgman
     [not found]       ` <mailman.4784.1239112139.31690.help-gnu-emacs@gnu.org>
2009-04-07 17:15         ` ChristopherL
2009-04-07 20:28           ` Lennart Borgman
     [not found] ` <mailman.4730.1239050120.31690.help-gnu-emacs@gnu.org>
2009-04-07 13:19   ` ChristopherL
2009-04-07 19:14     ` Eli Zaretskii
2009-04-08  3:18     ` B. T. Raven
2009-04-08 13:57       ` ChristopherL
2009-04-08 14:26         ` rustom
2009-04-08 15:21           ` Eli Zaretskii [this message]
2009-04-08 16:15         ` B. T. Raven
2009-04-08 18:38           ` ChristopherL
2009-04-08 23:17             ` Ralf Wachinger
2009-04-09  2:00             ` B. T. Raven
2009-04-09 12:38             ` ChristopherL
2009-04-09 14:35               ` Peter Dyballa
2009-04-09 14:57               ` B. T. Raven
     [not found]               ` <mailman.4976.1239287724.31690.help-gnu-emacs@gnu.org>
2009-04-09 18:20                 ` ChristopherL
2009-05-03  0:06       ` David Combs
2009-05-03  3:08         ` Eli Zaretskii

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=83tz4z41ee.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.