From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Peter 'Luna' Runestig" Newsgroups: gmane.emacs.bugs Subject: Patch: adding a 'w32-default-printer-device' variable Date: Sat, 23 Mar 2002 22:51:25 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <006401c1d2b4$e1e9b2a0$02ffa8c0@morgana> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1016920454 25335 127.0.0.1 (23 Mar 2002 21:54:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 23 Mar 2002 21:54:14 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16otSo-0006aW-00 for ; Sat, 23 Mar 2002 22:54:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16otSl-0004Pd-00; Sat, 23 Mar 2002 16:54:11 -0500 Original-Received: from arthur.runestig.com ([62.108.199.166]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16otPn-0004Na-00 for ; Sat, 23 Mar 2002 16:51:07 -0500 Original-Received: from morgana (h20n2fls34o823.telia.com [217.208.10.20]) by arthur.runestig.com (8.12.1/8.12.1) with SMTP id g2NLp5oJ008477 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 23 Mar 2002 22:51:06 +0100 Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:117 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:117 Hi all, I have a patch (agains emacs-21.1) here: ftp://ftp.runestig.com/pub/misc/emacs-21.1-w32-default-printer-device.patch that adds a 'w32-default-printer-device' LISP variable. It's either the printer port name (for locally connected printers), or an UNC path (for remote printers). You can then have something like this in .emacs: (setq printer-name w32-default-printer-device) Since I know zip about LISP, I'm sure that one can be done better, especially since my 'w32-default-printer-device' follows any change to the default printer. Cheers, - Peter ---------------------------------------------------------------- Peter 'Luna' Runestig (fd. Altberg), Sweden PGP Key ID: 0xD07BBE13 Fingerprint: 7B5C 1F48 2997 C061 DE4B 42EA CB99 A35C D07B BE13 _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs