Focal Point
Change default print option of report to Landscape
April 22, 2008, 08:57 AM
RanjanaChange default print option of report to Landscape
Hi ,
I require the default print option of my webfocus report as Landscape.
I tried changing the
orientation=Landscape
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
but it doesnt work, I still get the default as potrait.
Does any one has a solution for this?
I am using HTML output
Any kind of help is welcome.
Thanks in advance
Ranjana
7.1.4
Windows XP
Excel, HTML, PDF
April 22, 2008, 09:07 AM
LeahI'm of a thought that you are trying an option that doesn't work in the web html output world, You might try SET STYLEMODE = FIXED to see what you get, but that will most likely not be what you want, then there is the SQUEEZE option to OFF that might help.
Okay all you other experts.
Leah
April 22, 2008, 09:40 AM
dhagenIn dev studio, select the Window/Options menu, and click the reporting tab to see what your default style sheet name is set to (the install default is deflt.sty). Go to the \ibi\DevStudio7x\bin directory and manually edit the style sheet to enter LANDSCAPE. It will then default to LANDSCAPE for all new reports.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
April 22, 2008, 09:40 AM
Francis MarianiI don't think this is a very good solution, but printing an HTML document in landscape is discussed here:
Force Specific Content to Print in Landscape Orientation. It involves rotating the HTML page by 90 degrees...
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
April 22, 2008, 10:31 AM
Tony AI use an activeX process supplied by MeadCo. I included an example
in this postT
In FOCUS since 1986 | WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2 | | |
WebFOCUS App Studio 8.2.06 standalone on Windows 10 | |
April 22, 2008, 10:42 AM
Darin LeeYou've already got the correct answer and a couple of suggestions, but here's my two cents.
In the HTML/web world, printing and display are completely separate issue. What you see is very rarely what you get printed. So there is really no concept of "LANDSCAPE" output unless you are dealing with a fixed-page output like PDF. Also page-breaks are another issue entirely.
A couple more ideas - manually control font size and margins until your printed output appears like you want. Turn the default printing for the printer you use to Landscape as well.
Regards,
Darin
In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
April 22, 2008, 12:04 PM
Tony AAlternatively, if you want printed output then use a suitable format, such as PDF, PS etc....
T
In FOCUS since 1986 | WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2 | | |
WebFOCUS App Studio 8.2.06 standalone on Windows 10 | |