henry%angel@Sun.COM (Henry McGilton -- Software Products) (06/20/89)
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 | | | +------------------+-----------------------+---------------------------+