From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Printing from WindowXP version of emacs Date: Sun, 08 Jan 2006 06:12:30 +0200 Message-ID: References: <534d19de0601071706u4106e646g2f0108aa5c489bc@mail.gmail.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1136693571 16851 80.91.229.2 (8 Jan 2006 04:12:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2006 04:12:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 08 05:12:48 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvRv8-0006GO-ET for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jan 2006 05:12:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvRwz-0003Cm-P1 for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2006 23:14:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvRwp-0003Cf-06 for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 23:14:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvRwn-0003CS-6o for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 23:14:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvRwn-0003CP-47 for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 23:14:25 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvRyp-0001Ub-ED for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 23:16:31 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-75-86.inter.net.il [80.230.75.86]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DIE76660 (AUTH halo1); Sun, 8 Jan 2006 06:12:27 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <534d19de0601071706u4106e646g2f0108aa5c489bc@mail.gmail.com> (message from BRUCE INGALLS on Sat, 7 Jan 2006 20:06:03 -0500) 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:32535 Archived-At: > Date: Sat, 7 Jan 2006 20:06:03 -0500 > From: BRUCE INGALLS > > I did not realize that Emacs already had w32 default-printer code. > Does anyone know, or can provide suggestions for default printers for > other platforms, such as mac osx, gnome, kde? Other platforms, at least those which are Posix-compliant, don't need to set printer-name, they need to set lpr-program and (optionally) ps-lpr-program, because on those platforms you simply pipe the text to a program which then takes care of spooling and printing. printer-name was invented for MS-DOS and MS-Windows. > Do the alpha releases of Emacs on w32 set printer-name to default-printer-name? Yes; see dos-w32.el. Unless the user customizes printer-name, the result of default-printer-name is used.