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. General Programming
  3. Visual Basic
  4. Determine the Type of Printer

Determine the Type of Printer

Scheduled Pinned Locked Moved Visual Basic
questionhelptutorial
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.
  • H Offline
    H Offline
    HemaRawat
    wrote on last edited by
    #1

    Hey All, In my application I have Print Feature Now What I want that as the User Click on Button Print I have shown Printer Dialog Box to Select the Printer Now AS user selects the printer I want to know about the Selected printer is a : Laser Printer Dot Matrix Or Label Printer etc After determining the printer I have perform a certain task My Problem is How to determine the printer type (Laser etc.) after selection from the user???? Hope My Question is Clear Wating for all early replies Thanks in advance Hema Chaudhry

    L P 2 Replies Last reply
    0
    • H HemaRawat

      Hey All, In my application I have Print Feature Now What I want that as the User Click on Button Print I have shown Printer Dialog Box to Select the Printer Now AS user selects the printer I want to know about the Selected printer is a : Laser Printer Dot Matrix Or Label Printer etc After determining the printer I have perform a certain task My Problem is How to determine the printer type (Laser etc.) after selection from the user???? Hope My Question is Clear Wating for all early replies Thanks in advance Hema Chaudhry

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The InstalledPrinters collection has an IsPlotter property; but, I don't think printer type other than plotter is readily available. If anyone knows better, I'd like the answer to this one also. Do or not do. There is no try.

      1 Reply Last reply
      0
      • H HemaRawat

        Hey All, In my application I have Print Feature Now What I want that as the User Click on Button Print I have shown Printer Dialog Box to Select the Printer Now AS user selects the printer I want to know about the Selected printer is a : Laser Printer Dot Matrix Or Label Printer etc After determining the printer I have perform a certain task My Problem is How to determine the printer type (Laser etc.) after selection from the user???? Hope My Question is Clear Wating for all early replies Thanks in advance Hema Chaudhry

        P Offline
        P Offline
        progload
        wrote on last edited by
        #3

        Try this: http://www.dotnet247.com/247reference/msgs/37/185290.aspx[^] progload

        H 1 Reply Last reply
        0
        • P progload

          Try this: http://www.dotnet247.com/247reference/msgs/37/185290.aspx[^] progload

          H Offline
          H Offline
          HemaRawat
          wrote on last edited by
          #4

          Thanks for the Precise answer, But I have tried this earlier also; I gives an exception In the following line , I can;t understand why is this giving this type of exception (System.NullReference) Dim intMarking As Integer = CType(mo("MarkingTechnology").ToString can U get the problem If Yes Plaz resolve this Thanks a lot Hema Chaudhry

          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