Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > VB Code / Script to list all the printers in active direct..

VB Code / Script to list all the printers in active direct..

Forum Windows XP : Windows XP General Discussion - VB Code / Script to list all the printers in active direct..

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

Hi

In the days of NT, I would use net view \\printserver and
get a list of all the nt served printer queues on the
named print server. In my company, each printer had a
comment field with it, who had the building/floor number
where the printer was - this was great, I could create a
list which my dos scripts could use.

When we moved to XP and the printer people decided that
they would store the location in a different field in AD,
so the net view command still lists the queue name, bur
no longer lists the location/comment of the printer.

I'm told that a very simple bit of VB code / script can
be used to extract the required data, but I not a VB
coder, so have no idea how to start

Can anyone provide me with code which can extract printer
info from active directory

Thanks

MIke

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

You'll probably need to ask this either in a VB newsgroup or the Servers
newsgroup.

Sorry,

Cari
www.coribright.com

"MIke C" <anonymous@discussions.microsoft.com> wrote in message
news:737e01c43062$1f1366f0$a101280a@phx.gbl...
> Hi
>
> In the days of NT, I would use net view \\printserver and
> get a list of all the nt served printer queues on the
> named print server. In my company, each printer had a
> comment field with it, who had the building/floor number
> where the printer was - this was great, I could create a
> list which my dos scripts could use.
>
> When we moved to XP and the printer people decided that
> they would store the location in a different field in AD,
> so the net view command still lists the queue name, bur
> no longer lists the location/comment of the printer.
>
> I'm told that a very simple bit of VB code / script can
> be used to extract the required data, but I not a VB
> coder, so have no idea how to start
>
> Can anyone provide me with code which can extract printer
> info from active directory
>
> Thanks
>
> MIke
>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > VB Code / Script to list all the printers in active direct..
Go to:

There are 508 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them