Direct to Printer Cuts Off Left Side Text

  • windsor5 4 days, 4 hours ago

    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.
    Thank you.

  • 188p
    AbdiasM188p 1 day, 7 hours ago

    Can you please attach your report file here so I can check the behavior at my end as well. It’ll be helpful for me to debug the issue if I have the report file. Please mention the exact build version of AR11 that you’re using, as well.

    Thanks

  • windsor5 1 day, 5 hours ago

    Here you go. Version: 11.0.8705.0

  • 188p
    AbdiasM188p 13 hours, 8 minutes ago

    Thanks for the report files. I was able to reproduce the issue after modifying your report and providing my own data to it. The issue happens when printing to a physical printer, but works fine when printing to Pdf or Xps document. I’ve forwarded this issue to the concerned team for further review and will let you know once I have any updates. Tracking Id – 235195

  • windsor5 6 hours, 35 minutes ago

    Thank you for checking this out.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.