How to print a page in jsp?
hello to every one...
i made a report and when i click on print's link which is on my report page of jsp,a new popup window opens which show the report plus i want that when ever popup wndow open ,file->print... option should also be open..how can i do this?
thanxs in advance...
Hi
You can open a new window, directing it to the report that you want to view. Also, call window.print() in your popup window.
Similar Messages
-
How to print new line in jsp page
hi
how to print new line in jsp page
thanks\n - new line character is in java specific not HTML
specific.Well, if the correct line separator sequence (by far not always \n) would be used, it does add a new line to the HTML output. Too bad that you don't want to see HTML but formatted text. The BR tag is a formatting element for the displayed text, not a line break in HTML. ;) -
How to print last page in sap script in ladscape format?
Hi all,
can any 1 tell me How to print last page in sap script in ladscape format?
Thanks In advance.
PravinHi Pravin Sherkar,
we can do this in SAP Scripts.
we need to create two pages, one of landscape and another of potrait.
now after filling the data at last we need to call the page which is of format landscape using START_FORM function module.
You can use condition &PAGE& = &FORMPAGES&.
Please check this link
Printing Portrait/Landscape in sapscript
Re: Landscape and potrait in same layout?
http://www.sap-img.com/ts013.htm
Best regards,
raam -
How to print blank page in script
Hi all,
how to print blank page in scriptHi,
Try the command /: NEW-PAGE. Let me know if it is working.
Ray -
How to print the page in custom format
Hi All,
I've a login page like
USER ID : Test box to enter data
PASSWORD: Text Box to enter data
A Button named as Print
When i click on print button i want to print the form in custom format. when i use window.print in java script it is printing text boxes and button . but i dont want to print button and text boxes. i just want to print the user id and password entered by the user with corresponding labels.
Can anyone suggest me how to print the page in the above format with out using the request object. coz i need to implemnt above with plain java script and html.
Tks in AdvanceUse CSS. Check out the 'media' attribute. http://www.w3.org/TR/REC-CSS2/media.html
-
How to print different pages of sap script from diff. trays of printer
Hi All,
I have the requirement in SAP script. How to print different pages from different trays in the printer.
For example page 1 logo and address has to print from tray-1,
page 2 main data print from tray-2,
page 3 footer data print from tray-3.
will appreciate if u come up with solutions asap.
Thanks in advance.Hi,
May be the links given below might help you,
SAPScript:Selecting Different Tray in SAPscript
Print to different output tray in SAPscript/Print Workbench
Regards,
Hema.
Reward points if it is useful. -
Can anyone explain to me how to print a page of Thumbnails of the same photo?
Can anyone explain to me how to print a page of Thumbnails of the same picture, for wallet photos?
In the print window select a print size that would allow many of the same photos on the page. Click the Customize button and under settings select Multiple of the same photo per page. In this screen shot I selected a size of 2x2.
Adjust the print size to get the number of photos per page that you want.
OT -
I want to print page number with every page how it possible.....
So that I would come to know how many printed documents are left....
Please reply soonHi Friend,
In the Live Previewer menu
on top there are two buttons
one for Insert date and time
two for Insert page numbers
select the second one it will diff
options for page displaying
so that u can display the page numbers
bye
srini -
How to print second page as continuation of First Page.
Hello,
I am printing a script. I want to print next page as continuation of first page.
I am printing some contents. It is overflowing the first page, But remaining contents are not appearing at
Next page.
How to print that.
Can any body plz help.Hi,
If the text doesn't fit in page, the it will be printed in the next page.
If it is one line or two line by increasing the length of the window, you can accomodate.But if it more than than then its not possible to print in the same page.
If you dont want to get the text truncated then just use PROTECT and ENDPROTECT command in order to protect the text.
Then the whole text will be printed either in First Page or Second page depending on the amout of text.
Thanks & Regards,
Vamsi. -
How to print current page in Preview
Printing in Preview, I don't see an option in the print dialog that enables "print current page", how is that done?
The reason is that have a 90 page PDF document and the page numbers don't match so I can't just choose to print for example "from page 51 to 51", the wrong page prints (page 39). Both the drawer and the separate pages says the same page number but not when printing.
Thanks.
Mac Mini 1,33 Mac OS X (10.4.4)Yeah, I thought so. I find the printing options very limited, across the board. To do things like "print current page" or "print selection" in Preview or Safari should be easy and obvious.
Thanks for the reply, I'll get Adobe Reader for now. -
How to print a page in printer friendly format.
Hi,
I have a requirement, I need a Print button which can print APEX page in given formate. I can not use just window.print. Since I need Print option in APEX page not in report, Please let me know how t oachive this.
Thanks,
PriyankaNot sure what you mean, but if you add "YES" as 9th parameter in your APEX URL your Page is rendered in "PrinterFriendly" Mode.
For URL Syntax: http://www.oracle-and-apex.com/apex-url-format
See the documentation for details.
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
Work: http://www.click-click.at -
How to print the page number in a background processing program
HI All,
I have requirement where i need to print the page number in x of y format and the program is getting executed in background and csv file will be downloaded at application server.
i tried using sy-pagno but it is not working.csv file will be downloaded at application server --> How u are downloading this ? have u coded in ur program ? in tht case u will not get.
Regards
Prabhu -
How to print a page of labels in pages
Where and how to print a sheet of mutiple labes in pages.
I have managed to open Address Book... then select say the USA group or other... go to file, print, style: mailing labels, then Layout and chose A4 page and Avery ref. On the left I see all the addresses as they will look on the label. So far, so good. However... how do I make the COUNTRY appear on the labels... I have typed it in at the end of each address, but it does not show on the label and then I have to write in individually... when you have a large number it is inefficient... surely there must be an answer to this?! Can anybody help?!
-
How to print last page in smartforms
Hi,
In my smartform i have 3 pages (FIRST, NEXT & LAST). FIRST contains some header detail and items. NEXT contains rest of items and this page would be repeatable if more item comes. now after NEXT i want to print LAST page. How to achieve this. PLease let me know. I looked into forum but haven't get exact answer so far.
RgdsHello,
According to your scenario you are having 4 orders and each order has to print seperately with the last page .right?
The best soln would be,
1) create another internal table same as the one you have and delete adjacent duplicates using order, so you will have 2 internal table one with 4 orders (it-1)and other with all the items(it-2).
2) In the driver program ,
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
control-no_open = 'X'.
control-no_close = 'X'.
output-tdnewid = 'X'.
PERFORM ssf_open.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
ARCHIVE_PARAMETERS =
user_settings = ' '
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJ =
output_options = output
control_parameters = control
IMPORTING
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT it-1.
CALL FUNCTION l_fm_name
endloop.
CALL FUNCTION 'SSF_CLOSE'.
2) In the smartform
FIRST -> next page -> NEXT
Beneath the main window -> Table, put Command - Goto new page as LAST.
NEXT -> next page -> NEXT
LAST -> Next page -> Blank
I hope this will work as I have done a similiar dev.
Regards,
Radhakrishnan -
How to Print two pages in smartforms
Hi All,
How to create two different pages in smartforms.In my requirement the first page contains Table data in main window and in second page only the hard coded desription should be printed containg instructions,but the second page is mandatory after first
page is completed,the first page may have n number of pages after printing those pages my second page should trigger.Help me if any one knows.
Thanks in advance............
Regards,
Satya.hi ,
once a main window size is declared , then that space will be placed in each page created.
eg. if a table with header and footer is created, first of all the space for header and footer are allocated and body page is allocated.
so we cannot dynamically change the size of the main window , even it is a copied main window.
Otherwise another option is to continue the main window into the second page.
for that first page main window -> create table -> add page break command to page 2 -> hard code description in template.
page attribute for first page --> GOTO assign same page ( for continuing the same page)
Page attribute for second page --> no need default is enough
Maybe you are looking for
-
When I returned from holidays I could not access the internet wirelessly through my Airport Extreme (5th gen) from my iPhone, iPod touches, ipads and my AppleTV 2 no longer can access the internet or the network either. I can get access to the inter
-
How to Use Decode with Add_months
Here is my code DECLARE no_of_rents number(3) :=0; BEGIN select (:period_mm/decode(:pay_freq,'M',1,'Q',3,'H',6,12)) into no_of_rents from dual; for i in 1..no_of_rents loop insert into mk_rnt (MK_NO,RENT_NO,DUE_DATE,DUE_AMT)
-
Devices disconnecting randomly
Hello there! I just moved into a new house and setup my network. I use a lot of wireless devices (5 computers, apple tv, sonos speakers, nest) and some bluetooth devices (keyboards, mouse, kevo kwikset) etc. What happens is that some devices randomly
-
How to duplicate a page layout\
I'm having trouble duplicating a page layout. Normally in Microsoft Word when you went to the next page, the prior layout would be duplicated. Not so in Pages. To be specific, I created a tables page to use with Avery/Staples address labels type 5
-
Need Help: Pics not linking with edits
Hope I can be clear here... I changed the top folder - deleted it. Mistake on my part, learned my lesson. This made the corresponding pix in LR go red - LR can't find where the original files are. My LR edits are still there though if you click on "d