Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Enumerate Remote or Network printers problem

Reply
Thread Tools Display Modes

Enumerate Remote or Network printers problem

 
 
Russ
Guest
Posts: n/a

 
      02-07-2012
Hi printer wizards...

I seem to have a strange problem and I spent a couple hours googgling,
and here, but no help was found. In our production environment, we
have a W2003 64 bit domain server with Active Directory. When my
program enumerates printers by using "EnumPrinters
(PRINTER_ENUM_REMOTE, ...", it returns all the AD printers as
expected. But in lab, the server is a 32 bit W2003 server, domain
controller with AD, and only has one printer installed (TCP/IP network
printer). It is listed in AD. But when I try to enum, what is
returned is a different printer that is located on one of the work
stations in the network (and which is not listed in AD, or otherwise
known to the server).

If I change to try using PRINTER_ENUM_NETWORK, then no printers are
returned. And it does not matter if I specify the name of the server
in the EnumPrinters call, or use NULL.

The only way I can get the servers' AD printers to enumerate is to use
PRINTER_ENUM_LOCAL. That works on the server, but is no good to me as
this program is intended to be used on workstations.

Anyone have any idea why this is happening?

Thanks, Russ
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Local network shares not accessible after VPN'ing Microsoft Server Networking 1 10-17-2010 07:37 AM
Network Server problem Mark A. Sam Windows Server 3 06-20-2010 12:33 PM
WLM Get faultcode: Windows Live Communication Platform has stoped working Masse Borglund Windows Live Messenger 21 03-28-2010 12:41 AM
Addendum Mark Church Windows Media Center 1 01-05-2010 05:09 AM
Re: Local Access Only, Unidentified Network Jack-MVP Windows Vista Networking 5 12-08-2009 11:48 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59