Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Please Help Me for Print

Please Help Me for Print

Scheduled Pinned Locked Moved ASP.NET
help
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mohanbalal
    wrote on last edited by
    #1

    I used the window.print(); Method to Print the Document. Is it Possible to print the Document with out Title, Page No top of the Page and URL and date bottom of the Page and Print bottom also. B'coze they are displayed in my Printed Page. Mohan Balal

    D S 2 Replies Last reply
    0
    • M mohanbalal

      I used the window.print(); Method to Print the Document. Is it Possible to print the Document with out Title, Page No top of the Page and URL and date bottom of the Page and Print bottom also. B'coze they are displayed in my Printed Page. Mohan Balal

      D Offline
      D Offline
      Deshbir Singh
      wrote on last edited by
      #2

      From javascript its not possible. you can make a server call and show data as PDF file for printing.

      Prince Quest Solutions www.imaginethinkact.com

      M 1 Reply Last reply
      0
      • D Deshbir Singh

        From javascript its not possible. you can make a server call and show data as PDF file for printing.

        Prince Quest Solutions www.imaginethinkact.com

        M Offline
        M Offline
        mohanbalal
        wrote on last edited by
        #3

        Thanks for the Reply. Please send the code for that If you have or URL.

        1 Reply Last reply
        0
        • M mohanbalal

          I used the window.print(); Method to Print the Document. Is it Possible to print the Document with out Title, Page No top of the Page and URL and date bottom of the Page and Print bottom also. B'coze they are displayed in my Printed Page. Mohan Balal

          S Offline
          S Offline
          saanj
          wrote on last edited by
          #4

          Which type of document are you going to print? If your document is an ASP.NET page, then you can hide some specific parts of the page by using JavaScript's style.visiblity = none before calling the window.print method.

          Either you love IT or leave IT...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups