| Author |
How to convert PNG to POSTSCRIPT using java?
|
Ricardo Prado
Greenhorn
Joined: Oct 01, 2010
Posts: 13
|
|
AAAAAAAAAAH!!!
Its impossible! I just can't make it. I've looked everywhere. I've looked all over the internet and there is not one single person on the planet that can't solve my problem.
I have a printer that only accepts POSTSCRIPT. I have a IMAGE here, its a PNG image. I want to print it. I really really want to print this little image but there is NO WAY that I can do that. I've about IReports but I don't think I'll need all that! I just want to print one single nice image that I have here.
MY JOB:
MAKE AN APPLET THAT GENERATE SOME GRAPHS (WORKING)
MAKE A SAVE BUTTON (WORKING)
MAKE A FREAKING PRINT BUTTON (NOT WORKING AT ALL)
Aaahh!! I'm looking for this solution for SO LONG THAT MY HEAD JUST CAN'T TAKE IT ANYMORE
Sorry for my terrible english. My head is broken.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
Have you checked out iText?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ricardo Prado
Greenhorn
Joined: Oct 01, 2010
Posts: 13
|
|
Developers can use iText to:
* Serve PDF to a browser
* Generate dynamic documents from XML files or databases
* Use PDF's many interactive features
* Add bookmarks, page numbers, watermarks, etc.
* Split, concatenate, and manipulate PDF pages
* Automate filling out of PDF forms
* Add digital signatures to a PDF file
Is there anything else that is not written there?
|
 |
Kumar Raja
Ranch Hand
Joined: Mar 18, 2010
Posts: 457
|
|
Ricardo,
May be you can co-relate this link with what Bear mentioned earlier. I'm not an expert developer but I was just curious if Postscript has anything to do with pdf. May be these two links provide you the missing link. All the best and please do share your experience back in this forum, so that others like me can be benefited.
|
Regards
KumarRaja
|
 |
Ricardo Prado
Greenhorn
Joined: Oct 01, 2010
Posts: 13
|
|
Should I wrap my image in a PDF file and then send it to the printer?
I've found something more (direct) interesting in here:
http://xmlgraphics.apache.org/commons/postscript.html
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32676
|
|
Welcome to the Ranch, anyway
|
 |
Ricardo Prado
Greenhorn
Joined: Oct 01, 2010
Posts: 13
|
|
Thank you.
I had a beer and now I'm happy.
I've came here because i read in JSP & Servlets book that here is a good place to come.
And they are right, you people are very nice.
I'm leaving now, have a good Weekend!
|
 |
 |
|
|
subject: How to convert PNG to POSTSCRIPT using java?
|
|
|