From: "Peter 'Luna' Runestig" <peter+emacs@runestig.com>
Subject: Patch: adding a 'w32-default-printer-device' variable
Date: Sat, 23 Mar 2002 22:51:25 +0100 [thread overview]
Message-ID: <006401c1d2b4$e1e9b2a0$02ffa8c0@morgana> (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
reply other threads:[~2002-03-23 21:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='006401c1d2b4$e1e9b2a0$02ffa8c0@morgana' \
--to=peter+emacs@runestig.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).