🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #733

Help with eroff and postscript

#733
From: mark hilliard
Date: Sun, 23 Jul 1989 03:01
30 lines
1702 bytes
Well, I like eroff, and have found the man set very good untill now, but
I am stumped.  Can anyone shed some light on this?

Ok,  I have a standard text file written with the mm macros, pic, and tbl
sections.  Now, I would like to include a postscript segment at the TOP
of my file, and then send the entire thing through eroff to a postscript
printer.  Although this is not important, my command line will look
something like this:

tbl file | pic -D | eroff -mm -dps

The man on page 2-13 says that I have to append 
the \X'code="postscriptline"' stuff to EACH line in my postscript file
that I want to include in my troff file (up to 80 chars per line max).
This is NOT acceptable, as I do not wish to have to modify EACH and 
EVERY line of my postscript include file. 

IS THERE ANY EASIER WAY TO DO THIS????

Can I add my postscript file into header file (must be there for eroff
somewhere) that eroff (must?) send to the postscript printer with
the -dps command?  And if this is possible, is there someway to 
specify via command line option which header file to use?


-- 
Mark Hilliard                            {ethos,fthood,u1100a}-----\
   N2HHR                                rutgers!rochester!kodak!pcid!gizzmo!mark
                                                                \-->gizzmo!mark
Technical Details
Message-ID: <374@gizzmo.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wasatch!mailrus!cornell!rochester!kodak!gizzmo!mark

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wasatch!mailrus!cornell!rochester!kodak!gizzmo!mark
From: mark@gizzmo.UUCP (mark hilliard)
Newsgroups: comp.lang.postscript
Subject: Help with eroff and postscript
Message-ID: <374@gizzmo.UUCP>
Date: 23 Jul 89 03:01:44 GMT
Reply-To: mark@gizzmo.UUCP (mark hilliard)
Organization: GIZZMO, Walworth, NY
Lines: 30