Printing landscape view of the JSP
hi there,
i am displaying a report in the jsp page. What i want is to print that page from the print button but that in the landscape view. i want to do it through jsp/scripting. Is there any way to do it.
That is a Client side configurtion and you cant control it using Javascript.
Similar Messages
-
Printing Month View in the Normal 8x11 View
This was a HUGE problem in the past and hoping it may be better.
Have never been able to print any of the iCal views in the "tall" 8x11 view. iCal only prints in the "wide" "11x8" view.
There were a few pain in the neck work-arounds and I am hoping that there may be easier ways to print iCal in the "Normal" views.
Anyone have any news news on this?
Jack
p.s. hopefully 10.5 will fix/upgrade thisI googled this query and found that the is a glitch for 1 Apr 13. If this date has any 'all day' events it prevents displaying march 13 in month view.
I amended all my appointments to 20 hour periods to cover the whole day and this alleviated my problem. -
Pragmaticobjects : Tree view in the JSP page
I have to understand Tree view Generation in the JSP page by using pragmaticobjects jar file.
Can any body please help me from where I got the details of pragmaticobjects.
I am not able to fined appropriate link in Google.
com.pragmaticobjects.taglibs.tree.util some of the used package .a tree model
wrap <ul> <ul> around all his childeren + wrap the String representation with <li> </li>
that should provide you with the structure in html.
<ol class="tree">
<li>parent
<ul>
<li>child1.1
<ul>
<li>child1.1.2</li>
<li>child1.1.2</li>
</ul>
</li>
<li>child1.2
<ul>
<li>child1.2.1</li>
<li>child1.2.2</li>
</ul>
</li>
</ul>
</li>
<ul>then it's css time
<html>
<head>
<style>
<!--
.tree {
list-style-type: none;
list-style-image: none;
list-style-position: outside;
.tree ul {
margin: 0em;
padding: 0em;
.tree li{
border: 1px black solid;
text-align: center;
float: left;
-->
</style>
</head>
<body>
<ul class="tree">
<li>parent
<ul>
<li>child1.1
<ul>
<li>child1.1.2</li>
<li>child1.1.2</li>
</ul>
</li>
<li>child1.2
<ul>
<li>child1.2.1</li>
<li>child1.2.2</li>
</ul>
</li>
</ul>
</li>
<ul>
</body>
</html>from here well there are differend solutions, but I think a little too CSS orientated to discuss it here. if you need more details email I'm not sure if I check this topic again.
Mr_Light
stuurff [at] hotmail.com -
Getting the NT username of the viewer of the JSP page..
Hi.
I was wondering if it is possible to get hold of the client's NT username
from within a JSP or servlet. All I want is the current logged in username
of the viewer of the page. Is there any way to do this in Java at all?
It is possible in ASP + IIS and I guess I could forward the username for an
ASP-page, but I don't think that is a very clean way of doing it.
If I use '<%=java.lang.System.getProperty("user.name")%>' in a JSP-page I
will only get the user of the server where the JSP is running:
Any suggestions?
- Oystein Saebo -
I was wondering if it is possible to get hold of the client's NT username
> from within a JSP or servlet. All I want is the current logged in
username
> of the viewer of the page. Is there any way to do this in Java at all?
If you use IIS as http proxy to WLS you can call the getRemoteUser()
method. On WLS6.0SP1 you get the NT domain\user back.
Regards,
Merg
-
Hi,
i've got a little problem.
When i put a control in a jsp page, and remove it, or anything else, the "source tab" always show me the same XML code, althought i'm saving all my documents via ctr+shift+s
What's wrong ?? is there a way to "regenerate" a clean xml file ?
Thanks.Hi,
Adding a control and then deleting it is working for me. The source tab is in sync with the design view and it does not show the code for the removed component.
Could you please tell us how you removed the control?
To remove a control you can go to the application outline window, right click on the component to be removed and choose delete. This should work fine.
Cheers
Giri :-)
Creator Team -
In contacts on my new i Mac the country field does not show in the label print pre view or the printed label.
Any suggestion of why this is happening?I have found a solution - no bug. See this link
Address book -
Printing Current View in Acrobat 11
Just "upgraded" to Acrobat 11 from 8. Can't seem to print "current view" form the print dialog box and yes I have clicked on the more options box and it's not there as well.
Can you post a screenshot?
-
Ios7 sort by artist in music app landscape view help or bug
I have installed IOS7 on my iphone 5 and noticed that when you look at your music in landscape view (used to be coverflow) the music is not sorted by artist ? it was in ios6 coverflow.
I have the option selected in the music options and the msuic is sorted by artist but in portrait mode in music app its sorted by artsist but not in landscape (wall view) in the music app.
anyone noticed this i have all my artist albums all over the place in landscape view in the music app
thanksMine is not working either. It just shows the album covers in a random order. You might want to provide feedback to Apple here: http://www.apple.com/feedback/iphone.html
-
Numbers app won't switch to landscape view - ipod touch
The numbers app does not seem to be able to switch to landscape view on the ipod touch.
Is there someway to get it to run in horizontal mode?It seems like it ought to be, I'm very dissapointed that this app won't do this.
-
In acrobat how do i open a file in landscape view?
My file opened as several "portrait view" pages instead of one "landscape view".
Rotate the pages that need to be rotated, save the file, and it should open in correct view next time.
-
Reader 8.1.2 still cannot print landscape pages
Hi,
AR 8.1.2 still doesn't print landscape pages correctly - the pages are printed as portrait exactly like in topic for AR8.1.1:
http://www.adobeforums.com/webx/.3c0604d8/3
I'm using Suse Linux Destkop, with cups version cups-1.1.23-40.35.
The printouts are correct using another pdf software (or printed via command line).Hello Stefan,
I believe you are trying to print a PDF with pages in landscape orientation by choosing the "Landscape" radio in the print dialog. Is that correct?
Could you check if the printer you are printing to supports Custom media size? (You could do that by looking at the printer options at http://localhost:631). You would not face the problem you mention if you try configuring your printer with a different driver (say which supports custom media size, unless the feature is not supported by your printer itself).
As a workaround try choosing the "Portrait" radio button in the print dialog and selecting the "Auto Rotate and Center" checkbox. This should give you the expected results.
Hope this helps.
Sincerely,
Neha -
No landscape view???
Is it possible to lock the iPhone 4 from going into landscape view like the iPad does?
Yes, double click on the Home button and slide to the right to bring out playback controls. There is a circular arrow icon, press on that to set the orientation lock.
-
Landscape view printing on the iPad
How come I can print in landscape view in numbers on my iPad but not in pages. It Beggers believe.
The simplest of answers is that Pages does not use landscape pages. Rather, you rotate the content on the page and when printed in "portrait" your results would be a page that once out of the printer is "landscape" in all appearances.
-
Printing without loading the JSP to the browser
Hi All,
Looking for help desporately on how to have different JSPs printed with out loading actual JSPs onto the browser.
The scenario is we have an application with 17 different views for the same data and we should be able to provide a screen where the user can select the pages what he wants to print. Based on the selection only those JSPs are to be printed irrespective of whether the user had viewed the JSP or not.
Also the program should be smart enough to set the print type to landscape or potroait based on the width of the table. (Assuming width is known). Are there any libraries avaibable in java for controling the "print" functionality in servlets and JSP.
To mention, I'm good if the solution works in IE 5.0 and above
Thanks in advance and your time is very much appreciated!
Thanks,
KishoreHere's my thoughts on this, but not necessarily a solution. Summarized extremely simply, the app server is going to parse your .jsp files and turn them into java source and class files...servlets. I'm sure each app server creates and names it's parsed files differently, and i'm not sure if you can actually specify how this is done. Even then, you're stuck with java servlets that are being processed as the user is running the pages. The html, to my knowledge, is never stored on the server side. So what you're essentially asking how to do is specifically state which jsp's you wish to parse, run the servlet that is created, and then store the html so that you can print out the page, and also specify, or determine, the names of the html files that were created. All without the user ever looking at the page. Right.. doesn't seem too hard :) I'm gonna look into this, cause i'm curious how it might be done, if at all. Anyone else's opinions suggestions are also more than welcome.
Also the program should be smart enough...Lol...Only if the programmer is :) -
Can't Print Landscape from Crystal Reports Viewer XI
Post Author: conrad
CA Forum: General
Product: Crystal Reports Viewer XI, version 12.0.0.r130_v20070725 and
Crystal Reports XI, version 11.0.0.1282
Patches Applied: none
Operating System(s): XP Pro SP2
Database(s):
Error Messages: noneSteps to Reproduce:
Download and install Crystal Reports Viewer XI
Open a Crystal Report that prints landscape.
Save report with data.
Open that report with Crystal Reports Viewer XI. Report will display landscape.
Click Print..OK
Viewer will attempt to scale output to fit on portrait paper, with varying degrees of success.
Checking the properties of the report from Viewer (File...Report Properties...) shows a "Page Orientation" of "Landscape" and a message "Page Orientation and size defined by the application (no page information set by report author)."
Any ideas on how to get the report to print landscape? It prints that way from Crystal Reports XI.Hello Glenda,
as you refer to the legacy technology I recommend to post this query to the [Legacy Application Development SDKs|SAP Crystal Reports - Legacy SDKs; forum.
This forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
It is monitored by qualified technicians and you will get a faster response there.
Also, all Legacy Application Development SDKs queries remain in one place and thus can be easily searched in one place.
Thanks a lot,
Falk
Maybe you are looking for
-
Excise invoice is not generating through batch-VF04
Dear all, I have created batch for VF04 for creating automatic commercial invoice every after five minute.here is also customization for automatic creation of excise invoice. Now the issue is when batch run, it create the commercial invoice automatic
-
hello, i have the problem that my itunes match never ends the sync. It runs always in a loop Itunes is in german I found a lot of solutions with the alt key, deactivate and activate Itunes Match and other, but nothing help. have anyone a idea what i
-
How to modify your age on your Creative Cloud profile ?
Can anyone explain me how to change my age on my Creative Cloud profile ?
-
Adobe illustrator cs6 java 6 issue on os x yosemite
Hi, after upgrade to os x yosemite, when I try to open illustrator cs6, a popup appear and tell me to install java 6. Ok, after installing java 6 I have graphic issues with all my system: wierd buttons and windows, etc. How can I solve compatibility?
-
HT5622 Pls send me the sercurity questioned i forgot them
Pls send me security questioneds by [email protected] I forgot them