[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows port: using Windows' default printer
From: |
Jason Rumney |
Subject: |
Re: Windows port: using Windows' default printer |
Date: |
13 Sep 2003 11:35:19 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
"Eli Zaretskii" <address@hidden> writes:
> How about if we call this function only once, at startup, and put the
> result into `printer-name'? Would that be okay?
>
> 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.
Re: Windows port: using Windows' default printer, Stefan Monnier, 2003/09/15