Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How get printer list?

0 views
Skip to first unread message

mircea berghia

unread,
Mar 13, 2003, 4:03:27 AM3/13/03
to
Hi,

I have a big problem and please help me.

I have a asp.net application and I need all the printer list from the
server.

I use System.Drawing.Printing.PrinterSettings.InstalledPrinters but this
property only returns the local printers installed. If I call this property
from a windows applications it returns the entire printer list (network
printers as well).
So, how can I get the list of all the printers?

Thanks.


fadi

unread,
Mar 13, 2003, 10:27:23 AM3/13/03
to
my assumption is that its permissions problem. Test it by giving ASP.NET
access to the network (dev not in production).

fadi

"mircea berghia" <berghiai...@yahoo.com> wrote in message
news:O8S8E$T6CHA...@TK2MSFTNGP10.phx.gbl...

mircea berghia

unread,
Mar 13, 2003, 11:04:42 AM3/13/03
to
And how can I do this?
"fadi" <fa...@nospam.com> wrote in message
news:OujRNUX6...@TK2MSFTNGP09.phx.gbl...

fadi

unread,
Mar 13, 2003, 11:14:14 AM3/13/03
to
You could impersonate different user in web.config

<identity

impers?nate="true"

userName="user"

password="password" />

user = username or username@ADdomain if not mistaken

"mircea berghia" <berghiai...@yahoo.com> wrote in message

news:eauCcqX6...@TK2MSFTNGP12.phx.gbl...

0 new messages