emacs-devel
[Top][All Lists]
Advanced

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

Re: Windows port: using Windows' default printer


From: Eli Zaretskii
Subject: Re: Windows port: using Windows' default printer
Date: Sat, 13 Sep 2003 16:39:32 +0200

> From: Jason Rumney <address@hidden>
> Date: 13 Sep 2003 11:35:19 +0100
> > 
> > If Windows sends some kind of message when the default printer
> > changes, perhaps you could arrange for NTEmacs to listen to that
> > message and update `printer-name' automatically when it comes.
> 
> I think that is something like the original approach Peter took, but
> the problem I saw with that is that you cannot distinguish between
> printer-name that has been set to the default printer at startup, and
> printer-name that has been customized by the user. So changing it
> automatically later would potentially be a mistake.

You are probably right, although I think there's some way to make this
distinction (I vaguely recall that some code pulls such a trick).

But in case there's no way, how about calling the function to update
`printer-name' only on startup--would that be good enough?




reply via email to

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