Can not get duplex to work
Hi all,
I have a service which generates reports, certain reports on certain printers need to be printed duplex.
The printer is setup to default on the machine the service is running on to print all jobs in duplex.
The code below is what I am using:
rd.Database.Links.Reset();
rd.Database.Tables.Reset();
rd.Refresh();
rd.SetDataSource(dt);
rd.Refresh();
rd.FormatEngine.PrintOptions.PrinterDuplex = CrystalDecisions.Shared.PrinterDuplex.Default;
rd.PrintToPrinter((int)dr["Copies"],true,0,0);
Has anyone got any suggestions, all help really appreciated..
Thanks in advance
|