Focal Point
[SOLVED] How to tell a report to print landscape or portrait

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1741025513

January 27, 2009, 12:02 PM
webmeister
[SOLVED] How to tell a report to print landscape or portrait
In Mainframe FOCUS, running under MVS/TSO, is their a way to tell the report to print landscape instead of portrait, whether in the program or in the JCL?

Thnaks in advance!

This message has been edited. Last edited by: webmeister,


Mainframe FOCUS 7.0
VM/CMS and MVS/TSO
January 27, 2009, 04:22 PM
FrankDutch
I'm not sure about MVS but in in Webfocus I would say

SET ORIENTATIEN=LANDSCAPE

give it a try...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

January 27, 2009, 05:27 PM
webmeister
Thanks Frank,

I'll put it into a program and see how it comes out.


Mainframe FOCUS 7.0
VM/CMS and MVS/TSO
January 28, 2009, 04:22 AM
Danny-SRL
WebMeister,

How are you sending your output to the printer? Is it linked to the M/F or to your terminal?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

January 28, 2009, 05:06 AM
GamP
If the printer to be used is a MF printer, then there are three ways to do this in FOCUS:
1. Use the FOCUS STYLESHEET facility --- it supports SET ORIENTATION=PORTRAIT/LANDSCAPE
2. Embed (using HEXBYT) the necessary calling sequence in a dummy HEADING to specify orientation.
3. Route OFFLINE to a disk file(RECFM FBA) set up a MVS job, specifying orientation to do the printing.

I'd use the first option, it is the easiest by far.

Hope this helps...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
January 28, 2009, 04:10 PM
webmeister
Thanks to all who replied and offered assistance. I am experimenting with the use of SET ORIENTATION=LANDSCAPE and that most likely will be my answer.

Again, thanks to all who offered help!


Mainframe FOCUS 7.0
VM/CMS and MVS/TSO