Dot Matrix problems while printing to a customsize paper

Posted by: efrainf on 4 August 2017, 5:52 am EST

  • Posted 4 August 2017, 5:52 am EST


    A vb6 application running on Windows XP at my company began behaving erratically in terms of printing to a dot matrix printer with continuous forms. Yesterday everything was working fine. Today, the custom size I specified on the program now displays like it is 8.5 X 11. The custom size I specified was 8.5 X 7.

    This is the code I used in the ReportStart Event of the Report

    Me.Printer.PaperSize = 255
    Me.Printer.PaperWidth = 8.5 * 1440
    Me.Printer.PaperHeight = 7 * 1440


    According to the help file, this is the way it should be programmed. I have changed this settings to many different sizes and still the 8.5 X 11 size prevails.

    I am trying to print  to an Epson fX-870 dot matrix printer (Continuous forms) using the Generic / Text Only printer as it appeared on the printers collection.

    Could it be possible that a change in the Windows Operating system can cause this??

    I will appreciate your help on this matter.

  • Replied 4 August 2017, 5:52 am EST

    Boy, this is going back a few years but seems to me that unless you specify the correct printer driver you will get unexpected results.  The "generic" printer driver doesn't support many custom printer settings, perhaps the custom paper size is one of them.  I'd recommend using the specific driver for the FX-870. 

    - CBC 

  • Replied 4 August 2017, 5:52 am EST

    You will want to check to make sure the printer/driver support htat page setting.  You can do this by trying to print a WordPad document with the same page setings, including margins.  If wordpad errors and resets the page settings, then those settings are not supported by the printer/driver. 

    When ActiveReports encounters settings that are not supported by the driver, AR will use 8.5 by 11.

Need extra support?

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

Learn More

Forum Channels