A text Box contain printer name then use this
private void button7_Click(object sender, EventArgs e)
printPreviewDialog1.Document = printDocument1; printPreviewDialog1.ShowDialog();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)