Page 1 of 1

Using Report.PrintToDotMatrixPrinter

Posted: Wed Jan 21, 2009 11:08 pm
by Milton Guevara
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

Posted: Thu Jan 22, 2009 9:55 am
by Edward
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.

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.