Instead of a manual implementation of the print loop, you can also use the ILL-DataProvider Interface. This is the most flexible and convenient way for the developer to use the API.
Advantages
Prerequisites
Calling the Designer
Controlling the printing process
Required API functions and interface
OpenTable (ILLDataProvider)
OpenChildTable (ILLDataProvider)
GetRowCount (ILLDataProvider)
DefineDelayedInfo (ILLDataProvider)
MoveNext (ILLDataProvider)
DefineRow (ILLDataProvider)
Dispose (ILLDataProvider)
SetUsedIdentifiers (ILLDataProvider)
ApplySortOrder (ILLDataProvider)
ApplyFilter (ILLDataProvider)
SetOption (ILLDataProvider)
GetOption (ILLDataProvider)