-
Listing installed Printers
Hello
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
regards,
ananthakrishna
-
Re: Listing installed Printers
Never done it, but you might want to start looking at
BOOL EnumPrinters(
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" <ananthakrishna.p@cominsights.com> wrote:
>
>Hello
>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
>regards,
>ananthakrishna
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks