Home > Archive > Java Help > August 2006 > Printing from a Postscript template
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Printing from a Postscript template
|
|
| Ian Wilson 2006-08-30, 7:02 pm |
| 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 2006-08-30, 7:02 pm |
| Ian Wilson wrote:
> 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?
This seems to be what I am looking for ...
http://download.java.net/jdk6/docs/...printPS.fm.html
|
|
|
|
|