C506634@UMCVMB.MISSOURI.EDU (Eric Edwards) (01/29/91)
I've come across a bunch of troff files that I would like to print out. Unfortunately, I don't have a convienent Unix box with a laser printer. What I *do* have is: 1) Access to an VM/CMS system with a Xerox 3700 Laser printer. If the files were in Script, I would be in business, but alas, troff is not Script. 2) Access to Macintoshes with Laserwriters. Getting the files to these machines, however, is somewhat involved. 3) IBM PS/2's hooked up to HP Laserjet II's 4) Limited access to a remote unix machine. (printing here is out of the question) *Idealy* I'd like to be able to print from the CMS system. This could either be directly run a form a troff or runs something to translate Troff to Script. Next in order of convenience would be the PS/2's. One the Deskjets has a pretty good variety of fonts. Also, these computers are tied into the internet Getting the files to the Mac's would require downloading to a PS/2 and then transfering the files to a mac disk. I would rather avoid using the unix box since I only have a guest account. So.. Any help on this would be greatly apreciated. I don't normally read this newsgroup so please email replies. Eric Edwards: c506634 @ "The 3090. Proof that by applying state of the Inet: umcvmb.missouri.edu art technology to an obsolete architecture, Bitnet: umcvmb.bitnet one can achieve mediocre performance."
clewis@ferret.ocunix.on.ca (Chris Lewis) (01/30/91)
In article <20723@know.pws.bull.com> C506634@UMCVMB.MISSOURI.EDU (Eric Edwards) writes: >I've come across a bunch of troff files that I would like to print out. >Unfortunately, I don't have a convienent Unix box with a laser printer. >1) Access to an VM/CMS system with a Xerox 3700 Laser printer. > If the files were in Script, I would be in business, but alas, troff is not > Script. However, DCF/Script isn't that far from troff in some ways. If the documents are relatively simple (no multiple fonts, point sizes, line drawing etc), it is a simple matter to convert troff to Script. I converted my 75 page thesis from troff -ms to DCF/Script/GML in an hour or so. Lots of global edit commands, and relatively little line-at-a-time work. I know of no automated troff to Script converters, because it would depend very highly on what set of macro packages were used. >2) Access to Macintoshes with Laserwriters. > Getting the files to these machines, however, is somewhat involved. >3) IBM PS/2's hooked up to HP Laserjet II's >4) Limited access to a remote unix machine. > (printing here is out of the question) The simplest approach would be to 1) ensure that the remote unix machine has a troff of some sort. 2) ensure that the remote unix machine can print on HP's or Postscript printers. 3) run troff on the remote system and produce postscript or HPPCL. 4) put the result on a floppy (or, via network connection) 5) print it on your Laserwriters or the HP's. (2) is probably the hard part. If the remote UNIX system has CAT troff, psroff (which I wrote) will produce postscript or HPPCL. With psroff you wouldn't need to worry about the fonts either. How big are these documents? If they're not that large, you could put 'em on a DOS floppy, include return postage, and I could ship back the Postscript or HPPCL. Or even mail 'em. -- Chris Lewis, Phone: (613) 832-0541, Internet: clewis@ferret.ocunix.on.ca UUCP: uunet!mitel!cunews!latour!ecicrl!clewis Moderator of the Ferret Mailing List (ferret-request@eci386) Psroff enquiries: psroff-request@eci386, current patchlevel is *7*.
C506634@UMCVMB.MISSOURI.EDU (Eric Edwards) (02/04/91)
In Message-ID: <1241@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) said: >In article <20723@know.pws.bull.com> C506634@UMCVMB.MISSOURI.EDU (Eric Edwards) >>I've come across a bunch of troff files that I would like to print out. >>Unfortunately, I don't have a convienent Unix box with a laser printer. >The simplest approach would be to > 1) ensure that the remote unix machine has a troff of some sort. Got that. > 2) ensure that the remote unix machine can print on HP's or > Postscript printers. No can do. It outputs to CATFOR typesetters only. > 3) run troff on the remote system and produce postscript or HPPCL. > 4) put the result on a floppy (or, via network connection) > 5) print it on your Laserwriters or the HP's. >(2) is probably the hard part. If the remote UNIX system has CAT troff, >psroff (which I wrote) will produce postscript or HPPCL. With psroff you >wouldn't need to worry about the fonts either. How portable is psroff? Is there any hope that I could get it to compile under CMS, MS-DOS, MacOS or AmigaDOS? (in case you're wondering. Yes, I do have a C compiler for CMS) Eric Edwards: c506634 @ "The 3090. Proof that by applying state of the Inet: umcvmb.missouri.edu art technology to an obsolete architecture, Bitnet: umcvmb.bitnet one can achieve mediocre performance."
clewis@ferret.ocunix.on.ca (Chris Lewis) (02/06/91)
In article <20836@know.pws.bull.com> C506634@UMCVMB.MISSOURI.EDU (Eric Edwards) writes: >In Message-ID: <1241@ecicrl.ocunix.on.ca> > clewis@ferret.ocunix.on.ca (Chris Lewis) said: >>In article <20723@know.pws.bull.com> C506634@UMCVMB.MISSOURI.EDU (Eric Edwards) >>>I've come across a bunch of troff files that I would like to print out. >>>Unfortunately, I don't have a convienent Unix box with a laser printer. >>The simplest approach would be to >> 1) ensure that the remote unix machine has a troff of some sort. > Got that. >> 2) ensure that the remote unix machine can print on HP's or >> Postscript printers. > No can do. It outputs to CATFOR typesetters only. I think you mean just "CAT" (aka Wang C/A/T Phototypesetters) >> 3) run troff on the remote system and produce postscript or HPPCL. >> 4) put the result on a floppy (or, via network connection) >> 5) print it on your Laserwriters or the HP's. >>(2) is probably the hard part. If the remote UNIX system has CAT troff, >>psroff (which I wrote) will produce postscript or HPPCL. With psroff you [oops, meant ---------------------------------------------------Postscript you >>wouldn't need to worry about the fonts either. >How portable is psroff? Is there any hope that I could get it to compile under >CMS, MS-DOS, MacOS or AmigaDOS? Weeeelll, my original suggestion is that you install psroff on the UNIX system. I think that machine's owners would be quite appreciative of it. You'd only be using your machine for the actual printing itself. However, since you insist ;-) Most of psroff won't be very useful to you on non-UNIX systems because you won't have CAT troff. Therefore, the idea is to run troff on the UNIX machine, capture the output with something like this: troff -t <arguments and files> > CATfile and transport it to the machine you choose. On this second machine, you've compiled the "troff2ps" program from the psroff distribution, and then you run the equivalent of this: troff2ps -Tps < CATfile | w<your postscript printer> Troff2ps is quite portable amongst UNIX systems, and the more machine dependent bits are bells and whistles you won't need (eg: Postscript commentary about what the name of your machine is and the Postscript optimizer - you can safely comment out such cruft if it doesn't compile). So, if you have a good C compiler, carefully configure the defs.h file, and do a bit of suitable chopping (I'll assist if you desire), you'll be able to get it to compile. I recommend your postscript printers because you won't have to deal with all the font downloading crap for Laserjets and can just deconfigure it. The final remaining gotcha is that the width tables on the UNIX system, with which the UNIX troff will be calculating character placement, won't match the widths on your printer. Psroff comes with stuff to install new widths on the UNIX system for troff to use via the "-T" or "-F" options (what kind of UNIX is it?). So, for best results, you'll have to install the widths. I could ship you the requisite width tables in binary if you desire, but you'll have to get the UNIX administrator to install them (unless their troff supports the -F option). The widths already on the remote UNIX machine may be good enough for your purposes. If you figure that this is feasible, we can continue this discussion via e-mail. >(in case you're wondering. Yes, I do have a C compiler for CMS) That's not altogether surprising, there are several CMS C compilers available, I used one back in '82, and I believe that one was around since around '78. -- Chris Lewis, Phone: (613) 832-0541, Internet: clewis@ferret.ocunix.on.ca UUCP: uunet!mitel!cunews!latour!ecicrl!clewis Moderator of the Ferret Mailing List (ferret-request@eci386) Psroff enquiries: psroff-request@eci386, current patchlevel is *7*.