PrintToDevice and Copies
Hi,
is there a way to use copies for the TppArchiveDevice? I have some calculations in my report if are copies. And this only work wenn I print to a printer.
LArchiveStream := TMemoryStream.Create;
LArchiveDevice := TppArchiveDevice.Create(nil);
LArchiveDevice.OutputStream := LArchiveStream;
LArchiveDevice.Publisher := FGefalldruckDataModel.repGfDruck.Publisher;
FGefalldruckDataModel.repGfDruck.PrintToDevices;
FreeAndNil(LArchiveDevice);
is there a way to use copies for the TppArchiveDevice? I have some calculations in my report if are copies. And this only work wenn I print to a printer.
LArchiveStream := TMemoryStream.Create;
LArchiveDevice := TppArchiveDevice.Create(nil);
LArchiveDevice.OutputStream := LArchiveStream;
LArchiveDevice.Publisher := FGefalldruckDataModel.repGfDruck.Publisher;
FGefalldruckDataModel.repGfDruck.PrintToDevices;
FreeAndNil(LArchiveDevice);
Comments
The RB copies feature is printer specific.
You could define a Report.Parameters[ ] item called paCopyNo. Then do something like
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com