TDBEasyPrint Component 


TDBEasyPrint is derived from TEasyPrint and inheritate therefore all methods, properties and events from TEasyPrint. In addition TDBEasyPrint is enlarged with database sensitive methods.
 
 

Methods

 int __fastcall PrintDBGrid (TDBGrid *g);  // C++ Builder
function PrintDBGrid (g : TDBGrid) : integer;   // Delphi

This method prints the contents of the handed over TDBGrid object.
In case of failure either ERR_USER_ABORT  (-1) or ERR_NO_DATASET  (-2) is returned. In case of success" TRUE" is returned.
 

int __fastcall PrintDataSet (TDataSet *ds);   // C++ Builder
function PrintDataSet (ds : TDataSet) : integer;  // Delphi

This method prints all fields and all rows of the handed over TDataSet object (or a derived object).
In case of failure either ERR_USER_ABORT  (-1) or ERR_NO_DATASET  (-2) is returned. In case of success "TRUE" is returned.