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. print commands...

print commands...

Scheduled Pinned Locked Moved ASP.NET
csshelpquestion
4 Posts 2 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.
  • C Offline
    C Offline
    chubbie
    wrote on last edited by
    #1

    hi all.. here's the situation: i wanna print a grid view that has 4000 pages. is there any command that can print them at one go? i have button named "Print".. so when i click on the button, it will automatically "activate" my Print (ctrl+P).. so, what are the command to make this possible..? thanks for your help.. very much appreciated. -DarkangeL-

    P 1 Reply Last reply
    0
    • C chubbie

      hi all.. here's the situation: i wanna print a grid view that has 4000 pages. is there any command that can print them at one go? i have button named "Print".. so when i click on the button, it will automatically "activate" my Print (ctrl+P).. so, what are the command to make this possible..? thanks for your help.. very much appreciated. -DarkangeL-

      P Offline
      P Offline
      PrakashBhaskar
      wrote on last edited by
      #2

      Hi, On body write the following code. Thanks Warm Regards Prakash-B

      C 1 Reply Last reply
      0
      • P PrakashBhaskar

        Hi, On body write the following code. Thanks Warm Regards Prakash-B

        C Offline
        C Offline
        chubbie
        wrote on last edited by
        #3

        but, if i am required to use C#..? what will the code be like.? -DarkangeL-

        P 1 Reply Last reply
        0
        • C chubbie

          but, if i am required to use C#..? what will the code be like.? -DarkangeL-

          P Offline
          P Offline
          PrakashBhaskar
          wrote on last edited by
          #4

          Hi, Use system.drawing.printing name space use the following code. private PrintDocument printDoc = new PrintDocument(); printDoc.print(); go through the following link http://www.ondotnet.com/pub/a/dotnet/2002/06/24/printing.html[^] Thanks Warm Regards Prakash-B

          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