I am printing to a MatrixPrinter using the following code (using version 2014.1.1807.0):
Code: Select all
objReport.PrintToDotMatrixPrinter(aPrinter, System.Text.Encoding.GetEncoding(1252), false, Stimulsoft.Report.Export.StiTxtBorderType.Simple, false, false, false, false, 1, 1, 1, objReport.RenderedPages.Count, true, "EpsonFX");
I have now created a Hex-Dump of everything the report sends to the printer and found out where the problems lies. It is not the first printout that is wrong, but all the following ones!

As you can see in the attache PNG-file, which is a scan of the HexDump, after each FormFeed some codes are inserted before the real text of the new page starts. Those are "20 OD OA" which translate to "BLANK", "Carriage Return" and "Line Feed".
Why are those codes inserted?
I have attached the Hex-Dump and the report so you can reprodue this behaviour and hope you can find the reason why this happens. Maybe a setting somewhere? Or is it a bug?
Cheers,
Pascal