tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Printing man pages.
@ 1997-06-18 21:17 Cliff Friedel
  0 siblings, 0 replies; 3+ messages in thread
From: Cliff Friedel @ 1997-06-18 21:17 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks for the help everyone.  The solution to printing man pages is
simply to use the following command:

man <topic> | lpr -P<printer>

I thought there was more to it, but I guess not.  Thanks all.

Cliff

*************************************************************************
*Cliff Friedel                          *                               *
*cfriedel@penn.com                      *                               *
*jchan@elektra.warbeast.com             *                               *
*****************************************                               *
*For Technical Questions                *                               *
*please contact:                        *                               *
*****************************************                               *
*sysadmin@penn.com                      *                               *
*************************************************************************

^ permalink raw reply	[flat|nested] 3+ messages in thread

* SUMMARY : Printing man pages
@ 1997-12-17 15:46 Boddy Bill NTSE
  0 siblings, 0 replies; 3+ messages in thread
From: Boddy Bill NTSE @ 1997-12-17 15:46 UTC (permalink / raw)
  To: tru64-unix-managers


	 Thanks to all who have answered so promptly. In the end  Paul
Henderson's solution was the one I liked best.

	Which was

	# man ls | col -b | lpr -Plp0

	Regards

	Bill Boddy

	Hi ,

	Has anyone out there successfully managed to print out any of
the man
	pages without the Non-Printable characters.

	I have tried the solution in the man page of man ! 

	i.e. 	#  cd /usr/share/man
		#  gunzip  man1/ls.1.gz | tbl |  neqn | nroff -Tlpr |
lpr  -Plp0

	and  the solution in one of the archived summaries of this
mailing list

	i.e 	# man ls | lpr -Plp0

	and also using sed

	i.e 	# man  ls | sed " s/.^H//g"  > ls.out

	But I can't manage to get rid of those ^H's and the like.


	Any clues ?

	Thanks in advance

	Bill

^ permalink raw reply	[flat|nested] 3+ messages in thread

* SUMMARY : Printing man pages
@ 1997-12-17 18:46 arno
  0 siblings, 0 replies; 3+ messages in thread
From: arno @ 1997-12-17 18:46 UTC (permalink / raw)
  To: tru64-unix-managers

> Henderson's solution was the one I liked best.
> 
> 	Which was
> 
> 	# man ls | col -b | lpr -Plp0

There is even a better solution. First install GNU roff
(groff), version 1.09 is the latest, that works, newer ones
probably won't.

After installing groff-1.09, just do:

man -t <manpage> | lpr -P<postscript printer>

The result is much better than from col or nroff.

If you can't find groff-1.09 source anywhere, I can mail it
to you, configured to compile on DU 4.0b (it is hard to find that old
version any more on the public ftp servers).

> 	Regards
> 	Bill Boddy

ArNO
    2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-12-17 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-17 18:46 SUMMARY : Printing man pages arno
  -- strict thread matches above, loose matches on Subject: below --
1997-12-17 15:46 Boddy Bill NTSE
1997-06-18 21:17 SUMMARY: " Cliff Friedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox