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. Get Client side printer list

Get Client side printer list

Scheduled Pinned Locked Moved ASP.NET
sysadminwindows-admin
2 Posts 2 Posters 3 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.
  • H Offline
    H Offline
    Hum Dum
    wrote on last edited by
    #1

    I had a drop down list and populating with installed printer. On server/development pc its giving list. But when i host in IIS and access it from remote it giving server/host printer list. Is there a way by which i can get client side printer list. I want to print a label on printer selected by client. Regards

    S 1 Reply Last reply
    0
    • H Hum Dum

      I had a drop down list and populating with installed printer. On server/development pc its giving list. But when i host in IIS and access it from remote it giving server/host printer list. Is there a way by which i can get client side printer list. I want to print a label on printer selected by client. Regards

      S Offline
      S Offline
      shreekar
      wrote on last edited by
      #2

      Without looking at your code but looking at your post, it is clear that the code for populating that printer drop down is written at server side. So it would NEVER show you the client's list of printers, it will show you the list of printers on the server. It is important that you understand this fundamental concept. To achieve what you need - you will have to write some client side scripting or ActiveX - though I am not sure that can be achieved since the browser may not be allowed to have access to the client's resources through script. Generally, it is the end user's responsibility (privilege?) to select the printer he wants to use. You can put out some advise for the user to select a correct printer. Hope this helps. Shreekar

      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