From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: Emacs Printer Issues Date: 1 Feb 2007 09:06:46 -0800 Organization: http://groups.google.com Message-ID: <1170349606.431445.221950@k78g2000cwa.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1170351667 5871 80.91.229.12 (1 Feb 2007 17:41:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2007 17:41:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 01 18:41:01 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HCfvh-0002Sk-6Y for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Feb 2007 18:41:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCfvg-00062n-P2 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Feb 2007 12:41:00 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k78g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 213.94.228.213 Original-X-Trace: posting.google.com 1170349610 24962 127.0.0.1 (1 Feb 2007 17:06:50 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 1 Feb 2007 17:06:50 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF3ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: k78g2000cwa.googlegroups.com; posting-host=213.94.228.213; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:145220 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:40826 Archived-At: On Jan 31, 11:51 pm, Bill wrote: > I'm running Emacs GNU 22.0.50.1 on OS X. I'm wondering how I can tell > Emacs to print to a particular printer. > > I have to following in .emacs: > > (ps-print-header t) ' > > (ps-print-header-frame nil) > > (ps-printer-name "HP_1022") Is this not something like (custom-set-variables '(ps-print-header t) '(ps-print-header-frame nil) '(ps-printer-name "HP_1022")) ps-printer-name etc are all variables, not functions. > But this doesn't not automatically send my Emacs print jobs to the > HP-1022 printer. Instead, I have to 'tell' Emacs which printer to use > by printing something from another application. I think you have to give the entire UNC path using \\ to mean \. Ie "\ \\\server\\HP_1022". For other ways see: http://www.gnu.org/software/emacs/windows/faq6.html