• Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.print api  RSS feed

 
Cristian Cardenas
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having problems using the print api. I'm trying to print one FOP generated document to a HP printer. I have tried with PDF,PS and PCL formats and I'm getting the following error:
sun.print.PrintJobFlavorException: invalid flavor
Also I tried using lookupPrintServices(flavor,aset), but always return nothing.
So, what can i do?
Thanks a lot.
Cristian.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's move this to "Other APIs" and see if you get some response.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!