"Range check error" at Run time using Quick Report 3.08

From: Dhiren (DhirenC_at_icode.com)
Date: 08/11/04


Date: Wed, 11 Aug 2004 20:06:47 +0530


Hi,

If TQuickRep component is dropped on a Delphi form, and default printer is
of model "EPSON TM-T88II" then at run time on Form creation itself is
throwing "Range Check Error".

Example,

  1.. Have a Form (Ex: TfrmQuickRep) which has TQuickRep at design time.
  2.. Create instance of this form in main form/application.
(

Ex:

    try

      rep := TfrmQuickRep.Create(nil);

    except

      on E: Exception do

        ShowMessage(E.Message);

    end;

            )

  3.. Run the application, It gives "Range check error". (No coding is done
on FormCreate/Constructor of TfrmQuickRep)

Version of QuickReport: 3.08

Builder: Delphi 5.0

Thanks in advanced,

Regards,

Dhiren