TSRVPrint allows printing documents from TSRichViewEdit in several modes, including posters.
TSRVPrint = class(TComponent)
•srvpAuto – the printer paper size and orientation are set automatically;
•srvpStretchToFit – the current printer paper size and orientation are used;
•srvpStretchIfLarger is like srvpStretchToFit if the document page size is larger than the printer paper size. Otherwise, the document is printed at the top left corner of paper.
•srvpTiles – if possible, prints several copies of the document page on the same paper sheet;
•srvpPoster – allows printing posters: each page can be printed on several paper sheets; this is the most complex mode, it is described below.
•srvpGrid – allows printing several document pages on the same paper sheet.
The component uses the current printer (specified in Printer.PrinterIndex, where Printer is a function defined in the Printers unit). When the parameters of the current printer are changed, or the current printer is changed, call Update to recalculate properties according to the printer.
Each page of this document is printed as a poster. The poster consists of frames. Frame is one paper sheet, it has size of the printer's paper (FrameWidthPix x FrameHeightPix, orientation Orientation).
FrameCountY) printer pages).
Sizes in posters
How the document page is scaled
See also: UsePhysicalOffsets.
A print preview is displayed by TSRVPreview component.
You can provide a visual indication of printing progress using OnSendingToPrinter event.
To make printing output compatible with metafiles, assign MetafileCompatibility=True. It may be necessary for some virtual printers.