Please help me understand the reason for the following:
Section report designed to print on a receipt printer that has a printable width of 54mm….approximately 2.13 inches. The physical width of the receipt’s paper is approx 2.25 inches.
The report’s PrintWidth is set to 2.13 in Designer.
In ReportStart(): PaperKind set to PaperKind.Custom. PageWidth set to 2.13.
When report is run and directed to ‘print preview’ in the Viewer control, it is displayed at its width of 2.13 inches. When printed from this viewer, a receipt gets printed with a left margin of approx .1″. All report text is printed in the printer’s 2.13 printable area.
My Issue: if this report does not use the Viewer. If it is run directly to the printer. The leftmost text of the report gets cut off( not printed ) for what looks to be the width of the printer’s default(?) left margin. If i explicitly set the left margin to ~.1″, then everything is good…no text is cut off.
What i’d like to understand is why i must explicitly set the left margin value when sending the report directly to the printer? How come everything is good when sent to printer from the Viewer, but not when printed direct from program code? btw, even if i change the PageWidth to equal the physical width of the paper roll, 2.25″, the leftmost text will still be cut off.
Report is created and run in a VS 2013 project using AR 11.