StiDotMatrixPrintProviderPrintToDotMatrixPrinter Method (StiReport, String, Encoding, Boolean, StiTxtBorderType, Boolean, Boolean, Boolean, Boolean, Single, Single, Int32, Int32, Boolean, String) |
Prints report to dot-matrix printer in the RAW mode.
Namespace:
Stimulsoft.Report.Viewer
Assembly:
Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax public static void PrintToDotMatrixPrinter(
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
)
Public Shared Sub PrintToDotMatrixPrinter (
report As StiReport,
printerName As String,
encoding As Encoding,
drawBorder As Boolean,
borderType As StiTxtBorderType,
killSpaceLines As Boolean,
killSpaceGraphLines As Boolean,
putFeedPageCode As Boolean,
cutLongLines As Boolean,
zoomX As Single,
zoomY As Single,
fromPage As Integer,
toPage As Integer,
useEscapeCodes As Boolean,
escapeCodesCollectionName As String
)
Parameters
- report
- Type: Stimulsoft.ReportStiReport
[Missing <param name="report"/> documentation for "M:Stimulsoft.Report.Viewer.StiDotMatrixPrintProvider.PrintToDotMatrixPrinter(Stimulsoft.Report.StiReport,System.String,System.Text.Encoding,System.Boolean,Stimulsoft.Report.Export.StiTxtBorderType,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Single,System.Single,System.Int32,System.Int32,System.Boolean,System.String)"]
- 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