[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: adding a 'w32-default-printer-device' variable
From: |
Peter 'Luna' Runestig |
Subject: |
Patch: adding a 'w32-default-printer-device' variable |
Date: |
Sat, 23 Mar 2002 22:51:25 +0100 |
Hi all,
I have a patch (agains emacs-21.1) here:
ftp://ftp.runestig.com/pub/misc/emacs-21.1-w32-default-printer-device.patch
that adds a 'w32-default-printer-device' LISP variable. It's 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)
Since I know zip about LISP, I'm sure that one can be done better,
especially since my 'w32-default-printer-device' follows any change to the
default printer.
Cheers,
- Peter
----------------------------------------------------------------
Peter 'Luna' Runestig (fd. Altberg), Sweden
PGP Key ID: 0xD07BBE13
Fingerprint: 7B5C 1F48 2997 C061 DE4B 42EA CB99 A35C D07B BE13
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch: adding a 'w32-default-printer-device' variable,
Peter 'Luna' Runestig <=