|
-
August 18th, 1999, 09:34 AM
#1
Enum net printers
I use api function to enumerate how many printers are in my domain:
Success = EnumPrinters(PRINTER_ENUM_REMOTE, _
vbNullString, _
1, _
buffer(0), _
cbBuffer, _
cbRequired, _
nEntries)
I can not find where is placed the printername. I can load workstation name and other info from buffer(0) (no printer name) when I use constant
PRINTER_ENUM_REMOTE .
When I use constant
PRINTER_ENUM_CONNECTIONS Or _
PRINTER_ENUM_LOCAL
in first line, is the printername loadable from buffer.
The complet code is in the MSDN.
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
|
Click Here to Expand Forum to Full Width
|