E
ekey
Hi
follow function to print many copies but it only print one copy, my
document is only one page;
but i want to print many copies .such as three copies. how to do? Where do
it error?
THS
private void mn_file_print_Click(object sender, System.EventArgs e)
{
PrintDialog dlg = new PrintDialog();
dlg.AllowPrintToFile = true;
dlg.AllowSelection = true;
dlg.AllowSomePages = true;
dlg.Document = pd;
if(dlg.ShowDialog() == DialogResult.OK)
{
for(short page = 0; page < dlg.PrinterSettings.Copies; page++)
{
pd.Print();
}
}
}
follow function to print many copies but it only print one copy, my
document is only one page;
but i want to print many copies .such as three copies. how to do? Where do
it error?
THS
private void mn_file_print_Click(object sender, System.EventArgs e)
{
PrintDialog dlg = new PrintDialog();
dlg.AllowPrintToFile = true;
dlg.AllowSelection = true;
dlg.AllowSomePages = true;
dlg.Document = pd;
if(dlg.ShowDialog() == DialogResult.OK)
{
for(short page = 0; page < dlg.PrinterSettings.Copies; page++)
{
pd.Print();
}
}
}