locked
Listing Installed printers RRS feed

  • Question

  • Good evening to All,



    Windows Form App
    Visual C++
    Win XP
    MS Vis 2005




    I am trying to list all installed printers on a winform app so the program can auto-select a suitable printer depending on other criteria selected previously by the user. I would appreciate if someone could show example code using StringCollections - something I havent come across before.


    Thanks in advance


    MP







    MP
    Thursday, June 5, 2008 8:40 PM

Answers

  • PrintDialog is the WF solution.  To do it yourself, you'll have to use EnumPrinters().
    Hans Passant.
    • Marked as answer by Yan-Fei Wei Monday, June 9, 2008 6:52 AM
    Thursday, June 5, 2008 8:54 PM

All replies