Printing function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kencana
    New Member
    • Nov 2006
    • 26

    Printing function

    Hi all,

    I am currently developing a web page using jsp. what i need to do is,
    to create a java print form function so that i can call this function by pressing
    printing button.
    what i need to do is, to create a print layout and print the form. have tried the javascript print function "window.print() " but it will print the whole web page.

    any idea of to get this function done?

    Thanks a lot

    Regards,

    Kencana
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by kencana
    Hi all,

    I am currently developing a web page using jsp. what i need to do is,
    to create a java print form function so that i can call this function by pressing
    printing button.
    what i need to do is, to create a print layout and print the form. have tried the javascript print function "window.print() " but it will print the whole web page.

    any idea of to get this function done?

    Thanks a lot

    Regards,

    Kencana
    Have you had a look at the java printing API?

    Comment

    • rengaraj
      New Member
      • Jan 2007
      • 168

      #3
      Do you need only a portion of the page to be printed ??

      Originally posted by kencana
      Hi all,

      I am currently developing a web page using jsp. what i need to do is,
      to create a java print form function so that i can call this function by pressing
      printing button.
      what i need to do is, to create a print layout and print the form. have tried the javascript print function "window.print() " but it will print the whole web page.

      any idea of to get this function done?

      Thanks a lot

      Regards,

      Kencana

      Comment

      Working...