How do I use FS on unix command line?

52 views
Skip to first unread message

dbtri...@gmail.com

unread,
Jul 1, 2013, 12:08:59 PM7/1/13
to flying-sa...@googlegroups.com
I am a newbie to FS8 and recently got this project thrown on my lap. I am trying to build a unix script that will handle the xml -> xhtml-> pdf conversion. I have the xml to xhtml sorted, I just need the xhtml to pdf part so I was wondering if FS can be used command line. Please help. I have been trying to solve this problem for days and have a boss breathing down my neck.

Thanks,

Dave

dbtri...@gmail.com

unread,
Jul 1, 2013, 12:15:19 PM7/1/13
to flying-sa...@googlegroups.com
Sorry. forgot to add that my company already uses FS 8 for pdf rendering. So, I just need the command line command to have it render. Thanks

Peter Brant

unread,
Jul 1, 2013, 2:08:15 PM7/1/13
to flying-sa...@googlegroups.com
I'm not 100% sure this exists in R8, but something like

java -classpath <<reference FS JARs here>> org.xhtmlrenderer.pdf.ToPDF /tmp/foo.xhtml /tmp/foo.pdf

should work.


Pete

--
You received this message because you are subscribed to the Google Groups "Flying Saucer Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flying-saucer-u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

David Baird

unread,
Jul 4, 2013, 6:55:58 AM7/4/13
to flying-sa...@googlegroups.com
Thanks Peter. That worked brilliantly. Your a life saver!!


--
You received this message because you are subscribed to a topic in the Google Groups "Flying Saucer Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/flying-saucer-users/ZgTU7Nan4Lk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to flying-saucer-u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages