Class TextExportPrint
Represents supplement class for print of any stream directly in printer.
Inheritance
System.Object
TextExportPrint
Namespace: FastReport.Export.Text
Assembly: FastReport.dll
Syntax
public static class TextExportPrint
Methods
PrintStream(String, String, Int32, Stream)
Prints a stream.
Declaration
public static void PrintStream(string PrinterName, string DocName, int Copies, Stream Stream)
Parameters
Type | Name | Description |
---|---|---|
System.String | PrinterName | Printer name on which should be print. |
System.String | DocName | Document title for printer spooler. |
System.Int32 | Copies | Count of copies. |
System.IO.Stream | Stream | Stream that will be printed. |
Examples
This example demonstrates the printing of Stream.
TextExportPrint.PrintStream("EPSON FX-1000", "My Report", 1, txtStream)