Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to convert a pdf file to a pcl file in Java

 
Praveen Rajendran
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to find out how to convert a pdf file to a pcl file using java based API. Currently I am using a Adobe API through JACOB (Java COM Bridge) for this pcl creation but want to get out of that and use any Java based API or opensource.

I came across the StreamPrintService which can do such print file conversion but able to convert only a GIF file to a PS.

When I try to lookup for StreamPrintServiceFactory with input DocFlavor as GIF and output as PCL its saying no factories exist. Is this factory related to the Printers configured on my machine? I have tried the same after configuring the printer which prints PCL files but still no luck.

Code that I used is:



Appreciate any help.
 
vijin das
Ranch Hand
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check these links

convert
converter

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!