Window.Print

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sunshine
    New Member
    • Mar 2007
    • 3

    Window.Print

    Hello all,

    I really need help. I am having a problem using the javascript print function. I am tryint to print the page but only the page that is visible is printing. The entire page won't print. I am using the code:

    onclick="window .print()"

    I don't know programming that well so, someone please help me!!
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by sunshine
    Hello all,

    I really need help. I am having a problem using the javascript print function. I am tryint to print the page but only the page that is visible is printing. The entire page won't print. I am using the code:

    onclick="window .print()"

    I don't know programming that well so, someone please help me!!
    This is written in javascript?

    Comment

    • sunshine
      New Member
      • Mar 2007
      • 3

      #3
      Well the page is an html page, with javascript contained it. The problem is I have a scrollbar on the page. And when I print it only prints the top content and not anything below the visible screen.

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        Originally posted by sunshine
        Well the page is an html page, with javascript contained it. The problem is I have a scrollbar on the page. And when I print it only prints the top content and not anything below the visible screen.
        Then I'd recommend the javascript forum that can be found on the right hand side of the page.

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          Moved to Javascript forum

          Comment

          • mgast
            New Member
            • Sep 2006
            • 9

            #6
            Can you be more specific as to what you are trying to print? Are you using frames? Can you give us an example, or a sample of the code you are working on?

            Comment

            • AricC
              Recognized Expert Top Contributor
              • Oct 2006
              • 1885

              #7
              Originally posted by sunshine
              Hello all,

              I really need help. I am having a problem using the javascript print function. I am tryint to print the page but only the page that is visible is printing. The entire page won't print. I am using the code:

              onclick="window .print()"

              I don't know programming that well so, someone please help me!!
              Sunshine,
              We need to see the code that isn't printing correctly.

              Comment

              Working...