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 »

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: 474
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Command-line use: exporting & printing

Post 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
Stephen
Posts: 8
Joined: Mon Sep 23, 2013 8:59 am

Re: Command-line use: exporting & printing

Post 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
Post Reply