How to Print Html Document (more than one page)

I've a problem with printing my html page. I can print one page of html file, But my document is longer than one page. and i can't print it.
who know how to print . Please Reply

A recent article in JavaPro has a nice solution for this problem. Check out
http://www.fawcette.com/javapro/2002_12/online/print_kgauthier_12_10_02/
It describes a way of using Views to break down the pages.

Similar Messages

  • How to use beans in more than one page

    hello members,
    can somebody tell me how to make beans availabe to more than one page ,i used scope variable as "application"
    in which i set the value of java bean and in that page it show all values of that bean even it modified
    but when redirect to another jsp page it does not show modifided value,it shows its default value
    what shld i use tell me
    following thing that i use in forwarded jsp page
    <jsp:useBean="same id in previous jsp page", class="same class", scope="application"/>
    and then i am using boolean variable which set false default ,but i set it manually though
    setfuction (assume) in original jsp page,but in redirected page it showing it value fasle
    i don't know why
    can somebody (Bean Bond) help me in this problem
    i will very thankfull to you
    plz..................

    My dear friend,
    your scope is wrong. Since you run a JSP page and you want it available everywhere, the only thing that all pages have common is session. So changing your bean scope to session will keep the bean variables and the rest you have on it.
    Try it and let me know.

  • How to handle form with more than one page in struts

    Hai,
    i have more than one page in my struts web apps. each page has a form & i have submit button @ last page. I navigate between these pages using titles. data has to exist when i come back from another page(i.e i am in page1 i have some fields called name & address as textfield, i move to page2 & then i go back to page1 @ that time i should have the name & addess values that i entered previous in the corresponding textfield) & finally when i submit need to get values form all these pages.
    Plz tell me how to do this.

    Hi prasadmca ,
    1.Try to store those value in session variable
    2. or else store those value in DB

  • Adobe: How to print the documents more than once with different data.

    Hi Experts,
    I have a requirement to print the document of minimum 5 employee's at a time.
    First we are displaying the list of employee's and then the user is provided an option to select the employee's and print their details.
    A form has been created. We are able to print the document for a single employee. But now the requirement is to select multiple employee's and print their details at one time.
    I am able to get the contents all the employee's in an internal table. But i am not getting to combine the contents together and print the document.
    So could some one help me how to get the contents of all the selected employee's and print the document's.
    Thanks.

    I don't understand whether you want to print several different documents in a row each with  an employee or one pdf document with several employees in it.
    If you want to print one document with multiple employees inside, then you have to recode your PDF to be able to handle a table containing each employee data.
    If you want to print multiple pdf documents each containing one employee info, then this is done in abap. [see BC480]
    i.e.
    DATA:
    gt_customers TYPE TABLE OF scustom,
    gs_customer LIKE LINE OF gt_customers,
    gt_bookings TYPE ty_bookings, "table of sbook
    gt_sums TYPE flprice_t,
    gv_image_url TYPE string,
    gv_fm_name TYPE rs38l_fnam,
    * parameters for calling the generated function module
    gs_docparams TYPE sfpdocparams,
    gs_outputparams TYPE sfpoutputparams,
    Event START-OF-SELECTION:
    * Please note that the error handling implemented here is very
    * rudimentary!
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Get name of the generated function module
    TRY.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    EXPORTING
    i_name = pa_form
    IMPORTING
    e_funcname = gv_fm_name.
    CATCH cx_root.
    MESSAGE e004 WITH pa_form.
    * No active form &1 available
    ENDTRY.
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Optional: Set output parameters
    gs_outputparams-nodialog = space.
    gs_outputparams-preview = 'X'.
    gs_outputparams-dest = pa_prnt.
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Open print job
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = gs_outputparams
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE e020.
    * Form processing could not be started
    ENDIF.
    LOOP AT gt_customers INTO gs_customer.
    * Set form language and country (->form locale)
    gs_docparams-langu = pa_lang.
    gs_docparams-country = pa_cntry.
    PERFORM find_bookings_for_customer.
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Now call the generated function module
    CALL FUNCTION gv_fm_name
    EXPORTING
    /1bcdwb/docparams = gs_docparams
    is_customer = gs_customer
    it_bookings = gt_bookings
    it_sums = gt_sums
    iv_image_url = gv_image_url
    iv_sending_country = pa_cntry
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE e021.
    ENDIF.
    ENDLOOP.
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Close spool job
    CALL FUNCTION 'FP_JOB_CLOSE'.
    In the above pay attention to the loop.
    Cheers,

  • Printing PDFs with more than one page size

    A large client sent me a PDF of mostly usLetter-sized pages, but with some in-line 11 x 17" pages he intended to Z-fold. I was able to vary the size of the bounding box within the Windows drivers by selecting "Choose Paper Source by PDF page size". That way I would eliminate the vast white spaces created by putting letter-sized images within an 11 x 17" bounding box, or alternatively, shrinking or masking 11 x 17" images to fit a letter-sized bounding box. With the advanced settings of our printer's drivers, I was able to program the two paper sizes into the print job.
    I can't seem to find a control like "Choose Paper Source by PDF page size" in my Mac OS X v. 10.4 (or 10.5) drivers. Are they absent or am I?

    Mike, it's a production run with lots of copies and lots of pages per copy, so it'd be too labor intensive to be cost effective if there's a high-tech way of doing it.
    That way is to put it on a Windows workstation to gain access to the "Choose Paper Source by PDF page size" control that the MS drivers offer. This sets the bounding box rather than the paper as the interface mistakenly indicates.
    Then use the PCL drivers because of the way Microsoft's PS drivers position the images.
    Make sure to set your letter-sized body pages to 2-sided and, if you can, your Ledger-sized pages to 2-sided, flip on short edge.
    Again, it's a shame that the Adobe/Apple interface doesn't offer the same ability that the Adobe/MS interface offers.

  • How do I go back more than one page at a time?

    Surfing sites like eBay, I often traverse through several pages of a search. When I'm done. I'd like to be able to "Go Back" to the page where I started. It may be several pages back and using the "Go Back" button is cumbersome when I need to go back multiple pages. I hate to say it, but IE has an arrow key next to the "Go Back" and "Go Forward" buttons that provides a drop down list of the last X number of pages visited. This feature allows me to "Go Back" to the page I want with one click. I really want to migrate to Firefox, but this issue is a real pain for me when browsing. Is there a feature in Firefox that will allow me to do this easily?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • I have an HP Photosmart C4180 all in one printer scanner and copier, I can't figure out how to scan more than one page at a time and then send as a PDF file via email

    I have an HP Photosmart C4180 all-in-one, printer, scanner and copier.  I can't figure out how to scan more than one page?  It will only let me do one page at a time and then I have difficulty sending pages 1, 2 and 3 as one docuement.  Any ideas??
    Thank you, Jetteski

    Hello Jetteski,
    Hello Jetteski, Thanks for the post.
    Since you are running a MAC, check the below links for some excellent information on scanning.  Good Luck!
    http://goo.gl/M8Cl2
    http://goo.gl/cufK6
    http://goo.gl/OTQoR
    I work for HP but my posts and replies are my own....Thank you!

  • SMARTFORM: how to create 3 copy (each copy can print more than one page)

    SMARTFORM: how to create 3 copy (each copy can print more than one page)
    Hello everyone.
    my user want to have form that print 3 copy.
    such as 1 copy description = master,  2 copy description = copy 1 ,3 copy description = copy 2.
    so i create 3 page . I copy from page 1.
    and in each page there is main window which can have data more than 1 page.(such as have a lot of sale data ,it's take 2 page for show output .so it's take 2 page in each copy)
    please help me.
    how to set page and window in each page for print 3 copy and each page can have main window that print more than 1 page

    Hello Vinit.
    thank you very much for your help.
    could you help me more please.
    in below code
      DO NAST_ANZAL TIMES.
    l_counter = l_counter + 1.  " << pass this to FM and use for the TEXT to print
    CALL FUNCTION LF_FM_NAME
               EXPORTING
                         COUNTER = l_COUNTER   " USE this to derive the text into PRINTOUT
    enddo.
    Now i out of office .so i cannot test.
    where do i set NAST_ANZAL for 3 ?
    can i input ?
    NAST_ANZAL = 3.
      DO NAST_ANZAL TIMES.
    l_counter = l_counter + 1.  " << pass this to FM and use for the TEXT to print
    CALL FUNCTION LF_FM_NAME
               EXPORTING
                         COUNTER = l_COUNTER   " USE this to derive the text into PRINTOUT
    enddo.
    Edited by: dittaporn nanasilp on Mar 12, 2011 3:33 PM

  • How do u save datas more than one table using net beans ide using JSF

    Hi,
    I am new to JSF.
    I save / delete / update / New master table using POJO (Plain Old Java Objects), database - oracle and Toplink Persistence Unit.
    How do u save data more than one table using net beans ide using JSF (I am using POJO) ?
    and also Tell me the reference book for JSF.
    Thanks in advance.
    regards,
    N.P.Siva

    SivaNellai wrote:
    I am new to JSF.
    So, I am using net beans IDE 6.1 from sun microsystem. It is a free software.No, you don't drag'n'drop if you're new to JSF. Switch to source code mode. Write code manually, with the help of IDE for the speed up.
    So, please guide me the reference books, articles. I need the basic understanding of JSF, net beans IDE.[JSF: The Complete Reference|http://www.amazon.com/JavaServer-Faces-Complete-Reference/dp/0072262400] is a good book. The [JSF specification document|http://jcp.org/aboutJava/communityprocess/final/jsr252/index.html] is also a good reading to understand what JSF is and how it works. There are also javadocs and tlddocs of Sun JSF Mojarra.

  • How do you fax more than one page at a time?

    How do you fax more than one page using the phone?

    Hello @spirittoo, 
    I am not quite sure what you mean.
    Are you using a third party app to send faxes from a cell phone?
    In case you are having an actual fax issue, I have included the following links.
    Send a Fax from the Scanner Glass or the Automatic Document Feeder
    Fax Sending Fails Intermittently or Fails for Only One Recipient
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Why can't I print more than one page?

    I'm pring a lafge text:
    <af:inputText id="it1" value="#{main_bean.resp}" readOnly="true"
    simple="true" rows="#{main_bean.kvitRows}" styleClass="AFStretchWidth"
    visible="true"/>
    That is I use one af:inputText with many rows.
    To send it for pring I use JavaScript.
    <af:resource type="javascript" >
    function printPage(evt){
    window.print();
    evt.cancel();
    window.close();
    </af:resource>
    When printing it clips the text. If the text is more than one page it print only one page. I need to continue printing on the next pages (not to clip). When printing othe web-pages it distributes it onto several paper pages.

    Michele Stapleton wrote:
    I think using Numbers is too complicated because what I want essentially is a text document I can alter.  I take the information they put into my form and repurpose it in a way I find more useful while performing the job. So, I want to be able to take their typed information and move it around. And add some more of my own.
    You may perfectly "their typed information and move it around" in Numbers which behave as the AppleWorks Draw environment.
    Here is the second page in the document which I posted before.
    As you may see, the standard Word Processor features are at work:
    Spell Checker
    Selection…
    I exported my AppleWorks documents in Numbers ones.
    And of course, with the Numbers document open, you may copy pieces of it and paste them in Pages's pages.
    Yvan KOENIG (VALLAURIS, France) jeudi 16 juin 2011 16:44:30
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Can I open more than one Pages document at a time with the IOS app?

    This sounds crazy, but I can't find how to open more than one Pages document at the same time when using the Pages app on IOS.
    It's easy on the Mac, but on my iPad? Can't seem to do it!
    I'm working on a project where I'm writing one document, but having to frequently cross-refer to another. Having to continually open and close each document, one at a time, on my iPad is driving me mad!
    Am I missing something really obvious? Can anyone help please?

    Many thanks, that's really useful. I've saved the document I'm referring to as a PDF and can now work exactly as you described.
    As you say, it's not elegant, but it does work
    Just need to ensure my fingertips are very dry, as I fear any slight 'catching' with a four finger swipe and my iPad will fly across the room / train / office 

  • How to load and unload more than one external swf files in different frames?

    I do not have much experience on Adobe Flash or Action Script 3, but I know the basics.
    I am Arabic language teacher, and I design an application to teach Arabic, I just would like to learn how to load and unload more than one external swf files in different frames.
    Thanks

    Look into using the Loader class to load the swf files.  If you want to have it happen in different frames then you can put the code into the different frames.

  • How to add the rows formatted as table headings, Tables headings are repeated when a table spans more than one page.

    Hi all,
    i am facing problem while generating Test Result word document after successful execution of TestStand.
    The Problem is :
    i want to add rows Formatted as table headings, table headings are repeated when a table spans more than one page(marked as Red).
    Example:
    Page  No. 1
    |     Test case Number  |  Test Step number      |
    |      100                         |            100                   |
    Page  No. 2
    |     Test case Number  |  Test Step number      |
    |      200                         |            300                   |
    Test Result word document should generate with Table headings(marked as Red) in every pages of the document, but i am not getting as per above example.
    Please through light on this.
    Regards,
    Susa.

    Hi Santiago,
    Thank you very much for your valuable reply.
    i want to generate MS-word report for TestStand after successful testing using MS-word2000.
    Test report contains Actual values, Expected values and Pass/Fail status.
    In my program i have customized all  fields i can able to generate test report which contains Verification engineer name , test mode, test date, start time, end time Actual values, Expected values and Pass/Fail status.etc....
    To put all values of test case number, Test step number, Actual values, Expected values and Pass/Fail status in to table for each time, i will
    insert a row into table every time values arrives, once the table exceedes its page size it moves to the next page, next page should start with table row header  but it start with  values of above said parameters.
    so i'm not able to repeat table row header for each page.
    Please find the attached file for your reference.
    Attched file expected.doc  :   This file contains what i wanted to generate MS-word report. Here table row header "Test Case Number and Test Step Number " is repeated in second page.
    Attached file Actual output from source code.doc   :  This report generated from the source code. Here table row header "Test Case Number and Test Step Number" is not repeated in second page.
    Do you know any property to set "repeat as header row at the top of each page" using MS-word ActiveX in CVI/Labwindows.
    i think this information is sufficient for you,
    Still if you need some information please ask me.
    Thanks
    Susa.
    Attachments:
    Actual output from source code.doc ‏25 KB
    expected.doc ‏26 KB

  • How can you set up more than one device on iTunes. I have an iPad, iPod, itouch and iPhone. I don't want the same on all devices.

    How can you set up more than one device on iTunes? I have an iPad, iPod, itouch and iPhone. I don't want the same on all devices. I have all my music/videos on iTunes on my mac book pro. Can you set up separate folders for each device and drop in what ever music/videos from the main iTunes library?

    In itunes it is called syncing and you can choose exactly what content to sync to all devices and it can be different for all of them
    How to sync

Maybe you are looking for

  • Spilled milk on my MacBook Pro, what now?

    I put my milk down and it spilled on the closed lid on my computer (non retina 13 inch)   I of course freaked out and rushed my computer upstairs leaving my family to fend for the safety of the couch. I cleaned it off immediately and opened the lid,

  • To load a object created with 3D Studio Max

    Hello, I am a new Java user. I have to realize an interactive presentation in Java of a three-dimensional object created with 3D Studio Max. I would like to know how I can load this object in my java project. I should, in fact, allow the customer to

  • How to fill the error stack

    Hi, we want to check the data quality of the source in the start routine, process the good in the target and the bad in the error stack. Have you any idea which exception I have to raise to put it in the error stack? regards, Adrian

  • IPhone 3GS undetected under "Devices" in iPhoto

    My new 32GB 3GS iPhone is able to sync in iTunes, but in iPhoto, it doesn't even show up. I tried getting some of the photos off of the phone using the Image Capture and still no luck, it like it's not even attached. As soon as I hooked up my old 3G,

  • How can i retrieve bookmarks from time machine?

    Hello. I need major help. This past weekend, I had to wipe the HD on my Macbook Pro. I did have Time Machine backups at the time. Is there any way to retrieve my old Firefox bookmarks from Time Machine? Please help. I'm trying to recover more than tw