4"x17" label

Posted by: kpmoore on 4 August 2017, 2:38 pm EST

  • Posted 4 August 2017, 2:38 pm EST

    Hi,

    I am using AR to print a label on a thermal printer. The label size is 4"x17" and I was wondering why the preview window comes up printing it to two pages. It seems to overwrite my paper definitions in the Window Printer preferences of a 4x17 paper?

    Kevin  
  • Replied 4 August 2017, 2:38 pm EST

    I have had similar issues in the past with the odd papersizes associated with thermal label printers. What I have found for me that works best to get around this is before I ever show, run, or print a label is to define a custom papersize and set printer for that report specifically, report.Printer.DeviceName = StringNameOfPrinter is what I use in code to set the printer.
  • Replied 4 August 2017, 2:38 pm EST

    Thank you for the information, wsmith.

    Also, your PrintWidth + RightMargin + LeftMargin may be greater than your PaperWidth:
    http://www.datadynamics.com/ShowPost.aspx?PostID=17

    Also see the following KB article:
    http://www.datadynamics.com/ShowPost.aspx?PostID=140
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels