HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] how can I use jodconverter for converting a word doc file to ps



Hi;
 
I am following the instruction shown on http://www.hylafax.org/content/Handbook:Advanced_Server_Configuration:Faxing_Third-Party_Document_Formats site to try to use Jodconvert to convert a word 2003 document to a ps file for Hylafax+ 5.4.2, during in the test, I issue this command "doc2ps /usr/sbin/word2003.doc usr/sbin/w2003.ps" but I got the following message, does anyone know what is that mean and how to fix it?
 
In my "doc2ps" script file in /usr/sbin folder, I have this content instead of the one show on the link, the only I changed is the paper size from "A4" to "letter".
 
 

Exception in thread "main" org.apache.commons.cli.MissingArgumentException: Missing argument for option: f

at org.apache.commons.cli.Parser.processArgs(Parser.java:343)

at org.apache.commons.cli.Parser.processOption(Parser.java:393)

at org.apache.commons.cli.Parser.parse(Parser.java:199)

at org.apache.commons.cli.Parser.parse(Parser.java:85)

at com.artofsolving.jodconverter.cli.ConvertDocument.main(ConvertDocument.java:77)

 

/usr/sbin/emdoc2ps: line 4: pdf: command not found

Error: Couldn't open file '/usr/sbin/word2003.pdf'




This e-mail and any files transmitted with it are confidential and may contain privileged information. It is intended solely for the use of the individual to whom it is addressed and others authorized to receive it. If you are not the intended recipient you must not copy, distribute or use this e-mail or the information contained in it for any purpose other than to notify us. If you have received this message in error, please notify the sender immediately by reply e-mail and delete this e-mail from your system.



Project hosted by iFAX Solutions