Command-line use: exporting & printing

Requests for new features, question how to do something etc...

Moderator: lpaatero

Post Reply
Stephen
Posts: 8
Joined: Mon Sep 23, 2013 8:59 am

Command-line use: exporting & printing

Post by Stephen » Mon Sep 23, 2013 9:06 am

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

lpaatero
Go liiton hallitus
Posts: 463
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Command-line use: exporting & printing

Post by lpaatero » Fri Sep 27, 2013 6:57 am

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

Stephen
Posts: 8
Joined: Mon Sep 23, 2013 8:59 am

Re: Command-line use: exporting & printing

Post by Stephen » Tue Oct 08, 2013 4:43 am

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

Post Reply