Forums: Open Discussion (Thread #10925)

samurai-graph1.0.5 Mac/Win版 プリントできない (2006-04-28 16:30 by (del#13001) #21557)

Mac版とWin版で試したのですが、印刷しようとすると、プレビューが出るところまで順調に進み、「print」ボタンを押すと、元のwindowのグラフも消えてしまい、印刷ジョブも始まりません。特に、せっかく描いたグラフがwindowから消えてしまうのがキツイです。初めはWin版で現象に出会い、ドライバとの相性かな? くらいに思っておりましたが、Mac版でも症状が全く同じなので、一応報告してみます。linuxでは試してません。
OSX10.4.6、WinXPsp2です。

Reply to #21557×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: samurai-graph1.0.5 Mac/Win版 プリントできない (2006-04-30 21:49 by orrisroot #21585)

手元の単純なサンプルでしか試せていませんが,WindowsXP SP2 (JRE 1.4.2) では印刷はできるようです.

しかし MacOS X 10.4.6 でやってみると同様にグラフが消えてしまう現象になりました.

これから詳細に原因を調べてみます.

参考までにどのようなグラフでも同様の現象になりますでしょうか?
Reply to #21557

Reply to #21585×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: samurai-graph1.0.5 Mac/Win版 プリントできない (2006-05-01 08:59 by (del#13001) #21594)

肝心な情報が抜けてました。当方Windowsでもjre1.5.0_06-b05を使っております。(OSXもjre1.5.0がデフォルトになっています。)
簡単に検査するため、MacOSX上で、
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java -jar /Applications/Samurai? Graph.app/Contents/Resources/Java/samurai-graph.jar
とやって、明示的にjre1.4.2を使う場合、グラフ(example1から作ったX-YグラフをA4portraitで)のプリントが問題なくできました。一方、
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -jar /Applications/Samurai? Graph.app/Contents/Resources/Java/samurai-graph.jar
とやって、明示的にjre1.5.0を使う場合、同じグラフがプリントできず、メインウィンドウが空になったままになってしまいます。
Windowsやlinuxで検討していませんが、取り急ぎ御報告まで。
Reply to #21557

Reply to #21594×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: samurai-graph1.0.5 Mac/Win版 プリントできない (2006-05-01 09:38 by orrisroot #21595)

貴重な情報ありがとうございました.
早速 JRE を 1.5 に入れ替えてデバッグみます.

# MacOS X はいつの間に Default の JRE のバージョンがあがったんでしょう…

ちなみに Windows の場合 samurai-graph.exe は 同じディレクトリに jre\bin\java.exe があるとこれを利用して起動します.1.4.2 が入っているパソコンから C:\Program Files\Java\j2re1.4.2_11 以下をそのまま jre としてコピーしてくれば Samurai Graph だけ 1.4.2 を利用させるなんてことも可能です.

MacOS Xの場合ですと,Samurai Graph.app/Contents/Info.plist のJVMVersion を 1.4+ から 1.4* に変更する.または,http://docs.info.apple.com/article.html?artnum=303526-ja
あたりで切り替えることができるようです.
Reply to #21594

Reply to #21595×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: samurai-graph1.0.5 Mac/Win版 プリントできない (2006-05-01 10:02 by (del#13001) #21596)

jre1.4.2を使う方法を御教示下さり助かります。ありがとうございました。
Reply to #21595

Reply to #21596×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: samurai-graph1.0.5 Mac/Win版 プリントできない (2006-05-01 10:23 by orrisroot #21598)

バグとしてトラッカに追加しました.
原因追求・修正に入ります.
Reply to #21596

Reply to #21598×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login