a problem in printing a document.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nirmalsingh
    New Member
    • Sep 2006
    • 218

    a problem in printing a document.

    hai all,
    i am using window.print() command to print a report. i am getting the result. now the problem is in a printed document i dont need to print page number or document path. how could i customize this? what should i do to do this? is any other solution?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Use the browser settings and remove the header and footer.

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      To expand on Acoder's post, there is no way to force this setting using JavaScript. If you really need to disable the page number / URL display on the printout, you'll need to do something drastic, such as generate a PDF file instead.

      Comment

      Working...