burdick@hpindda.HP.COM (Matt Burdick) (11/17/89)
Is it possible to print zip documents using troff? When I try to print my
document (which contains both text and a zip picture), it prints with a
blank box where the picture should be.
If I take a look at the file that is being printed by troff, the beginning
of the picture area looks like postscript:
.sp 1
The internal architecture of a router is shown in Fig. 1.
.OC
.br
'PB 362 389
'if \n(zT \{\
\! 362 troffadjust 389 neg translate
\!%!PS-Adobe-2.0 EPSF-1.2
\!% Begin Zip PostScript Prelude Version 0.0
\!gsave % Save Environment Around Zip Drawing
This doesn't look to good to me, since I don't have a postscript printer
handy.
My formatcommand and printcommand lines look like this:
*.formatcommand: cat /tmp/%s.n | /usr/lib/troff |
*.printcommand: dpif | lp -opif
-matt
--
Matt Burdick | Hewlett-Packard
burdick%hpda@hplabs.hp.com | Technical Communications Lab (IND/TCL)tom+@ANDREW.CMU.EDU (Tom Peters) (11/18/89)
We dropped Troff support quite a while ago, when it appeared that PostScript would be the way of the world. Although I have not heard of it being done, one could imagine a utility that translates from PS to Troff... TCP