MIS データを読み込む設定を行う場合は、ステップ&リピートやダイ ベースのレイアウトなど、レイアウトの種類ごとに特定の XSLT フィールドが必要です。 注意:デフォルトでは、すべての単位は「ポイント」になります。 スキーマにある ShopMap 設定項目の単位は直接、インチ(in.)、ミリメートル(mm)、センチメートル(cm)に設定できます。 他のパラメータの単位については、XSLT ファイルに換算のための数値と数学演算子を追加して、手動で変換する必要があります。 たとえば、インチからポイントに変換する場合は、*72 を加えます。 Stylus Studio ソフトウェアを使用して XLST ファイルを作成できます。 ここで手順を確認してください。 アートワーク情報を含まないステップ&リピート ジョブ用の XSLT 必須フィールドアートワーク情報を含まないステップ&リピート ジョブには、次のフィールドを含める必要があります。 Job/jobName Job/jobType :PLA ソフトウェアのレイアウト チケット名に指定可能Job/layoutName :Layout に指定可能Job/Shopmap/PressSheet/Width Job/Shopmap/PressSheet/Height Job/StepRepeatList/StepRepeat/cols Job/StepRepeatList/StepRepeat/rows Job/StepRepeatList/StepRepeat/name :SR1 に指定Job/StepRepeatList/StepRepeat/id :1 に指定Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/ StepRepeatArtwork/scaleX :1 に指定Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY :1 に指定Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyWidth Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyHeight
XML サンプル ファイルおよび XSLT サンプル ファイル:アートワーク情報を含まないステップ&リピート次のように、最初に XML ファイルを記述します。<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0001"/>
<Prepress ArtworkWidth="19.125"
ArtworkHeight="15.5"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/> </Job>
次のように、Stylus Studio などの XSLT 編集ソフトウェアを使用して、XSLT ファイルを作成します。< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<StepRepeatList>
<StepRepeatname="SR1"id="1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>
<StepRepeatArtwork scaleX="1"
scaleY="1">
<xsl:attributename="dummyHeight">
<xsl:value-ofselect="Job/
Prepress/@ArtworkHeight *72"/>
</xsl:attribute>
<xsl:attributename="dummyWidth">
<xsl:value-ofselect="Job/
Prepress/@ArtworkWidth*72"/>
</xsl:attribute>
</StepRepeatArtwork>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>
アートワーク情報を含むステップ&リピート ジョブ用の XSLT 必須フィールドアートワーク情報を含むステップ&リピート ジョブには、次のフィールドを含める必要があります。 Job/jobName Job/jobType :PLA ソフトウェアのレイアウト チケット名に指定可能Job/layoutName :Layout に指定可能Job/Shopmap/PressSheet/Width Job/Shopmap/PressSheet/Height Job/StepRepeatList/StepRepeat/cols Job/StepRepeatList/StepRepeat/rows Job/StepRepeatList/StepRepeat/name :SR1 に指定Job/StepRepeatList/StepRepeat/id :1 に指定Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/ownerID : :1 に指定Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleX :1 に指定
Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY :1 に指定
Job/ArtworkList/Artwork/Name
Job/ArtworkList/Artwork/id :2 に指定
Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/referenceId :2 に指定
XML サンプル ファイルおよび XSLT サンプル ファイル:アートワーク情報を含むステップ&リピート ジョブ次のように、最初に XML ファイルを記述します。<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0002"/>
<Prepress Artwork="\\PrinergyServer \LayoutAutomationSample\
Resources\Hungry Cat Label\Hungry Cat
Label 1.pdf"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>
次のように、Stylus Studio などの XSLT 編集ソフトウェアを使用して、XSLT ファイルを作成します。< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artworkid="2">
<Name>
<xsl:value-ofselect="Job/ Prepress/@Artwork"/> </Name> </Artwork> </ArtworkList> <StepRepeatList> <StepRepeatid="1"name="SR1"> <xsl:attributename="cols"> <xsl:value-ofselect="Job/ Stripping/@Across"/> </xsl:attribute> <xsl:attributename="rows"> <xsl:value-ofselect="Job/ Stripping/@Around"/> </xsl:attribute> <StepRepeatArtworkList>
<StepRepeatArtworkownerId="1"referenceId="2"
scaleX="1" scaleY="1"/> </StepRepeatArtworkList> </StepRepeat> </StepRepeatList> <Shopmap> <PressSheetunit="in"> <xsl:attributename="height"> <xsl:value-ofselect="Job/Plate/
@Height"/> </xsl:attribute> <xsl:attributename="width"> <xsl:value-ofselect="Job/Plate/ @Width"/> </xsl:attribute> </PressSheet> </Shopmap> </Job> </xsl:template> </xsl:stylesheet>
ダイ ベースのレイアウト用の XSLT 必須フィールドダイ ベースのレイアウトには、次のフィールドを含める必要があります。 XML サンプル ファイルおよび XSLT サンプル ファイル:ダイ ベースのレイアウト次のように、最初に XML ファイルを記述します。<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0003"/>
<Prepress Artwork="\\PrinergyServer \LayoutAutomationSample\
Resources\Hungry Cat Carton\Hungry Cat
Carton 1.pdf"/> <Die DieFile="\\PrinergyServer \LayoutAutomationSample\Resources\ Hungry Cat Carton\Hungry Cat Carton.CF2"/> <Plate Width="40" Height="30"/> </Job>
次のように、Stylus Studio などの XSLT 編集ソフトウェアを使用して、XSLT ファイルを作成します。< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList> <Artwork> <Name> <xsl:value-ofselect="Job/ Prepress/@Artwork"/> </Name> </Artwork> </ArtworkList> <Die> <Name> <xsl:value-ofselect="Job/Die/ @DieFile"/> </Name> </Die> <Shopmap> <PressSheetunit="in"> <xsl:attributename="height"> <xsl:value-ofselect="Job/Plate/ @Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/ @Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>
|