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. VB.Net and printer properties

VB.Net and printer properties

Scheduled Pinned Locked Moved Visual Basic
csharp
3 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.
  • D Offline
    D Offline
    directred
    wrote on last edited by
    #1

    Hi, What do I need to do display on a form my 1..My default printer 2..List of all my printers Basically what reference do I need to import to get my printer properties. P.S. Any sample code would be greatly appreciated.

    L A 2 Replies Last reply
    0
    • D directred

      Hi, What do I need to do display on a form my 1..My default printer 2..List of all my printers Basically what reference do I need to import to get my printer properties. P.S. Any sample code would be greatly appreciated.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      An explicit list of printers is available through PrinterSettings.InstalledPrinters .NET has some classes that help you with most aspects of printing. One often only needs PrintDialog and PrintDocument. If that is not sufficient, get ready for quite some complexity (maybe caused by how it all grew over time. :)

      Luc Pattyn [Forum Guidelines] [My Articles] [My CP bug tracking] Nil Volentibus Arduum

      Season's Greetings to all CPians.

      1 Reply Last reply
      0
      • D directred

        Hi, What do I need to do display on a form my 1..My default printer 2..List of all my printers Basically what reference do I need to import to get my printer properties. P.S. Any sample code would be greatly appreciated.

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        See here[^].

        The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

        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