Hello
I am using the method Report.PrintToDotMatrixPrinter() ... where does takes this method configurations BorderType, Encoding, ZoomX..etc ?
I would like to set up using code those properties before calling PrintToDotMatrixPrinter
Thank you
Milton
Using Report.PrintToDotMatrixPrinter
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Using Report.PrintToDotMatrixPrinter
Hi Milton,
Please use the following overrided method:
///
/// Prints report to dot-matrix printer in the RAW mode.
///
/// A name of the printer.
/// A parameter which sets text encoding.
/// If true then borders are exported to the text.
/// Type of borders (StiTxtBorderType).
/// If true then empty lines will be removed from the result text.
/// If true then empty lines with vertical borders will be removed from the result text.
/// If true then the EOF character will be added to the end of each page.
/// If true then all long lines will be cut.
/// X axis zoom.
/// Y axis zoom.
/// A number of the first page to print.
/// A number of the last page to print.
Thank you.
Please use the following overrided method:
///
/// Prints report to dot-matrix printer in the RAW mode.
///
/// A name of the printer.
/// A parameter which sets text encoding.
/// If true then borders are exported to the text.
/// Type of borders (StiTxtBorderType).
/// If true then empty lines will be removed from the result text.
/// If true then empty lines with vertical borders will be removed from the result text.
/// If true then the EOF character will be added to the end of each page.
/// If true then all long lines will be cut.
/// X axis zoom.
/// Y axis zoom.
/// A number of the first page to print.
/// A number of the last page to print.
Code: Select all
PrintToDotMatrixPrinter(string printerName, Encoding encoding, bool drawBorder, StiTxtBorderType borderType, bool killSpaceLines, bool killSpaceGraphLines, bool putFeedPageCode, bool cutLongLines, float zoomX, float zoomY, int fromPage, int toPage)
Thank you.