Page 1 of 1

Command-line use: exporting & printing

Posted: Mon Sep 23, 2013 9:06 am
by Stephen
Can I use command line print on Windows?

The following error occurs when I tried to print use gowrite

D:\Game\Weiqi\Windows\gowirtePrintexample>java -cp "c:\program files\GOWrite.jar
" GOWritePrint -wizard wizard.dsx -print ./print.dsx -output . -graphics graphi
cs.gex -format format.dsx print1.sgf
Error: Could not find or load main class GOWritePrint

Anyway I cannot find the GOWritePrint.jar

stephen

Re: Command-line use: exporting & printing

Posted: Fri Sep 27, 2013 6:57 am
by lpaatero
HI,

I moved the post to support; I do not get notification on tips&tricks posts, so I almost missed your question.

GOWritePrint class is in GOWrite.jar, so no problem there.
I think you have typo in "c:\program files\GOWrite.jar", it probably should be something like "c:\program files\gowrite\GOWrite.jar"

regards
Lauri

Re: Command-line use: exporting & printing

Posted: Tue Oct 08, 2013 4:43 am
by Stephen
Thanks Lauri for your reply.

I corrected the typo then it works.

java -cp "c:\program files\gowrite2\GOWrite.jar" GOWritePrint -wizard wizard.dsx -export print.dsx -output out print1.sgf