TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
youssef bouha
NA
1
0
How to get the whole Printerlist
Jul 22 2005 6:27 AM
Helo
I have to show to the user of my webservice all printers installed and visible in the serveur i have used the fuction
private void Form1_Load(object sender, System.EventArgs e)
{
PrintDocument prtdoc = new PrintDocument();
string strDefaultPrinter = prtdoc.PrinterSettings.PrinterName;
foreach(String strPrinter in PrinterSettings.InstalledPrinters)
{
comboBox1.Items.Add(strPrinter);
if (strPrinter == strDefaultPrinter)
{
comboBox1.SelectedIndex = comboBox1.Items.IndexOf(strPrinter);
}
}
}
But the probleme it gives me just local printers but not remote printers.
when i test the same function in Winform i see that it gives all printers.
How can i get all printers in webservices ?
Thank you in advance
Reply
Answers (
0
)
Compatibility Problem
Cannot start
service on machine โ.โ