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 Advance

Use CSS. Check out the 'media' attribute. http://www.w3.org/TR/REC-CSS2/media.html

Similar Messages

  • 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 the page numbers

    hai everybody,
    If you dont mine will you give any suggestions to me. I am using BI publisher reports. I want to be print the page numbers in the body level not in the header/footers level.
    Than'Q' & Regards,
    Chinni...
    Edited by: user11813026 on Aug 21, 2009 5:37 AM

    Without seeing your xml and template , its very difficult for us to assume where you are doing wrong.
    Invoice Page break

  • How to Print the page...

    Hello,
    In my application i need to Export and Print some of the pages.I know how to "Export" the data but I don't know how to add "Print" Button and it's functionality.
    Can anyone please help me if you have already implemented..
    Thanks

    Ok I got it

  • In Scripts how to print the values in currence format

    Dear abap guru's,
    I am working on Purchase Order Script, copy from the standard script, after that wrote a one perform , in that added one new field to script, but value is printed like this formate : 1000.00, but i want to print 1,000.00 like this currence format. let me know the any solution
    thanks to all
    raj.

    Hi ,
    When you are populating the value in perform instead of assigning the value (using = ) pass it using WRITE TO.
    Like :  WRITE lw_total TO output-value.
    Declare lw_total as currency field.
    Regards,
    Rajitha.

  • 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.
    Pravin

    Hi 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 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,
    Priyanka

    Not 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 text in only last but one page in sapscripts

    hiiiiiiiiiii,
             explian how to print the text in only last but one page in sapscripts? wher to write the code? plz if possible explain in detail with an example?

    Hello,
    The total no pages is given by &SAPSCRIPT-FORMPAGES& command.
    So u can handle the situation in ur form like this
    /: if &PAGE&  = &SAPSCRIPT-FORMPAGES&
    p1 TEXT
    /: endif
    Try in this way it may help u.
    Regards

  • How to print the Actual Check on 1st Page if line items are more for F110_p

    Hi,
    How to print the Actual Check on 1st page if the line items are more in F110_PRENUM_CHCK script. The standard script is printing at the last page of line items.
    I tried using
    IF &PAGE& EQ '1 '
    /E 545 --> text element
    ENDIF
    but it is of no use.
    Please let me know if anyone knows. Thanks in Advance.

    Hi Krishna,
    I guess, there is no other possible way to acheive this without modifying the standard driver program. Why because? in you driver program you check window will be called only on the last page... but before you change your driver program give a try like shown below....
    Not sure, but give a try... In the first page you will be printing some void check try to replace the code inside the text element of void check with original check and make all the check void... note: in this text element, be sure you write two conditions...
    IF &PAGE& = 1.
    **PRint all check values..
    ELSE.
    ***Print void values
    ENDIF.
    Close the thread if your question is answered.
    Regards,
    Sairam

  • How to print the Terms and Condition page ine the sap-script

    Hi experts,
                             i got the requirement that how to print the Terms and condition page in the script,i have the three pages, having the same main window, in the last of the main window(all three pages)  i have called the hard coded text(i.e so10 text), but when i am displaying the output  data get printed in the first page but i am getting the second page heading on the top of  the terms and condiions page. In all the three pages i  have the same main window, if i  make change in any window i will affect all the other main  windows.  so please suggest me how i need to go.HOW TO GET GRID OF THE TEXT ON THE TOP OF THE SECOND PAGE OF THE TERMS AND CONDITONS.
    like this i have called in the MAIN WINDOW
    /E : LAST ( IN ALL THREE PAGES)
           INCLUDE ZSD_INVOICE_TERMS TEXT OBJECT TEXT LANGUAGE EN.
    IN THE TCODE SO10
    NEW PAGE TERMS.
    1) TERM MS AND CONDITONS  TEXT.................................................
    FIRST->NEXT, NEXT->NEXT,,   TERMS--->TERMS.

    Hi,
    1. Create a new page by Name : LAST
    2. Identify the text element which will be the last element in the form in the debug mode.
    Mostly Ex: SUM, TOTAL, LAST etc.,
    3. the page linking should be
    First --> Next
    Next --> Next
    4. In the Text element identified in the step 3.
    Write the following code
    /: NEW PAGE  LAST
    /: INCLUDE the standard text created for the terms and conditions in SO10
    Check the syntax for the command but the logic will be the same.
    It should resolve your problem.

  • On Yosemite how do I get Pages to print the page number on every page, not just on alternate ones?

    I  only changed from Windows to an iMac earlier this year (now on Yosemite), but cannot get Pages to print the page number on every page;  it seems only to do it on alternate pages.

    Jeff,
    I do NOT understand your positive attitude. If someone has a problem with Numbers in Yosemite, you tell them to resurrect a pre-Yosemite version of Numbers.
    The VIEW LAYOUT command is basic and critical to Numbers; how could Apple over-look such an important function in Yosemite ... ???
    Joe

  • How to get the print the page numbers in a report  based on another report

    Hi
    I have a requirement in which i need to print the page number based on another report
    example my request set has 3 reports
    1 report prints 1- 100 pages
    2 report page number should start from 101 - 110
    3 report 111-
    Can anyone please let me how to achieve this?
    Thx in advance
    Kumar

    Hi,
    You can create all the three report queries in one report creating separate query in the data model and then create the layout in proper sequence as required.
    If you want to use separate reports only you might try the following:
    In the first report use the after-report trigger and save the total no of pages in a table as a record.
    In the second report fetch the value stored in the table and add it to the Page No. to obtain the Page No for second report.
    Also in the second report use the after-report trigger and update the record created in first record to total no of pages + total no of pages of the first report.
    In the third report fetch the value stored in the table and add it to the Page No. to obtain the Page No for third report.
    Do remember to delete the record created in the table after-report trigger of the third report.
    Hope this helps.
    Best Regards
    Arif Khadas

  • 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

  • How can we print the page numbers for TABLE OF CONTENTS form When its excluded from the form page count ?

    Hi Experts,
    We have TABLE OF CONTENTS followed by 100 forms with totally 215 pages.
    We have checked in the Exclude from form page count option for TABLE OF CONTENTS form in Group level.
    The forms followed by TABLE OF CONTENTS form all are using FORMSETPAGENUM rule in footer.
    the very first form followed by TABLE OF CONTENTS form the page number starts at 1 of 215 and the last form ends at 215 of 215.
    Now i want to print the Page number for TABLE OF CONTENTS form alone.
    How can we do that ?  Any thoughts ?
    Regards,
    RAMAN C

    Hi Raman,
    I guess, you have included 'Exclude Page Count' option in Table Of Content (TOC) form.
    There is a limitation in studio. The page number functions (FORM PAGE NUM OF/ FORMSET PAGE NUM OF) will be ineffective when we select the 'Exclude Page Count' option in TOC form. Hence, you was not able to print the Form Page Count in TOC form.
    The only way to print page count is to deselect 'Exclude Page Count' option. Then you can normally print the TOC Page Count in TOC form. However, thiS TOC page count will add to the Total formset Page Count. The Formset Page Count can be controlled through Postransdal using the script [FORMSET PAGE NUM = TotalPages() - 1]
    Regards,
    Mahesh

  • How do I get my HP Photosmart 7960 to print the page numbers on a multi-page project?

    How do I get my HP Photosmart 7960 to print the page numbers when printing a multi-page project?

    Hi,
    This has most likely nothing to do with the printer but with the program you are using to print. For example Word has a setting for this, so let me know which program and I might be able to check for you.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Although I work for HP my posts and replies are my own
    Please mark the post that solves your problem as "Accepted Solution"

Maybe you are looking for

  • Why is the CSS formatting different?

    When using live mode and browser preview mode using chrome, the formatting of my page is as it should be.  However, when I use the chrome browser and enter my url and go to the specific page the formatting is not correct.  By the way it is as it shou

  • How can I change the ToolTip bg and fg colors?

    hi, I have a JTree, and I want to display a textual description for each node as a tooltip. I want the tooltip to appear with a certain bgcolor, and fgcolor. I have a CustomCellRenderer extending DefaultTreeCellRenderer with getTreeCellRendererCompon

  • Value Mappings and Mapping lookups?

    Hi Experts, I've came across a thread on SDN which is mention below. value mapping can anyone explain me what is value mapping and fix mappings and why we need them and wht is mapping lookups? plz refer some weblogs which can explains in detail about

  • Mapping information to SCOM Alert "Path" field through the connector

    Hello, We are using the Oracle Enterprise Manager connector (link to the guide: http://docs.oracle.com/cd/E11857_01/install.111/e14736/toc.htm) to send events from OEM to SCOM. According to the Oracle connector documentation, the Target host paramete

  • I'm having a problem upgrading the new version of Flash Player.

    Having a problem just UPGRADING my computer to the latest Flash Player. Had no problems doing it in the past, but now when I go through the steps, my computer fails to save the download. Then I can't run it. We have Windows XP. What do I need to do?