C# to find JobId, Owner, TotalPages from Printer
- by tanthiamhuat
My below code works when the Form loads and I can get a list of Network Printers in listBox1.
I am also able to see a specific printer's property name and value in listBox2.
private void Form1_Load(object sender, EventArgs e)
{
foreach (String printer in PrinterSettings.InstalledPrinters)
{
listBox1.Items.Add(printer.ToString());
}
}
private…