[Gtk-sharp-list] PrintDialog - PrintJob - Range question
Wolfgang Mauer
W.Mauer at top-soft.info
Mon Jan 9 18:16:59 EST 2006
Hi all,
if i do some like this.
printJob = new PrintJob(PrintConfig.Default());
do some pages with Gnome.Print
printJob.Close();
then
PrintDialog dialog = new PrintDialog(printJob, "Inventur",
PrintDialogFlags.Range | PrintDialogFlags.Copies);
PrintDialogRangeFlags flags = PrintDialogRangeFlags.All |
PrintDialogRangeFlags.Range;
dialog.ConstructRangePage((int)flags, 1, printJob.Pages, null, "_Bereich ");
int response = dialog.Run();
now the user selects a range from page 5 to 10 in the printdialog.
what to do with this information?
is this a wrong way?
the PrintJob.Print() has no range ?
must i do the print for the specified pages again ?
Regards
Wolfgang
More information about the Gtk-sharp-list
mailing list