emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Windows port: using Windows' default printer


From: Peter 'Luna' Runestig
Subject: Windows port: using Windows' default printer
Date: Thu, 20 Feb 2003 14:18:34 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030207

Hi all,

I've had a patch lying around for a while, that adds two lisp variables:
'w32-default-printer-device' and
'w32-printer-name-follows-default-device'. 'w32-default-printer-device'
  contains Windows' default printer's device name, which is 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)

If 'w32-printer-name-follows-default-device' is set to 't',
'printer-name' is updated, if you change the default printer while emacs
is running.

I mentioned this patch on address@hidden almost a year ago, but I
now realize that this probably is a more appropriate forum, so I just
thought I'll mention it here. The link:
ftp://ftp.runestig.com/pub/emacs/emacs-20030219-w32-default-printer-device.patch
http://ftp.runestig.com/pub/emacs/emacs-20030219-w32-default-printer-device.patch

Cheers,
- Peter
-- 
Peter 'Luna' Runestig (fd. Altberg), Sweden <address@hidden>
PGP Key ID: 0xD07BBE13
Fingerprint: 7B5C 1F48 2997 C061 DE4B  42EA CB99 A35C D07B BE13
AOL Instant Messenger Screen name: PRunestig





reply via email to

[Prev in Thread] Current Thread [Next in Thread]