Thread View: comp.lang.postscript
3 messages
3 total messages
Started by Rajesh Dighde
Fri, 22 Jan 1993 01:37
HOW TO PRINT TROFF GENERATED PSC FILES IN LANDSCAPE MODE
Author: Rajesh Dighde
Date: Fri, 22 Jan 1993 01:37
Date: Fri, 22 Jan 1993 01:37
22 lines
1081 bytes
1081 bytes
Hello everyone, This is the first posting on this group from a "non computers" guy so bear with me for any silly/not-making-sense parlance. I have a question regarding printing postscript files generated using the troff typesetter in "LANDSCAPE" mode. How can I program the postscript file so that the output will be in landscape mode. Specifically I want to print some tables generated by troff typesetter. Does any one have any pointers/suggestions on this? And please explain in not too-technical jargon and in a step by step manner. Thanking you in advance Rajesh p.s. I have tried going through FAQ but couldnot make anything out of it
Re: HOW TO PRINT TROFF GENERATED PSC FILES IN LANDSCAPE MODE
Author: Chris Lewis
Date: Sat, 23 Jan 1993 05:38
Date: Sat, 23 Jan 1993 05:38
37 lines
1985 bytes
1985 bytes
In article <48936@ogicse.ogi.edu> rajesh@mse.ogi.edu (Rajesh Dighde) writes:
>How can I program the postscript file so that the output
>will be in landscape mode. Specifically I want to print
>some tables generated by troff typesetter.
What we need to know is what computer you're using, what kind
of troff, and what you're using to convert troff output to
PostScript. And, exactly what you want to do - just rotate
and squish vertically to fit? Or what?
The mechanics of doing this is by putting a bit of code
at the top of each page that will do a translate and rotate
and possibly a scale. Some of the troff packages have this
built-in, and others will require manual editing of the
PostScript output.
If you have to manually edit each page, you want to put
the following in right after each "%%Page:" comment:
612 0 translate 90 rotate
(the above assumes 8.5" wide paper).
You also have to tell troff that a page is 8.5" high - how
you do this depends on which macro package you're using. In
MM, use -rL8.5i. With man or ms, you usually have to insert
a ".pl 8.5i" into your document.
If you're using psroff (not Adobe Transcript), get your administrator
to upgrade to Psroff 3.0 PL15 (available in ftp.uunet.ca
distrib/chris_lewis/psroff3.0pl15), and read the manual page
about landscape - it's builtin with PL15, and none of the above
handwaving is necessary.
--
Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
Ferret list: ferret-request@ferret.ocunix.on.ca
Re: HOW TO PRINT TROFF GENERATED PSC FILES IN LANDSCAPE MODE
Author: Vidiot
Date: Sun, 24 Jan 1993 06:24
Date: Sun, 24 Jan 1993 06:24
29 lines
1743 bytes
1743 bytes
In article <48936@ogicse.ogi.edu> rajesh@mse.ogi.edu (Rajesh Dighde) writes:
<Hello everyone,
<
<This is the first posting on this group from a "non computers"
<guy so bear with me for any silly/not-making-sense parlance.
<
<I have a question regarding printing postscript files
<generated using the troff typesetter in "LANDSCAPE" mode.
<
<How can I program the postscript file so that the output
<will be in landscape mode. Specifically I want to print
<some tables generated by troff typesetter.
<
<Does any one have any pointers/suggestions
<on this? And please explain in not too-technical jargon
<and in a step by step manner.
You don't say which version of troff you are using. Yes, there is more than
one. I don't know about the DWB (Documentor's WorkBench) version 3.0, and
later, but old C/A/T troff and DWB 2.0+ version cannot handle anything that
wide. They were built for portrait output only.
But, if you get the GNU version of troff, called groff, it has the ability
to do landscape output.
--
harvard\ spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot ucbvax!uwvax..........!astroatc!vidiot!brown
rutgers/ INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
brown@wi.extrel.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads