With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.
private void PopulateInstalledPrintersCombo()
// Add list of installed printers found to the combo box.
// The pkInstalledPrinters string will be used to provide the display string.
for (int i = 0; i < PrinterSettings.InstalledPrinters.Count; i++)
pkInstalledPrinters = PrinterSettings.InstalledPrinters[i];
private void comboInstalledPrintersSelected()
PrintDocument printDoc = new PrintDocument();
// Set the printer to a printer in the combo box when the selection changes.
if (comboInstalledPrinters.SelectedIndex != -1)
// The combo box's Text property returns the selected item's text, which is the printer name.
printDoc.PrinterSettings.PrinterName = comboInstalledPrinters.Text;
Open in new window