<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>watermint.org &#187; distiller</title>
	<atom:link href="http://watermint.org/tag/distiller/feed" rel="self" type="application/rss+xml" />
	<link>http://watermint.org</link>
	<description>Takayuki Okazaki&#039;s blog</description>
	<lastBuildDate>Tue, 20 Dec 2011 14:10:12 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://watermint.org/tag/distiller/feed" />
		<item>
		<title>IllustratorとAdobe Distiller</title>
		<link>http://watermint.org/2008/09/27/246.html</link>
		<comments>http://watermint.org/2008/09/27/246.html#comments</comments>
		<pubDate>Fri, 26 Sep 2008 17:11:27 +0000</pubDate>
		<dc:creator>Takayuki Okazaki</dc:creator>
				<category><![CDATA[テクノロジー]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[distiller]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[illustrator]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://watermint.org/?p=246</guid>
		<description><![CDATA[昨日のGlassFish Night Seminar発表資料ですが、ようやくPDF化して公開することができました。「GlassFishで、作ってみた。」今回はずいぶんとIllustrator CS3と、Adobe Distiller 8、それにひょっとしたらMac OS X Leopardに苦しめられました。その苦労話を・・。 まず、昨日の段階で資料をPDFに変換しようとしたら、Adobe PDFプリンタがいっこうに動き始めません（というか、動き始めてすぐ止まる）。何回やっても一時停止になるし、テストページの印刷でも同じだし、Firefoxなど別のアプリケーションから印刷しても同じだったのでこれはIllustratorではなくて明らかにAdobe PDFプリンタ、つまりAdobe Distillerの問題でした。EPSONのプリンタへはふつうに印刷できましたのでOSのプリントスプール側の問題でもなさそうです。 強引にスプール上のジョブを再開しようとすると上図のように、Operation Could not be completed.とエラーになり全く進みません。Mac OS Xシステム環境設定の「プリントとファックス」でAdobe PDFプリンタを削除してから登録し直してもだめ。システム環境設定で削除しておいて、Adobe Acrobat Professionalのメニューで「ヘルプ」→「Acrobat インストールの修復」でPDFプリンタを入れ直してもだめ。しょうがなく、Adobe Acrobat Professionalを再インストールしてみましたがそれでもだめ。 途方に暮れている頃に思いついたのがコンソールのエラーログを見ること。そうすると思惑通り、というかやっぱりDistillerがコケていることがわかりました。DistillerのCrash Reportをみると原因はSIGBUSで、常にThread 2がこけていました。Thread 2はCrash Reportのスタックトレースによると Thread 2 Crashed: 0 com.adobe.DistillerLib 0x01147b80 DistillerFontFolders::GetFontCachePath(char**) + 32 1 com.adobe.DistillerLib 0x01157695 DistillerPSRip::SetupPSParameters() + 767 2 com.adobe.DistillerLib 0x01157aba DistillerPSRip::PSInit(void*) + 224 3 ...ple.CoreServices.CarbonCore 0x90662d41 [...]]]></description>
			<content:encoded><![CDATA[<p>昨日の<a href="http://www.java-users.jp/contents/events/nightseminar/20080925glassfish/index.html">GlassFish Night Seminar</a>発表資料ですが、ようやくPDF化して公開することができました。「<a href="http://glassfish.jp/files/20080926/20080925_glassfish.pdf">GlassFishで、作ってみた。</a>」今回はずいぶんとIllustrator CS3と、Adobe Distiller 8、それにひょっとしたらMac OS X Leopardに苦しめられました。その苦労話を・・。<br />
<a href="http://www.flickr.com/photos/21684662@N00/2890350116" title="View 'Illustrator and Distiller' on Flickr.com"><img src="http://farm4.static.flickr.com/3199/2890350116_bb2175cc0a.jpg" alt="Illustrator and Distiller" border="0" width="500" height="342" /></a><br />
まず、昨日の段階で資料をPDFに変換しようとしたら、Adobe PDFプリンタがいっこうに動き始めません（というか、動き始めてすぐ止まる）。何回やっても一時停止になるし、テストページの印刷でも同じだし、Firefoxなど別のアプリケーションから印刷しても同じだったのでこれはIllustratorではなくて明らかにAdobe PDFプリンタ、つまりAdobe Distillerの問題でした。EPSONのプリンタへはふつうに印刷できましたのでOSのプリントスプール側の問題でもなさそうです。<br />
<a href="http://www.flickr.com/photos/21684662@N00/2890350188" title="View 'Illustrator and Distiller' on Flickr.com"><img src="http://farm4.static.flickr.com/3134/2890350188_4ea96ed42e.jpg" alt="Illustrator and Distiller" border="0" width="420" height="153" /></a><br />
強引にスプール上のジョブを再開しようとすると上図のように、Operation Could not be completed.とエラーになり全く進みません。Mac OS Xシステム環境設定の「プリントとファックス」でAdobe PDFプリンタを削除してから登録し直してもだめ。システム環境設定で削除しておいて、Adobe Acrobat Professionalのメニューで「ヘルプ」→「Acrobat インストールの修復」でPDFプリンタを入れ直してもだめ。しょうがなく、Adobe Acrobat Professionalを再インストールしてみましたがそれでもだめ。<br />
<a href="http://www.flickr.com/photos/21684662@N00/2890350702" title="View 'Illustrator and Distiller' on Flickr.com"><img src="http://farm4.static.flickr.com/3226/2890350702_8a9afeefd9.jpg" alt="Illustrator and Distiller" border="0" width="500" height="303" /></a><br />
途方に暮れている頃に思いついたのがコンソールのエラーログを見ること。そうすると思惑通り、というかやっぱりDistillerがコケていることがわかりました。DistillerのCrash Reportをみると原因はSIGBUSで、常にThread 2がこけていました。Thread 2はCrash Reportのスタックトレースによると</p>
<pre>
Thread 2 Crashed:
0   com.adobe.DistillerLib        	0x01147b80 DistillerFontFolders::GetFontCachePath(char**) + 32
1   com.adobe.DistillerLib        	0x01157695 DistillerPSRip::SetupPSParameters() + 767
2   com.adobe.DistillerLib        	0x01157aba DistillerPSRip::PSInit(void*) + 224
3   ...ple.CoreServices.CarbonCore	0x90662d41 CooperativeThread + 309
4   libSystem.B.dylib             	0x93a176f5 _pthread_start + 321
5   libSystem.B.dylib             	0x93a175b2 thread_start + 34
</pre>
<p>というようにGetFontCachePathという関数で毎回こけているようです。海外のフォーラムで同様の現象を報告している人の中で、$HOME/Library/Application Support/Adobe/ 以下にあるFontCacheディレクトリのパーミッションを変えたら直ったという人がいて、試してみましたがだめでした。もっといろいろ情報集めをしていたところAcrobatの8.1.2アップデートに更新しろと書いている人がいました。Creative Suiteを入れたときに2〜3回Adobe Updaterでアップデートしていたので当然Acrobatも更新されているものだろうと思っていましたが、バージョンを確認したら意外にも8.0.0・・・。<br />
<a href="http://www.flickr.com/photos/21684662@N00/2889515071" title="View 'Illustrator and Distiller' on Flickr.com"><img src="http://farm4.static.flickr.com/3116/2889515071_24b3c3ed5a.jpg" alt="Illustrator and Distiller" border="0" width="482" height="248" /></a><br />
Adobe Updater、どこみとってん！一言愚痴を言わせてもらうと、Adobe Updaterの品質の低さは異常です。品質というか、ユーザアンフレンドリーさは、たくさんあるアップデートセンター系システムの中でも最低だと思います。まあ、そんな愚痴を心の中でつぶやきながらアップデート。<br />
<a href="http://www.flickr.com/photos/21684662@N00/2889515209" title="View 'Illustrator and Distiller' on Flickr.com"><img src="http://farm4.static.flickr.com/3227/2889515209_24eb2760b2.jpg" alt="Illustrator and Distiller" border="0" width="500" height="224" /></a><br />
毎回Safariのプラグインを入れるかきかれますが、ブラウザ中にPDF表示するのって大嫌いなので必ずオフにしています。Acrobatを入れて最初にやることはブラウザ上に表示させないように設定することです。Mac OS XのPreviewもSafari内にいたがりますが、</p>
<pre>
$ defaults write com.apple.Safari WebKitOmitPDFSupport -bool true
</pre>
<p>というようにdefaultsコマンドで設定をオフにしています。さて、Acrobat 8.1.2にアップデートしたことでようやくDistillerが快調に動き始めました。テスト印刷もばっちりです。では、Illustratorで・・・。<br />
<a href="http://www.flickr.com/photos/21684662@N00/2890351038" title="View 'Illustrator and Distiller' on Flickr.com"><img src="http://farm4.static.flickr.com/3233/2890351038_d20204a0aa.jpg" alt="Illustrator and Distiller" border="0" width="500" height="394" /></a><br />
あれ？各ページが1/2のサイズになって、しかも前後のページが半分ずつ各ページに入っています。2ページ目には1ページ目と3ページ目の上下が、3ページ目には2ページ目と4ページ目の上下が・・・。なにこれ。<br />
<a href="http://www.flickr.com/photos/21684662@N00/2889516097" title="View 'Illustrator and Distiller' on Flickr.com"><img src="http://farm4.static.flickr.com/3087/2889516097_cab5f65fc2.jpg" alt="Illustrator and Distiller" border="0" width="500" height="313" /></a><br />
Illustrator上では今回、ドキュメントサイズは幅297mm、高さ4200mm (A4横の用紙を縦方向に20枚並べた大きさ)に設定し、プリントの設定として用紙サイズA4横、セットアップでタイルに「用紙サイズで区分ける」、トンボと裁ち落としで裁ち落としを天地左右 0mmとしてページ分割されるように設定しました。あとはメニューの「表示」→「ページ分割を表示」とすれば印刷サイズにあった罫線が表示されそのようにデザインしやすくなります。ページ分割が表示されているとおり印刷結果が得られるだろうと考えていましたし、実際Tigerで使っていた頃はそう結果がえられたので何も疑問なくやっていましたが、いざおかしくなるとどうしていいかわかりません。<br />
<a href="http://www.flickr.com/photos/21684662@N00/2889516259" title="View 'Illustrator and Distiller' on Flickr.com"><img src="http://farm4.static.flickr.com/3250/2889516259_9a4ddaf496.jpg" alt="Illustrator and Distiller" border="0" width="500" height="336" /></a><br />
結局悩みに悩んでうまく行った方法が、プリンタをAdobe PDF 8.0ではなく、Adobe PostScriptファイルとして、PostScriptでの結果をまず得て、その結果をAdobe DistillerでPDFに変換する方法です。Adobe PDF 8.0プリンタも中身はDistillerのはずなので、釈然としませんが、とりあえずうまくいったのでこれでよしとします。そもそも、複数ページ(しかも20ページとか・・)のデザインをIllustratorでやることはあまり想定されていないのでしょうがないところですね。ああ・・InDesignがほしい。そういえば、Creative Suite 4が発売になりましたが、InDesignやAfter Effects・Premiereを含むMaster Collectionへのアップグレードが今持っているCreative Suite CS3 Web Premiumからだと$1,199なんですよね・・・。日本での値段はまだわかりませんが、ちょっとほしくなってきました。</p>
]]></content:encoded>
			<wfw:commentRss>http://watermint.org/2008/09/27/246.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://watermint.org/2008/09/27/246.html" />
	</item>
	</channel>
</rss>

