[Top][All Lists]

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

Re: Windows port: using Windows' default printer

From: Peter 'Luna' Runestig
Subject: Re: Windows port: using Windows' default printer
Date: Sat, 13 Sep 2003 21:44:30 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030809

On 2003-09-13 16:39, Eli Zaretskii wrote:
> But in case there's no way, how about calling the function to update
> `printer-name' only on startup--would that be good enough?

I think it's vital to follow any change to the Windows default printer
during the emacs session, it would be quite annoying otherwise. If you
think fetching the default printer device name all the way, at every use
of the printer, gets you too much overhead (I don't think that's a
problem at all, but...), one could cache the value, and only refresh it
when you actually change the default printer, by catching the
WM_SETTINGCHANGE window message, like it's done in my original draft patch.

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
Yahoo! Messenger profile name: altberg

reply via email to

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