Re: Is there something better than EnumPrinters?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



EnumPrinters(...) is the way to go.
Checkout msdn and there are samples out there which you can take and use.
--
Vipin Aravind

<PyongHopscotch@xxxxxxxxx> wrote in message
news:1138299579.000239.294140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi All I was just wondering if there was a better function/way to get
> information on all the printers currently installed than EnumPrinters.
> I only really need all the printer names but don't care to do the
> memory management involved with EnumPrinters.
>
> I looked at using GetProfileString with [devices] but that requires I
> know the buffer size ahead of time.
>
> Any alternatives would be appreciated.
>


.



Relevant Pages

  • Re: InstalledPrinters and Windows Server 2003 R2
    ... the EnumPrinters line it just stops and does not return an error. ... I found that InstalledPrinters had problems when one or more printers had ... I had to fall back on the EnumPrinters API. ... run the same code on a Win XP box all installed printers are listed. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Windows CE + EnumPrinters
    ... EnumPrinters() is not supported on CE. ... I am newbie in Windows CE Developement, I am writing a very simple ... printers installed on machine, For that I am using EnumPrinters API, I ... What I need to do to enumerate printers ...
    (microsoft.public.windowsce.embedded.vc)
  • EnumPrinters PRINTER_ATTRIBUTE_LOCAL
    ... I'm calling the EnumPrinters() api with various info levels 1,2,4,5. ... I am testing on a Workgroup configuration -- not a domain. ... And it identifies the location of the printers correctly. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: Win32::Printer::Enum::Printer($server)
    ... > priv at MYBOX). ... > Looking at MSDN it implies that the parameter to EnumPrinters() should ... In the Printers() function I see the following code: ...
    (comp.lang.perl.modules)