I need to generate a ".prn" printer file from a Excel spreadsheet (.xls) via Java or PERL. Is there an API or utility that I can use to do this either under Linux or Windows?