I want to write an application that sends long plots to a printer. The
output is not on a single page basis, but is a long continuous plot to a
fanfold paper feed (ie, an unlimited page length). The application must at
least run on unix, but it would be nice if it was platform independent.
I have written a simple test program to print a page using the
java.awt.print package as per the printing chapter of "Beginning Java
2". When running on Unix, the print dialog gives a choice of writing to
any of the installed printers, or to a postscript file. So I assume that
if a printer is chosen, then a postscript file is sent to it(?)
From what I understand, postscript doesnt support the unlimited page
length that i need. furthermore, it appears that the printer in question
(epson LQ-1170, if that matters) can't read postscript, but reads the
esc/p2 format.
So how do I link Java's printing libraries to a device like this?