更新时间:2023-12-06 13:47:16
You can use the Print dialog to allow the user to set any printing or page properties:
PrintDialog pd = new PrintDialog();
if (pd.ShowDialog() == DialogResult.OK){
printDocument1.PrinterSettings = pd.PrinterSettings;
//Something
}