unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Windows port: using Windows' default printer
@ 2003-02-20 13:18 Peter 'Luna' Runestig
  2003-02-20 23:05 ` Jason Rumney
  0 siblings, 1 reply; 25+ messages in thread
From: Peter 'Luna' Runestig @ 2003-02-20 13:18 UTC (permalink / raw)


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 bug-gnu-emacs@gnu.org 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 <peter@runestig.com>
PGP Key ID: 0xD07BBE13
Fingerprint: 7B5C 1F48 2997 C061 DE4B  42EA CB99 A35C D07B BE13
AOL Instant Messenger Screen name: PRunestig

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2003-11-26 11:55 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 13:18 Windows port: using Windows' default printer Peter 'Luna' Runestig
2003-02-20 23:05 ` Jason Rumney
2003-02-21  6:52   ` Peter 'Luna' Runestig
2003-02-21  8:20     ` Jason Rumney
2003-09-12 19:34       ` Peter 'Luna' Runestig
2003-09-13 10:04         ` Eli Zaretskii
2003-09-13 10:35           ` Jason Rumney
2003-09-13 14:39             ` Eli Zaretskii
2003-09-13 19:44               ` Peter 'Luna' Runestig
2003-09-13 20:32                 ` Kai Grossjohann
2003-09-13 22:13                   ` Jason Rumney
2003-09-13 23:44                 ` Eli Zaretskii
2003-09-14  9:40                   ` Peter 'Luna' Runestig
2003-09-15 14:52         ` Stefan Monnier
2003-09-21 13:19           ` Eli Zaretskii
2003-09-21 19:51             ` Stefan Monnier
2003-09-22  6:07               ` Eli Zaretskii
2003-09-23 16:28               ` Peter 'Luna' Runestig
2003-09-24 18:25                 ` Eli Zaretskii
2003-09-24 19:22                   ` Luc Teirlinck
2003-09-25 13:26                   ` Peter 'Luna' Runestig
2003-10-22 10:35                     ` Peter 'Luna' Runestig
2003-10-22 11:15                       ` Jason Rumney
2003-10-22 15:58                       ` Eli Zaretskii
2003-11-26 11:55                         ` Peter 'Luna' Runestig

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).