Figure 46. Sample color mapping table source file
#-----------------------------------------------------------------------
#
# Licensed Materials - Property of IBM
# 5655-B17
# (C) Copyright IBM Corp. 1999,2000
#
# This file is a Color Mapping Table source file. One uses it to
# create CMT mappings from source colors to target colors with the
# APSRCMT utility.
#
# Attributes appear in Attribute/Values pairs. If you choose the
# default value, do not provide the Attribute (Comment it out by
# placing the # character in front of the Attribute).
# Unnecessary values following an attribute will be ignored.
#
# Attribute values are not case-sensitive.
#
# The color mapping table generated in this particular example is the
# same as the color mapping table shipped with InfoPrint Manager
# for AIX in /usr/lpp/psf/reslib/cmtsampl.
# This example is the same color mapping table that
# a highlight color printer comes up with after cycling power.
#
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# BeginMappingDef:
# Required, starts a Color Mapping Definition.
# One definition for each Source to Target mapping
#-----------------------------------------------------------------------
BeginMappingDef:
#---------------------------------------------------------------------
# BeginSourceDef:
# Required, starts the Source Parameters
#---------------------------------------------------------------------
BeginSourceDef:
#-------------------------------------------------------------------
# ColorSpace:
# Required, values = OCA | Highlight | GOCA
#-------------------------------------------------------------------
ColorSpace: OCA
#-------------------------------------------------------------------
# ColorValue:
# Required, values depend on Color Space, see manual page for cmt
#-------------------------------------------------------------------
ColorValue: BLUE
#-------------------------------------------------------------------
# ObjectType:
# Optional, values = ObjArea | ImageData | IocaData | PTOCAData |
# GOCAData | BCOCAData | AllOCA | Page | Overlay | ObjsAll
# default = ObjsAll
#-------------------------------------------------------------------
#ObjectType:
#-------------------------------------------------------------------
# PercentShading:
# Optional, only valid for SourceColorSpace: Highlight,
# values = 0 .. 100, 255 (all percentages), default = 100
#-------------------------------------------------------------------
#PercentShading:
#-------------------------------------------------------------------
# PercentCoverage:
# Optional, only valid for SourceColorSpace: Highlight,
# values = 0 .. 100, 255 (all percentages), default = 100
#-------------------------------------------------------------------
#PercentCoverage:
#---------------------------------------------------------------------
# EndSourceDef:
# Required, ends the Source Parameters
#---------------------------------------------------------------------
EndSourceDef:
#---------------------------------------------------------------------
# BeginTargetDef:
# Required, starts the Target Parameters
#---------------------------------------------------------------------
BeginTargetDef:
#-------------------------------------------------------------------
# ColorSpace:
# Required, values = RGB | CMYK | Highlight | CIELAB
#-------------------------------------------------------------------
ColorSpace: Highlight
#-------------------------------------------------------------------
# ColorValue:
# Required, values depend on Color Space, see manual page for cmt
#-------------------------------------------------------------------
ColorValue: 1
#-------------------------------------------------------------------
# PercentShading:
# Optional, only valid for TargetColorSpace: Highlight,
# values = 0 .. 100, default = 100
#-------------------------------------------------------------------
#PercentShading:
#-------------------------------------------------------------------
# PercentCoverage:
# Optional, only valid for TargetColorSpace: Highlight,
# values = 0 .. 100, default = 100
#-------------------------------------------------------------------
#PercentCoverage:
#---------------------------------------------------------------------
# EndsTargetDef:
# Required, ends the Target Parameters
#---------------------------------------------------------------------
EndTargetDef:
#-----------------------------------------------------------------------
# EndMappingDef:
# Required, ends a Color Mapping Definition
#-----------------------------------------------------------------------
EndMappingDef:
#
# Map OCA RED to Highlight 2
#
BeginMappingDef:
BeginSourceDef:
ColorSpace: OCA
ColorValue: RED
EndSourceDef:
BeginTargetDef:
ColorSpace: Highlight
ColorValue: 2
EndTargetDef:
EndMappingDef:
#
# Map OCA PINK to Highlight 3
#
BeginMappingDef:
BeginSourceDef:
ColorSpace: OCA
ColorValue: PINK
EndSourceDef:
BeginTargetDef:
ColorSpace: Highlight
ColorValue: 3
EndTargetDef:
EndMappingDef: