Java implements the LPD implementation. You can then manually create a printer in Windows that uses the LPR protocol to print to the specified LPD. This captures the result as a stream of bytes, which can then be manipulated further.
Thorbjørn Ravn Andersen
source share