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. To show print dialog box in web application

To show print dialog box in web application

Scheduled Pinned Locked Moved ASP.NET
json
3 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.
  • N Offline
    N Offline
    Nagraj Naik
    wrote on last edited by
    #1

    Hi, I use FilePrint() API which print file directly from code,but I want to show print dialog box to select printer before printing the content. Please share ur idea with me. Thanks, Nagraj

    M 1 Reply Last reply
    0
    • N Nagraj Naik

      Hi, I use FilePrint() API which print file directly from code,but I want to show print dialog box to select printer before printing the content. Please share ur idea with me. Thanks, Nagraj

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      AFAIK, You can use window.print(); Javascript if you want to show the printer dialog. Check-out this example[^]

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

      N 1 Reply Last reply
      0
      • M Michael Sync

        AFAIK, You can use window.print(); Javascript if you want to show the printer dialog. Check-out this example[^]

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

        N Offline
        N Offline
        Nagraj Naik
        wrote on last edited by
        #3

        HI, My problem is to print microsoft project file through code.I can do it by using Fileprint API but it doesn't show dialog box. As u suggestion I can't call Fileprint API in javascript and print it,so only Window.print() will not serve my purpose. Thanks, Nagraj.

        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