Composite Preset

Composite Preset

Composite Presets

Format: <CompositePreset Version=”1”></CompositePreset>

Composite Presets are sets of parameters relevant to the image (Such as Size, Rotation, Crop, ColorManagement Settings, etc.) that can be saved to easily be applied to images repeatedly.

In Delta Automation we can either call Presets that exist in the Ergosoft RIP Installation using the <ImagePresetName> tag, or we can define Presets on the fly directly in XML. This can help in cases where specific parameters that would normally be handled through a preset cannot be defined beforehand.

The CompositePreset Element encloses the parameters for the presets. Within <CompositePreset>, we call different QSComponent Elements to address different settings. You can think of QSComponent as individual Tools or dialogs in the main RIP that we access to make settings. So the QSComponents tells the RIP which feature you want to use, and the parameters of the QSComponent configure said feature.

As the Composite Preset is image specific, the <CompositePreset> is placed within the <Image> tag and must be closed again before closing the <Image> tag.
 

Addressing existing Presets in XML via CompositePreset

If you have already defined presets inside the JobComposer and wish to call and apply them inside XML, you can use the CompositePreset structure to do so. Note that with this method, the Presets need to exist in the JobComposer installation and the naming inside the tag must match the one in the JobComposer exactly.

To call one or more Presets inside a CompositePreset tag, open the <CompositePreset> tag and add a <QSComponent> parameter. In the attributes for QS Component, add the Type=”” of Preset you want to use, and in PresetName=”” set the exact name of your Preset that should be applied.

The sample code below contains all possible Preset types.

Sample Code for calling Presets
<HotFile> <Job> <Image FileName="C:\images\Lizard.tif"> <CompositePreset Version="1"> <QSComponent Type="Named_PrintMarks" PresetName="enter preset name"/> <QSComponent Type="Named_ImageMargin" PresetName="enter preset name"/> <QSComponent Type="Named_AddOns" PresetName="enter preset name"/> <QSComponent Type="Named_Crop" PresetName="enter preset name"/> <QSComponent Type="Named_ImportImgFormat" PresetName="enter preset name"/> <QSComponent Type="Named_InputProfiles" PresetName="enter preset name"/> <QSComponent Type="Named_PsCs" PresetName="enter preset name"/> <QSComponent Type="Named_PDFAurelon" PresetName="enter preset name"/> <QSComponent Type="Named_MaskImg" PresetName="enter preset name"/> <QSComponent Type="Named_ExtraChannels" PresetName="enter preset name"/> <QSComponent Type="Named_Tune" PresetName="enter preset name"/> <QSComponent Type="Named_ColorSubstRgb" PresetName="enter preset name"/> <QSComponent Type="Named_ColorSubstCmyk" PresetName="enter preset name"/> <QSComponent Type="Named_ColorSubstName" PresetName="enter preset name"/> <QSComponent Type="Named_ColorSubstMono" PresetName="enter preset name"/> <QSComponent Type="Named_ColorSubstLab" PresetName="enter preset name"/> <QSComponent Type="Named_SpotColorReplacement" PresetName="enter preset name"/> <QSComponent Type="Named_BgColRem" PresetName="enter preset name"/> <QSComponent Type="Named_SimTargetPrinter" PresetName="enter preset name"/> <QSComponent Type="Named_StepAndRepeat" PresetName="enter preset name"/> <QSComponent Type="Named_Tiling" PresetName="enter preset name"/> </CompositePreset> </Image> </Job> </HotFile>

Custom Composite Presets built fully in XML

Due to the sheer number of possible settings for the CompositePreset, it is not possible to cover every QSComponent and parameter in this guide. While you can write CompositePresets from scratch, it is recommended to use the JobComposer Interface to create an ImagePreset with the settings you want and use that as code-reference for your Delta XML code. You can of course still use variables to change/replace individual settings on the fly when putting together the Delta XML file for production.

To create a code reference ImagePreset, open the JobComposer and configure an ImagePreset as you need it. When you are satisfied, save the ImagePreset and go to C:\Users\Public\Documents\EsRip\16\Data\Settings. Open the ImagePreset file for the ImagePreset you created in a text editor and simply copy/paste the code for the configuration from there (Leave out the XML version descriptor in the first line though). As the syntax is the same, the code will work just the same in your Delta XML file.  

When putting together your CompositePreset, you can add as many QSComponent blocks as you like or leave out those you do not need. If something is not defined in the CompositePreset, it will use the default settings of the Job/RIP.

While we can’t cover all possible settings, you’ll find some examples below highlighting common use

 

Image Editing

Using CompositePresets, a lot of Image Editing operations such as scaling, rotating, crop, tiling and color tuning can be done dynamically inside the Delta XML file. In this application example, we will scale the image to 75cm width and 101cm height, add a 5cm margin at the left edge and configure printmarks so they are added to the image.

Sample Code for Image Editing
<HotFile> <Job Name="Job Name"> <Image FileName="C:\images\Lizard.tif"> <CompositePreset Version="1"> <QSComponent Type="Named_PrintMarks"> <Activated>1</Activated> <QSENamed Type="2" AccessName=""> <PrintMarks> <CropMarkLength>496</CropMarkLength> <CropMarkNachInnen>0</CropMarkNachInnen> <CropMarkOverlap>0</CropMarkOverlap> <CropMarkThickness>14</CropMarkThickness> <CropMarksColor>0 0 0 100</CropMarksColor> <CropMarksEnable>1</CropMarksEnable> <Cut>0</Cut> <Distance>354</Distance> <FooterReserve>0</FooterReserve> <FooterScheme/> <FooterTotalHeight>496</FooterTotalHeight> <HeaderReserve>0</HeaderReserve> <HeaderScheme/> <HeaderTotalHeight>496</HeaderTotalHeight> <HeadingAllowMirror>0</HeadingAllowMirror> <HeadingFont>Tahoma</HeadingFont> <HeadingHeight>213</HeadingHeight> <RegMarkDiameter>248</RegMarkDiameter> <RegMarkDistance>709</RegMarkDistance> <RegMarkLength>496</RegMarkLength> <RegMarkPositions>0</RegMarkPositions> <RegMarkThickness>14</RegMarkThickness> <RegMarksColor>0 0 0 100</RegMarksColor> <RegMarksEnable>0</RegMarksEnable> <TextMarksColor>0 0 0 100</TextMarksColor> <TextMarksEnable>1</TextMarksEnable> </PrintMarks> </QSENamed> </QSComponent> <QSComponent Type="Named_ImageMargin"> <Activated>1</Activated> <QSENamed Type="6" AccessName="$Customized$"> <ImageMargin> <RotateMargins>0</RotateMargins> <MargLeftMm>50.000000</MargLeftMm> <MargRightMm>0.000000</MargRightMm> <MargTopMm>0.000000</MargTopMm> <MargBottomMm>0.000000</MargBottomMm> </ImageMargin> </QSENamed> </QSComponent> <QSComponent Type="Named_ImportImgFormat"> <Activated>1</Activated> <QSENamed Type="1" AccessName="$Customized$"> <ImgFormat Name=""> <ScaleMode>0</ScaleMode> <SizeName/> <KeepProportionPercent>1</KeepProportionPercent> <PercentWidth>100.000000</PercentWidth> <PercentHeight>100.000000</PercentHeight> <FitAttributes> <WidthMm>750.000000</WidthMm> <HeightMm>1010.000000</HeightMm> <FitWidth>1</FitWidth> <FitHeight>1</FitHeight> <KeepProportion>0</KeepProportion> <ForceMode>0</ForceMode> <PosMode>4</PosMode> <RotateMode>4</RotateMode> <Mirror>0</Mirror> </FitAttributes> </ImgFormat> </QSENamed> </QSComponent> </CompositePreset> </Image> </Job> </HotFile>

Image AddOns

In this example, we specify multiple Image AddOns to be included with the image. We Add a Barcode to the image file as well as a Canvas Mounting Extension.

Sample Code for Image AddOns
<HotFile> <Job Name="Composite Preset ImageAddOn"> <Image FileName="C:\images\Lizard.tif"> <CompositePreset Version="1"> <QSComponent Type="Named_AddOns"> <Activated>1</Activated> <QSENamed Type="5" AccessName="$Customized$"> <ImgAddOns> <AddOn Feature="BarcodeAddOn1"> AsOverlay=true BarcodeCmyk=0 0 0 100 BarcodeType=qrcode FeatureMovePositionHorz=0.000000 FeatureMovePositionVert=0.000000 FeaturePositionFlagsHorz=2 FeaturePositionFlagsVert=6 Height=72.000000 IncludeText=true Margin=7.937008 RotationType=0 Text=ABCDE12345 Width=72.000000 </AddOn> <AddOn Feature="CanvasMountingExtension"> BackgroundColor=0 0 20 0 FrameThickness=30.047244 FrameWidth=39.968504 </AddOn> </ImgAddOns> </QSENamed> </QSComponent> </CompositePreset> </Image> </Job> </HotFile>


Color Replacement

Using CompositePresets, it is even possible to specify color replacements in just about any format: LAB, CMYK, RGB, Postscript. The features for color replacement in Delta XML are the same that can be found in the ImagePresets dialog or in Tools > Application Defaults > Color Replacements.

In this example, we specify a Color Replacement so every 100% Cyan value in the file is replaced with 100% Magenta. We also defined a tolerance of 5 (Or 20% in the internal unit) so close values would also be replaced.

Sample Code for Color Replacement
<HotFile> <Job Name="Job Name"> <Image FileName="C:\images\Lizard.tif"> <CompositePreset Version="1"> <QSComponent Type="Named_ColorSubstCmyk"> <Activated>1</Activated> <QSENamed Type="20" AccessName="$Customized$"> <ColorSubst> <KeyType>CMYK</KeyType> <TolerancePercent>20</TolerancePercent> <Subst CMYK="255 0 0 0">$Dev RI2 KT1 0.00 0.00 0.00 4 0.00 100.00 0.00 0.00</Subst> </ColorSubst> </QSENamed> </QSComponent> </CompositePreset> </Image> </Job> </HotFile>


Color Management

With CompositePresets, we can even adjust ColorManagement settings on the fly for all colorspaces. Say we want to be able to change the Postscript ColorManagement settings to use specific input profiles depending on a customer order or specific criteria, we can do this by calling the respective color management function. The available settings correspond to those found in the ImagePresets dialog in ColorManagement or in Tools > Application Defaults > Color Management.

Sample Code for Color Management
<HotFile> <Job Name="Job Name"> <Image FileName="C:\images\Lizard.tif"> <CompositePreset Version="1"> <QSComponent Type="Named_PDFAurelon"> <Activated>1</Activated> <QSENamed Type="28" AccessName="$Customized$"> <PsCs> <UsePostscriptColormanagement>1</UsePostscriptColormanagement> <RGBUseAllTheSame>1</RGBUseAllTheSame> <CMYKUseAllTheSame>1</CMYKUseAllTheSame> <TreatGrayAsRgb>0</TreatGrayAsRgb> <UseNamedColorReplacementForSeparation>0</UseNamedColorReplacementForSeparation> <UseNamedColorReplacementForDeviceN>0</UseNamedColorReplacementForDeviceN> <UseCMYKColorManagementForDeviceN>1</UseCMYKColorManagementForDeviceN> <UseAdobeBlackpointCompensation>0</UseAdobeBlackpointCompensation> <UseOIPAsSimProf>0</UseOIPAsSimProf> <UseOIPAsOutProf>0</UseOIPAsOutProf> <UseEmbeddedRGBVector>1</UseEmbeddedRGBVector> <UseEmbeddedRGBPixel>1</UseEmbeddedRGBPixel> <UseEmbeddedRGBText>1</UseEmbeddedRGBText> <UseEmbeddedCMYKVector>1</UseEmbeddedCMYKVector> <UseEmbeddedCMYKPixel>1</UseEmbeddedCMYKPixel> <UseEmbeddedCMYKText>1</UseEmbeddedCMYKText> <UseEmbeddedOICMYKVector>1</UseEmbeddedOICMYKVector> <UseEmbeddedOICMYKPixel>1</UseEmbeddedOICMYKPixel> <UseEmbeddedOICMYKText>1</UseEmbeddedOICMYKText> <RenderingIntentRGBPixel>1</RenderingIntentRGBPixel> <RenderingIntentRGBVector>1</RenderingIntentRGBVector> <RenderingIntentRGBText>1</RenderingIntentRGBText> <RenderingIntentCMYKPixel>1</RenderingIntentCMYKPixel> <RenderingIntentCMYKVector>1</RenderingIntentCMYKVector> <RenderingIntentCMYKText>1</RenderingIntentCMYKText> <InputProfileRGBVector/> <InputProfileRGBPixel>ColorMatchRGB.icc</InputProfileRGBPixel> <InputProfileRGBText/> <InputProfileCMYKVector/> <InputProfileCMYKPixel>ISOcoated_v2_eci.icc</InputProfileCMYKPixel> <InputProfileCMYKText/> <DefaultOutputProfileCMYK/> <DefaultOutputProfileRGB/> <UseIntermCS>0</UseIntermCS> <AftIntermOutpProfRI>2</AftIntermOutpProfRI> <UseDefaultPDFXHandling>0</UseDefaultPDFXHandling> <RenderAllPlates>0</RenderAllPlates> <SimulateOverprinting>1</SimulateOverprinting> <UseRGBPageColorSpaceForColorManagement>0</UseRGBPageColorSpaceForColorManagement> <LabUseAllTheSame>1</LabUseAllTheSame> <GrayUseAllTheSame>1</GrayUseAllTheSame> <UseEmbeddedLabVector>1</UseEmbeddedLabVector> <UseEmbeddedLabPixel>1</UseEmbeddedLabPixel> <UseEmbeddedLabText>1</UseEmbeddedLabText> <UseEmbeddedGrayVector>1</UseEmbeddedGrayVector> <UseEmbeddedGrayPixel>1</UseEmbeddedGrayPixel> <UseEmbeddedGrayText>1</UseEmbeddedGrayText> <RenderingIntentLabPixel>1</RenderingIntentLabPixel> <RenderingIntentLabVector>1</RenderingIntentLabVector> <RenderingIntentLabText>1</RenderingIntentLabText> <RenderingIntentGrayPixel>1</RenderingIntentGrayPixel> <RenderingIntentGrayVector>1</RenderingIntentGrayVector> <RenderingIntentGrayText>1</RenderingIntentGrayText> <InputProfileLabVector/> <InputProfileLabPixel/> <InputProfileLabText/> <InputProfileGrayVector/> <InputProfileGrayPixel>AdobeGray20.icm</InputProfileGrayPixel> <InputProfileGrayText/> </PsCs> </QSENamed> </QSComponent> </CompositePreset> </Image> </Job> </HotFile>


 

                                              
    • Related Articles

    • Presets

      A Preset can be thought of as a predefined setting that can be applied to an Image, Job or the RIP itself. If you find yourself performing the same operation frequently, e.g. scaling an image to a certain size, you might want to save that operation ...
    • Pure Colors

      One of the clever little tools ErgoSoft RIP users have at their disposal to exert more control over the colors they are printing. Pure Colors lets you tell the RIP that certain colors should only be printed using their respective ink. So for example ...
    • Printing White Ink or Finish

      For this article, we will use white printing as the primary example, but all the steps also apply to printing similar special fluids such as primer, varnish, etc. Simply adapt the Printing Ink Assignment to reflect the proper type of fluid. General ...
    • Spot Colors / Named Colors

      Spot Color or Named Color printing uses color names in image files to identify the color for color replacement. So for example, you may use a graphic design program such as Adobe Illustrator to specify a spot color name «Spot_Red1» for one of the ...
    • Simulate Target Printer

      Some applications require one printer to emulate the printing behavior of another, either for proofing purposes to test prints on a less expensive machine before comitting to the final production output, or to ensure that multiple printers print the ...