Can a Java program print a Postscript file held as a template.ps
resource in a Jar?
I imagined identifying available printers (preferably just those that
are postscript capable) getting the user to select one, then reading the
template.ps in as text, inserting some postscript commands at places
marked in the template, then sending the result to a printer "raw", i.e.
without implementing Printable and performing graphics2D drawing.
I've googled and briefly read Sun's printing tutorials but haven't found
anything helpful, can anyone point me in the right direction?
Ian Wilson - 30 Aug 2006 16:42 GMT
> Can a Java program print a Postscript file held as a template.ps
> resource in a Jar?
[quoted text clipped - 7 lines]
> I've googled and briefly read Sun's printing tutorials but haven't found
> anything helpful, can anyone point me in the right direction?
This seems to be what I am looking for ...
http://download.java.net/jdk6/docs/technotes/guides/jps/spec/appendix_printPS.fm.html