From: "Peter 'Luna' Runestig" <peter@runestig.com>
Cc: Eli Zaretskii <eliz@elta.co.il>, emacs-devel@gnu.org
Subject: Re: Windows port: using Windows' default printer
Date: Tue, 23 Sep 2003 18:28:56 +0200 [thread overview]
Message-ID: <3F7074C8.5010206@runestig.com> (raw)
In-Reply-To: <jwvwuc153a2.fsf@vor.iro.umontreal.ca>
On 2003-09-21 21:51, Stefan Monnier wrote:
>>> is fine as well, but I wish that the use of default-printer-name could be
>>> confined to a single spot (in Unix, it's in `lpr' so Emacs doesn't know
>>> about it). We probably need to create a function that either calls `lpr'
>>> or calls windows' printing code (using default-printer-name if necessary)
>>> and then have both lpr.el and ps-print.el use this function.
>
>> If I understand you correctly, we already have such a function in
>> lpr.el: it's `print-region-function'. dos-w32.el defines it for the
>> Windows and the DOS ports.
>
> Does ps-print.el use it ?
> If so, great, we just need to add the `default-printer-name' stuff
> to it and be done with Itô,
Isn't this what my patch does?
dos-w32.el: Add `default-printer-name' stuff to
`direct-print-region-function' and `direct-ps-print-region-function'.
I also tampered with the following files, but maybe that isn't necessary:
lpr.el: Add `default-printer-name' stuff to `print-region-1'.
ps-print.el: Add `default-printer-name' stuff to `ps-do-despool'.
play/handwrite.el: Add `default-printer-name' stuff to `handwrite'.
--
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
Yahoo! Messenger profile name: altberg
next prev parent reply other threads:[~2003-09-23 16:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=3F7074C8.5010206@runestig.com \
--to=peter@runestig.com \
--cc=eliz@elta.co.il \
--cc=emacs-devel@gnu.org \
/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).