private void btnGetPrinterResolution_Click(object sender, EventArgs e)
{
PrinterSettings ps = new PrinterSettings();
ps.PrinterName = PrintersList.Text;
PrinterResolution prs3 = new PrinterResolution();
foreach (PrinterResolution pr in ps.PrinterResolutions)
{
string str = prs3.ToString();
listboxPrinterResolution.Text = str;
// MessageBox.Show(str);
}
}
ListBox
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Blocked AccountRank #403 · 6.2K reputationPosted Jun 4, 2009, 8:46 PM EDT
Please specify the problem for getting the solution of your problem.