From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: isn't there any simple, standard way to print in windowsXP? Date: Tue, 25 Jul 2006 09:08:36 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153834900 28835 80.91.229.2 (25 Jul 2006 13:41:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Jul 2006 13:41:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 25 15:41:38 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 1G5NA2-0005zB-ST for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Jul 2006 15:41:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5NA2-0005iD-Dn for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Jul 2006 09:41:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: panix5.panix.com Original-X-Trace: reader2.panix.com 1153832936 3863 166.84.1.5 (25 Jul 2006 13:08:56 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 25 Jul 2006 13:08:56 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:KmXFLSDjznSr3VcWqabFRQBj7FI= Original-Xref: shelby.stanford.edu gnu.emacs.help:140593 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:36218 Archived-At: Minesh, I'm using a program included with GhostScript to open a standard printing dialog. It works every time, and avoids all of the problems with creating printer ports, mapping network names and such. GhostScript is a shareware program. There are no nag screens when printing, but it's well worth the cost. I have the following set to do that: ;;;=================================================== ;; use the ghostscript printer program to open a standard printer ;; dialog, works like a charm!! (setq-default ps-lpr-command "c:/utils//gs/gsview/gsprint.exe")) (setq-default ps-printer-name t) (setq-default ps-printer-name-option nil) (setq ps-lpr-switches '("-query")) ; show printer dialog - Chris minesh varmas writes: > it is so difficult to configure the printer on Ms > windows. > its so wasy in gVim, why is it so difficult on emacs? > > All i want is the print dialog box to pop up and get > the printing done. i have not been able to get it > right even after following all the printing links. > when the shared printer is specfied > (setq printer-name "//alex/HPLaserJ" > it prints the document with much larger font without > any page numbers or heading. > someone please help me. > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -- (. .) =ooO=(_)=Ooo===================================== Chris McMahan | first_initiallastname@one.dot.net =================================================