From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: Printing from WindowXP version of emacs Date: Mon, 19 Dec 2005 10:58:35 +0100 Message-ID: References: <1134660719.186074.250590@z14g2000cwz.googlegroups.com> <43A1B787.9040001@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134988477 19791 80.91.229.2 (19 Dec 2005 10:34:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 10:34:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 19 11:34:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EoIJh-0004ez-H8 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Dec 2005 11:32:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EoIKW-0000ZX-9p for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Dec 2005 05:33:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-X-Trace: individual.net 0bu2Caoz60xt1nkmBZvsHQSzih6n7PbFZPfhmiXrMjRCAf3ETJ User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:lW1q0AHSiksA13ik8Xjb6qIuK0Q= Original-Xref: shelby.stanford.edu gnu.emacs.help:136439 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32058 Archived-At: Eli Zaretskii writes: > If we need to use external programs at all (and I know of only one > such case: when the printer in question is a network printer that is > not available as a Windows share of the form \\server\share\printer), > then I'd suggest a free program called PrintFile32 (available from > http://www.lerup.com/printfile/). Configure Emacs to use it as a > replacement for the Unix lpr program. > > But I'd like first to hear from the OP which of the advice he's been > given he tried, and what and how didn't work. In most cases, it is > not necessary to use external programs, as Emacs can do the job > itself. I just wanted to say that I just tested doing what the documentation for printer-name says; that is to set it to the name of a shared printer in our network. So I set it to "//gbgfs1/gbg2b" and then called M-x lpr-buffer It worked. I did not test with colors (it is no color printer) but that probably won't work in the same way, will it? Btw, I first tested without setting printer-name (which on Windows XP has the default value PRN) and printed, and Emacs froze. Don't know why though.