Loading

Media type

The media type is specified by attribute @oce:CustomMediaType or attribute @MediaTypeDetails or attribute @MediaType. It is allowed to use only attribute @oce:CustomMediaType. The value of attribute @oce:CustomMediaType can contain spaces. The value of @oce:CustomMediaType becomes the media type name in the media catalogue.

The value of @oce:CustomMediaType must be used when @oce:CustomMediaType and @MediaTypeDetails and @MediaType contain valid values.

The value of @MediaTypeDetails must be used when:

  • @oce:CustomMediaType is not specified, but @MediaTypeDetails and @MediaType contain valid values.

  • @oce:CustomMediaType is not specified and @MediaType="Other".

If @MediaTypeDetails is specified, then @MediaType must be specified too.

When you want to define tab media, then you have to define @MediaType="Paper" and @MediaTypeDetails="PreCutTabs".

Example - the "Transparency" media type

<Media ID="media_1" Class="Consumable" Status="Available" MediaType="Transparency" Dimension="648.0 792.0"/>

Example - the "Plain" media type

<Media ID="media_2" Class="Consumable" Status="Available" MediaType="Paper" MediaTypeDetails="Plain" Dimension="648.0 792.0"/>

Example - the "Yellowish Tabbed Plain paper with 4 holes" media type

<Media ID="media_3" Class="Consumable" Status="Available" HoleType="R4-generic" MediaColorNameDetails="Yellowish" MediaSetCount="4" MediaType="Paper" MediaTypeDetails="PreCutTabs" oce:CustomMediaType="Plain paper" Dimension="648.0 792.0"/>

Media types

Syntax

XPath: /JDF/ResourcePool/Media/@MediaType

Type

Enumeration

Supported range

  • Paper

  • Transparency

  • Film

  • Other

Details of the media types

Syntax

XPath: /JDF/ResourcePool/Media/@MediaTypeDetails

Type

NMTOKEN

Supported range

  • Aluminium

  • CardBoard

  • CD

  • ContinuousLong

  • ContinuousShort

  • CtPThermal

  • CtPVisiblePhotoPolymer

  • CtPVisibleSilver

  • DoubleWall

  • DryFilm

  • DVD

  • Envelope

  • EnvelopePlain

  • EnvelopeWindow

  • FlexoBase

  • FlexoPhotoPolymer

  • Flute

  • FullCutTabs

  • ImageSetterPaper

  • Labels

  • Letterhead

  • MultiLayer

  • MultiPartForm

  • Photographic

  • Plain

  • PlateUV

  • Polyester

  • PreCutTabs

  • SingleFace

  • SingleWall

  • Stationary

  • TabStock

  • Tractor

  • TripleWall

  • WetFilm

Custom media types

Syntax

XPath: /JDF/ResourcePool/Media/@oce:CustomMediaType

Type

String

Supported range

[0 .. 40] characters

Example

<Media ID="media_2" Class="Consumable" Status="Available" MediaType="Paper" MediaTypeDetails="Plain" Dimension="648.0 792.0"/>