Thread View: news.software.readers
7 messages
7 total messages
Started by Raynchk
Tue, 15 Aug 2000 03:12
printing with slrn
Author: Raynchk
Date: Tue, 15 Aug 2000 03:12
Date: Tue, 15 Aug 2000 03:12
16 lines
1330 bytes
1330 bytes
When I try to print in SLRN with the `y' command, I receive an error 127
unable to print using lp. I am running debian linux 2.2 and I set up
printing with redhat's printtool which seems to print fine in other
programs. Is there something real obvious here I'm overlooking? I've looked
throught the slrn.rc files and don't see anything about a print command.
I use Mutt and it seems to print fine. What should I do?
I apologize if this is a rtfm question, I've looked in the manual and can't
find anything on printing.
thanks
-- dale
"Make voyages, attempt them, there's nothing else."
--Tennessee Williams
Re: printing with slrn
Author: Sylvan Butler
Date: Wed, 16 Aug 2000 00:00
Date: Wed, 16 Aug 2000 00:00
25 lines
2056 bytes
2056 bytes
On 16 Aug 2000 19:10:57 GMT, Martijn van Buul <pino+news_software_readers@dohd.org> wrote:
>> set printer_name "SOME_COMMAND"
>> in your .slrnrc file.
>
>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.
You're thinking "printer name" as in this device, a printer, has a name.
It seems the slrnrc is thinking of a printer as being the agent that
handles printing a document. Think of the real world, where we have a
business that owns and operates an offset press, the owner of that
business is a printer.
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
"Don't Tread On Me!"
Re: printing with slrn
Author: John E. Davis
Date: Wed, 16 Aug 2000 00:00
Date: Wed, 16 Aug 2000 00:00
27 lines
1653 bytes
1653 bytes
On Wed, 16 Aug 2000 06:16:41 GMT, raf <raf@yea.yea.com>
wrote:
>>I never noticed the y command. I just use the pipe (|) and then type lpr
>>(or lpr -Pprintername if a printer other than the default printer called
>>lp). Do you have a printer called lp or with an alias of lp in your
>>printcap? If not, then you have no default printer.
>>
>Got anymore ideas, This don't work for me. But I found another work
>around. I "F" to myself and print it through my mail client.
The slrn print command is just a wrapper around `lpr'. My advice
is to see what command you need to print something at the shell
prompt, e.g.,
unix-shell> SOME_COMMAND < some-file
and then once you are able to print some-file via SOME_COMMAND, then put
set printer_name "SOME_COMMAND"
in your .slrnrc file.
The standard unix print command is `lpr', or `lpr -Pprint_queue'.
--John
Re: printing with slrn
Author: Martijn van Buul
Date: Wed, 16 Aug 2000 00:00
Date: Wed, 16 Aug 2000 00:00
22 lines
1611 bytes
1611 bytes
It occurred to me that John E. Davis wrote in news.software.readers:
> The slrn print command is just a wrapper around `lpr'. My advice
> is to see what command you need to print something at the shell
> prompt, e.g.,
>
> unix-shell> SOME_COMMAND < some-file
>
> and then once you are able to print some-file via SOME_COMMAND, then put
>
> set printer_name "SOME_COMMAND"
>
> in your .slrnrc file.
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.
--
Martijn van Buul - Pino@dohd.org - http://www.stack.nl/~martijnb/
Geek code: G-- - Visit OuterSpace: mud.stack.nl 3333
Re: printing with slrn
Author: David Efflandt
Date: Wed, 16 Aug 2000 01:43
Date: Wed, 16 Aug 2000 01:43
23 lines
2068 bytes
2068 bytes
On Tue, 15 Aug 2000 03:12:40 GMT, Raynchk <dlm@yossarian.kitenet.net> wrote: > >When I try to print in SLRN with the `y' command, I receive an error 127 >unable to print using lp. I am running debian linux 2.2 and I set up >printing with redhat's printtool which seems to print fine in other >programs. Is there something real obvious here I'm overlooking? I've looked >throught the slrn.rc files and don't see anything about a print command. >I use Mutt and it seems to print fine. What should I do? >I apologize if this is a rtfm question, I've looked in the manual and can't >find anything on printing. >thanks I never noticed the y command. I just use the pipe (|) and then type lpr (or lpr -Pprintername if a printer other than the default printer called lp). Do you have a printer called lp or with an alias of lp in your printcap? If not, then you have no default printer. -- David Efflandt efflandt@xnet.com http://www.de-srv.com/ http://www.autox.chicago.il.us/ http://www.berniesfloral.net/ http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
Re: printing with slrn
Author: Martijn van Buul
Date: Thu, 17 Aug 2000 00:00
Date: Thu, 17 Aug 2000 00:00
24 lines
1792 bytes
1792 bytes
It occurred to me that Sylvan Butler wrote in news.software.readers:
>
> You're thinking "printer name" as in this device, a printer, has a name.
Yes. It has one, doesn't it?[1]
> It seems the slrnrc is thinking of a printer as being the agent that
> handles printing a document. Think of the real world, where we have a
> business that owns and operates an offset press, the owner of that
> business is a printer.
Hmm. Sure. So I suppose I should replace various pathnames in my slrnrc
with "On my computers disk", because *there* is where they are stored?
No. Doesn't sound logical.
Martijn
[1] Default printer is a name too..
--
Martijn van Buul - Pino@dohd.org - http://www.stack.nl/~martijnb/
Geek code: G-- - Visit OuterSpace: mud.stack.nl 3333
Re: printing with slrn
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads