Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!sdd.hp.com!ucsd!rutgers!cunixf.cc.columbia.edu!lih From: lih@cunixf.cc.columbia.edu (Andrew "Fuz" Lih) Newsgroups: comp.sys.next Subject: Re: Printing NeXT UNIX documentation Summary: Use ptroff Message-ID: <1990May5.190057.22970@cunixf.cc.columbia.edu> Date: 5 May 90 19:00:57 GMT References: <1990May4.154227.11719@gpu.utcs.utoronto.ca> Reply-To: lih@cunixf.cc.columbia.edu (Andrew "Fuz" Lih) Followup-To: comp.sys.next Organization: Columbia University Center for Computing Lines: 35 In article <1990May4.154227.11719@gpu.utcs.utoronto.ca> judge@gpu.utcs.utoronto.ca (Peter Judge) writes: >Could anyone tell me the best way to print the NeXT UNIX documentation on >the laserprinter? I'm not a UNIX expert so I'll need the details about how to >deal with ptroff and the like., etc. > >I'd like to be able to spiral bind the result, so the printout should >have a wide left margin. Also, is there some natural >order to the documentation, or will it just be a pile of man pages? >judge@gpu.utcs.utoronto.ca (Peter Judge) The best way to do it is to find out where the unformatted troff file is and use that with ptroff. Let's say I wanted to print the man page for 'find' to the printer called 'netnp': $ ptroff -man -Pnetnp /usr/man/man1/file.1 This uses the -man macro package and prints to the specified NeXT laser printer. Hope this helps! ___________________________________________________________ """""""""" / \ | @ @ | | Andrew "Fuz" Lih Columbia University Center | < > > ___/ Academic Computing for Computing Activities | \ \__/ / <___ / \____/ \ lih@cunixf.cc.columbia.edu AJLUS@CUVMB.BITNET / \ lih@cs.columbia.edu ...rutgers!columbia!cunixc!lih | \__________________________________________________________/ ___________________________________________________________ """""""""" / \ | @ @ | | Andrew "Fuz" Lih Columbia University Center | < > > ___/ Academic Computing for Computing Activities |