Article View: news.software.readers
Article #64604Re: printing with slrn
From: John E. Davis
Date: Thu, 17 Aug 2000 04:22
Date: Thu, 17 Aug 2000 04:22
38 lines
2527 bytes
2527 bytes
On 16 Aug 2000 19:10:57 GMT, Martijn van Buul <pino+news_software_readers@dohd.org>
wrote:
>Wouldn't that be just a hint about a very unclear variable name? At first
>glance, I'd say that printer_name would have been used as an argument
>with -P prepended to it.
If this variable were specific to Unix, then I would agree with you.
However, for win32 systems it really does specify a printer that is
passed to the win32 OpenPrinterA function call. In changes.txt, you
will find:
10. New function: print_article. This function may be customized via
the `printer_name' setting. If `printer_name' is not set, then
the default printer will be selected. Otherwise, the meaning of
this variable will depend upon the OS:
WIN32 : The name of the print queue. The default is to use
the win.ini setting.
UNIX : The name of a process that represents the printer, e.g.,
set printer_name "my_print_filter | lpr -Pmy_printer"
The default is to use "lpr -P$PRINTER".
OS/2, VMS: ??? needs implemented
The key binding may be set via, e.g.,
setkey article "print_article" "y"
(`y' is the default binding)
Note: This function could have been defined via a macro for Unix systems,
but for e.g., windows 95 this was not possible and required a
built-in solution.
--John
Technical Details
Message-ID:
<slrn8pmq3h.a33.davis@aluche.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-east!supernews.com!newscon01.news.prodigy.com!newscon04.news.prodigy.com!prodigy.com!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mailReferences:
<sphd984gkn9122@corp.supernews.com> <slrn8pjsdn.m75.efflandt@efflandt.xnet.com> <dlqm5.12667$A4.39543@typhoon.hawaii.rr.com> <slrn8plfb6.83f.davis@aluche.mit.edu> <slrn8plpno.pln.pino+news_software_readers@mud.stack.nl>Show Full Headers
Complete Article Headers
Message-ID: <slrn8pmq3h.a33.davis@aluche.mit.edu> Subject: Re: printing with slrn Date: Thu, 17 Aug 2000 04:22:15 +0000 From: davis@space.mit.edu (John E. Davis) References: <sphd984gkn9122@corp.supernews.com> <slrn8pjsdn.m75.efflandt@efflandt.xnet.com> <dlqm5.12667$A4.39543@typhoon.hawaii.rr.com> <slrn8plfb6.83f.davis@aluche.mit.edu> <slrn8plpno.pln.pino+news_software_readers@mud.stack.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-east!supernews.com!newscon01.news.prodigy.com!newscon04.news.prodigy.com!prodigy.com!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail Newsgroups: news.software.readers Organization: Center for Space Research Reply-To: davis@space.mit.edu User-Agent: slrn/0.9.6.3 (Linux) Lines: 37 NNTP-Posting-Host: ALUCHE.MIT.EDU X-Trace: dreaderd 966486135 9428 18.75.2.45