Click or drag to resize

StiDotMatrixPrintProviderPrint Method

Prints the rendered report. If the report is not rendered then its rendering starts.

Namespace:  Stimulsoft.Report.Viewer
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public static void Print(
	StiReport report,
	string printerName,
	Encoding encoding,
	bool drawBorder,
	StiTxtBorderType borderType,
	bool killSpaceLines,
	bool killSpaceGraphLines,
	bool putFeedPageCode,
	bool cutLongLines,
	float zoomX,
	float zoomY,
	int fromPage,
	int toPage,
	bool useEscapeCodes,
	string escapeCodesCollectionName
)

Parameters

report
Type: Stimulsoft.ReportStiReport
Rendered report for printing.
printerName
Type: SystemString
A name of the printer.
encoding
Type: System.TextEncoding
A parameter which sets text encoding.
drawBorder
Type: SystemBoolean
If true then borders are exported to the text.
borderType
Type: Stimulsoft.Report.ExportStiTxtBorderType
Type of borders.
killSpaceLines
Type: SystemBoolean
If true then empty lines will be removed from the result text.
killSpaceGraphLines
Type: SystemBoolean
If true then empty lines with vertical borders will be removed from the result text.
putFeedPageCode
Type: SystemBoolean
If true then the EOF character will be added to the end of each page.
cutLongLines
Type: SystemBoolean
If true then all long lines will be cut.
zoomX
Type: SystemSingle
Horizontal zoom factor by X axis. By default a value is 1.0f what is equal 100% in export settings window.
zoomY
Type: SystemSingle
Vertical zoom factor by Y axis. By default a value is 1.0f what is equal 100% in export settings window.
fromPage
Type: SystemInt32
A number of the first page to print.
toPage
Type: SystemInt32
A number of the last page to print.
useEscapeCodes
Type: SystemBoolean
Use Escape codes in text.
escapeCodesCollectionName
Type: SystemString
Name of the Escape codes collection to use.
See Also