on 04-19-2004 10:22 AM
I have to set the Window page attributes from BSP.
E.g.: I have to use Landscape orientation and specific
margin values. And my BSP application should be able
to set these values automatically.
How can I do it?
Thanks for any help!
Kind Regards: Pal Halasz
To make it clearer: Do you want to influence the settings of the Print dialog if the user presses the print button? If you wan't that I think that there is no chance with HTML. Try to use a PDF File for output.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
what I think of:
In the menu of the window:
File->Page Setup->Orientations (and Margins)
I already realized that it's not possible to set it nor from HTML neither from ABAP(?). But isn't there some
Java solution for it? I mean if I open a new window with
JavaScript isn't there some attribute of the window.open()for set these values?
Anyway lot of thanks!
Kind Regards: Pal Halasz
Hi Pal,
first of all JavaScript has nothing to do with Java.
With JavaScript and the window.open() function you're able to influence some parameters of a new window. It is often used to define the size of a pop-up. Another thing you can do is hide some browser-bars.
What you are trying to do is influence the print-setup of the page. And to my knowledge this is not possible with html or JavaScript.
Even Java won't help a lot. If you are using a Browser all you can do is make Java generate html and JavaScript. If you are not using a browser but some own GUI you should be able to do this, but that is beyond BSP...
The only way I could think of for doing this is using some weird ActiveX-Control which is taking over control of IE...
Please correct me if I'm wrong.
For html, JavaScript and so on have a look at http://selfhtml.teamone.de (afaik only available in german)
Regards,
Alex
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.