Article View: comp.lang.postscript
Article #583Landscape Printing from troff
From: Henry McGilton -- Software Produ...
Date: Mon, 19 Jun 1989 17:10
Date: Mon, 19 Jun 1989 17:10
40 lines
1853 bytes
1853 bytes
In article <81=g024X36Zp01@amdahl.uts.amdahl.com>
dacwmk@uts.amdahl.com (William M. Kules) writes:
>Is landscape printing supported on troff/psdit driving a
>Post-Script printer?
Since the message stated troff/psdit, I have to assume that you are
running device-independent troff, since psdit is the
postprocessor that converts the output of
device-independent troff into PostScript.
Given all that being true, you can do something along these lines:
In your troff source file, up front somewhere, set the page length
and line length, like this:
.pl 8.5i
.ll 11.0i
Then run your troff just like normal.
troff options sources > troff_output_file
Then, you have to run psdit manually, since, at least in our
environment, there is no means to send the landscape flag to
the lpr command. Run psdit manually:
psdit -L troff_output_file | lpr options
This works fine for me.
If you're using old four-font troff, the equivalent filter is pscat.
.......... Henry
+------------------+-----------------------+---------------------------+
| Henry McGilton | | arpa: hmcgilton@sun.com |
| Sun Microsystems | | uucp: ...!sun!angel!henry |
| Mt. View, CA | | |
+------------------+-----------------------+---------------------------+
Technical Details
Message-ID:
<110966@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sun-barr!sun!angel!henryShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sun-barr!sun!angel!henry From: henry%angel@Sun.COM (Henry McGilton -- Software Products) Newsgroups: comp.lang.postscript Subject: Landscape Printing from troff Keywords: landscape, troff, printing, transcript, psdit, postscript Message-ID: <110966@sun.Eng.Sun.COM> Date: 19 Jun 89 17:10:25 GMT Sender: news@sun.Eng.Sun.COM Distribution: usa Lines: 40