🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.soft-sys.andrew
2 messages
2 total messages Started by dunkel Fri, 11 Dec 1992 21:41
Print from "help" on PS printer?
#1793
Author: dunkel
Date: Fri, 11 Dec 1992 21:41
24 lines
1573 bytes
How can I print text from the help system menus on a Postscript
printer?  The following shell script works fine:

[bin_RIOS] 376> cat print_help
ezprint -t $1 | eqn -Tpsc | troff -Tpsc | psdit | lpr -Ppsb115

but the "Print" menu of the help system has only the options "Set
Printer" and "Print This File" - none of which seems to allow me to
enter all parameters. I guess that the Andrew system offers a
preference or a shell variable that allows me to set such a string.  I
read help files for quite some tome now but did not find it.  Can
anybody give me a hint?

Thanks
   __                                      _
  |  )      o       |              |      | \            |        |
  | /    _          |_   _    _   _|      |  |           |     _  |
  |/\   /_) |  ^ ^  | |  _)  |   / |      |  | | |  ^ ^  |_)  /_) |
  |  \_/\___|_| | |_| |_(_|__|___\_|      |_/__|_|_| | |_| \_/\___|

  Department of Chemistry            Office: (801) 581-7351         
  2020 Henry Eyring Building b113    Home:   (801) 582-7516         
  University of Utah                 FAX:    (801) 581-8433         
  Salt Lake City, UT 84112           dunkel@chemistry.chem.utah.edu 
Re: Print from "help" on PS printer?
#1794
Author: Gary Keim
Date: Fri, 11 Dec 1992 22:27
30 lines
1524 bytes
Excerpts from misc: 11-Dec-92 Print from "help" on PS pri..
dunkel@carbon.chem.utah. (1168)

> ezprint -t $1 | eqn -Tpsc | troff -Tpsc | psdit | lpr -Ppsb115

> but the "Print" menu of the help system has only the options "Set
> Printer" and "Print This File" - none of which seems to allow me to
> enter all parameters. I guess that the Andrew system offers a
> preference or a shell variable that allows me to set such a string.  I
> read help files for quite some tome now but did not find it.  Can
> anybody give me a hint?

Yes, I try to get help on printing and nothing shows up!  It's in the
preferences help file:

Here's my previewcommand (for an RS/6000 w/ ghostview):

*.previewcommand: ezprint -q -t /tmp/%s.n | eqn -Tpsc | psroff -t >
/tmp/%s.ps; ghostview /tmp/%s.ps; rm /tmp/%s.ps

[aside: ghostview doesn't handle taking stdio very well, that's why I
redirect to another tmp file.]

In your case, add this line to your preferences file:

*.printcommand: ezprint -q -t /tmp/%s.n | eqn -Tpsc | troff -Tpsc |
psdit | lpr -Ppsb115

Gary Keim
Andrew Consortium
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