all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Patch: adding a 'w32-default-printer-device' variable
@ 2002-03-23 21:51 Peter 'Luna' Runestig
  0 siblings, 0 replies; only message in thread
From: Peter 'Luna' Runestig @ 2002-03-23 21:51 UTC (permalink / raw)


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




_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-23 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-23 21:51 Patch: adding a 'w32-default-printer-device' variable Peter 'Luna' Runestig

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.