I went for a routine on the PC that extracts the data from the SQL db and creates a flat file that it uploads to the scanner. The program in the scanner reads the flat file.