Listing installed Printers
I want to list all the installed printers in my Program.
How can i do that.
Even if it is network printer i want to show.
Same thing i wan to do with scanners also.
I want to list all the scanner.
Thanks in advance
Re: Listing installed Printers
Never done it, but you might want to start looking at
DWORD Flags, // printer object types
LPTSTR Name, // name of printer object
DWORD Level, // information level
LPBYTE pPrinterEnum, // printer information buffer
DWORD cbBuf, // size of printer information buffer
LPDWORD pcbNeeded, // bytes received or required
LPDWORD pcReturned // number of printers enumerated
in the platform SDK...
"ananthakrishna" <email@example.com> wrote:
>I want to list all the installed printers in my Program.
>How can i do that.
>Even if it is network printer i want to show.
>Same thing i wan to do with scanners also.
>I want to list all the scanner.
>Thanks in advance
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL