🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Ken Brown Tue, 08 Sep 1992 13:43
xrn 'printCommand' assistance needed
#2107
Author: Ken Brown
Date: Tue, 08 Sep 1992 13:43
26 lines
1530 bytes
Problem:

How to get xrn to print to a site-specific printer?

Generalities;

I'm having difficulty getting xrn 6.17 to print.  The command line switch
'-printCommand' doesn't seem to work (or I'm not using it correctly).

What I want to do is direct printing to a specific printer, for example
'csd_draft'.  Wouldn't this mean that the command line should be passed the
folowing;

-printCommand lpr -Pcsd_draft

But of course this doesn't do the trick.

I'll bet someone out there knows how to control xrn printing either by
passing a command-line switch or via .Xdefaults.

Thanks in advance for your suggestions...
-- 
====================================================================
Ken Brown                                       voice: (705)748-1540
Trent University Computer Services                fax: (705)748-1246
Peterborough, Ontario, Canada K9J 7B      internet: kbrown@trentu.ca
Re: xrn 'printCommand' assistance needed
#2108
Author: Michael Salmon
Date: Tue, 08 Sep 1992 15:07
39 lines
1786 bytes
In article <1992Sep8.134313.21564@trentu.ca>, 
ccksb@blaze.trentu.ca (Ken Brown) writes:
|> Problem:
|> 
|> How to get xrn to print to a site-specific printer?
|> 
|> Generalities;
|> 
|> I'm having difficulty getting xrn 6.17 to print.  The command line switch
|> '-printCommand' doesn't seem to work (or I'm not using it correctly).
|> 
|> What I want to do is direct printing to a specific printer, for example
|> 'csd_draft'.  Wouldn't this mean that the command line should be passed the
|> folowing;
|> 
|> -printCommand lpr -Pcsd_draft

The problem is that xrn expects the command to be in the next
parameter, not the next 2, try this:

-printCommand "lpr -Pcsd_draft"

I personally use an application default of :

XRn.printCommand: mp -a | lpr

You should even be able to put a call to xprompt in there to ask you
which printer you wanted.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
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