Generate lets you dynamically create elements for a job such as text, barcodes, solid color blocks, gradients, etc. By using the generate tag, these elements are created during rastering and can then be handled like regular images, positioning them, rotating them, scaling them, etc. Generated elements can also be used together with regular, imported images without issue. Common applications for generated elements are job labels including job information and barcodes to identify printed jobs in a production run.
The available Job Elements are the same that are also available in the JobComposer under Right Click > Add Job Element and you can try out the different Elements there to see how they behave.
To generate a Job Element through Delta XML, we need to use the image tag and then specify the filename for the element that we want to generate, e.g. <Image Generate="VarText3.dsc">. Within the image tag, we can then add parameters to configure what generated job element. Below we’ll go through the available elements and their syntax.
Variable Text
Generates a Text Element in the Job. The function allows to customize the text, font, orientation, etc. Note that in order to use Fonts, they need to be installed on that System and usable within the ErgoSoft RIP Software, otherwise they might not be detected.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=”vartext3.dsc”></Image>
Sample Code for Generate Variable Text

<HotFile>
<Job>
<Image Generate="VarText3.dsc">
<Parameters>
$PPVar$Angle$=0
$PPVar$OutlineCmyk$=0 100 0 0
$PPVar$UseOutline$=true
$PPVar$OutlineWidthMm$=0.400000
$PPVar$TextCmyk$=100 0 0 0
$PPVar$FrameCmyk$=0 0 100 0
$PPVar$Frame$=true
$PPVar$VersHMm$=30.000000
$PPVar$UseFill$=true
$PPVar$ArcPercent$=0
$PPVar$Font$=ArialMT
$PPVar$Text$=SampleText
</Parameters>
</Image>
</Job>
</HotFile>
Gradient Rectangle
Generates a rectangle. The rectangle can be filled with a gradient between two colors, a solid color (By defining the two gradient colors as the same) or just an outline (by defining the gradient as 0 0 0 0 to 0 0 0 0).
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=”GradientRect.dsc”></Image>
Sample Code for Generate Gradient Rectangle

<HotFile>
<Job>
<Image Generate="GradientRect.dsc">
<Parameters>
$PPVar$Angle$=20
$PPVar$Feature$=VarRect
$PPVar$FeatureDescription$=Farbiges Rechteck mit optionalem Verlauf
$PPVar$FeatureName$=Rechteck Verlauf
$PPVar$Gradient$=true
$PPVar$HeightMm$=20.000000
$PPVar$LeftColor$=100 0 0 0
$PPVar$RightColor$=0 100 0 0
$PPVar$WidthMm$=100.000000
</Parameters>
</Image>
</Job>
</HotFile>
Barcode
Generates a Barcode. The parameters of this element let you set the desired type of Barcode lets you specify color, text, etc.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=”barcode.dsc”></Image>
Sample Code for Generate Barcode

<HotFile>
<Job>
<Image Generate="Barcode.dsc">
<Parameters>
$PPVar$BarcodeCmyk$=0 0 0 100
$PPVar$BarcodeType$=qrcode
$PPVar$BgWhite$=true
$PPVar$Feature$=Barcode1
$PPVar$FeatureDescription$=FeatureDescription
$PPVar$FeatureName$=FeatureName
$PPVar$IncludeText$=true
$PPVar$Text$=ABCD12345
</Parameters>
</Image>
</Image>
</Job>
</HotFile>
Flexa Cut Line
Generates a Cut line for Flexa XY Cutter
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=”FlexaLine.dsc”></Image>
Sample Code for Generate Flexa Cut Line

<HotFile>
<Job>
<Image Generate="FlexaLine.dsc">
<Parameters>
$PPVar$Feature$=Flexa Line
$PPVar$FeatureDescription$=Schneidelinie für Flexa XY Cutter
$PPVar$FeatureName$=Flexa horizontale Linie
</Parameters>
</Image>
</Job>
</HotFile>
Crest Stop Mark
Generates a line across the width of the job used as a Stop Mark for Crest Cutters
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=” CrestStopMark.dsc”></Image>
Sample Code for Generate Crest Stop Mark

<HotFile>
<Job>
<Image Generate="CrestStopMark.dsc">
<Parameters>
</Parameters>
</Image>
</Job>
</HotFile>
Job Length Line
Generates a Vertical Line along the length of the Job on the left side. This is used in some applications to ensure continuous printing when there are empty gaps in a job.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=”JobLengthLine.dsc”></Image>
Sample Code for Generate Job Length Line

<HotFile>
<Job>
<Image Generate="JobLengthLine.dsc">
<Parameters>
$PPVar$Color$=0 0 0 100
$PPVar$Feature$=JobLengthLine
$PPVar$FeatureDescription$=Vertikale schwarze Linie entlang des gesamten Jobs
$PPVar$FeatureName$=Linie entlang des Jobs
$PPVar$LineWidthMm$=10.000000
</Parameters>
</Image>
</Job>
</HotFile>
Separation Line
Generates a dashed horizontal line that fills the width of the job.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=”SepDashedLine.dsc”></Image>
Sample Code for Dashed Separator Line

<HotFile>
<Job>
<Image Generate="SepDashedLine.dsc">
<Parameters>
$PPVar$Dash$=5
$PPVar$Feature$=SepDashedLine
$PPVar$FeatureDescription$=Gestrichelte Linie über die ganze Job-Breite
$PPVar$FeatureName$=Trennlinie
$PPVar$Height$=6
$PPVar$LineWidth$=2
$PPVar$Margin$=2
</Parameters>
</Image>
</Job>
</HotFile>
MEEVO Bottom Start Line
Generates a MEEVO start marker when cut direction is reversed (place at bottom). While there are parameters that can theoretically be changed, these should not be changed to ensure the line is correctly recognized by the cutter. Therefore the individual parameters are not listed in this Tag definition.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=” MEEVOStartLineReverse.dsc”></Image>
Sample Code for Generate MEEVO Bottom Start Line

<HotFile>
<Job>
<Image Generate="MEEVOStartLine.dsc">
<Parameters>
$PPVar$Height$=17 mm
$PPVar$LineWidth$=2 mm
$PPVar$Margin$=1 mm
</Parameters>
</Image>
</Job>
</HotFile>
Generate MEEVO Bottom Stop Line
Generates a MEEVO stop marker when cut direction is same as the printing direction (Marker placed at the bottom). While there are parameters that can be changed, these should not be changed to ensure the line is correctly recognized by the cutter.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=” MEEVOStopLine.dsc”></Image>
Sample Code for Generate MEEVO Bottom Stop Line

<HotFile>
<Job>
<Image Generate="MEEVOStopLine.dsc">
<Parameters>
$PPVar$BlockHeight$=30 mm
$PPVar$BlockTop$=47 mm
$PPVar$Feature$=MEEVOStopMarker
$PPVar$FeatureDescription$=MEEVO stop marker when cut direction is same as printing (place at bottom)
$PPVar$FeatureName$=MEEVO bottom stop cut mark
$PPVar$FirstLine$=16 mm
$PPVar$Height$=446 mm
$PPVar$LineWidth$=2 mm
$PPVar$SecondLine$=413 mm
$PPVar$ThirdLine$=445 mm
</Parameters>
</Image>
</Job>
</HotFile>
MEEVO Top Stop Line
Generates a MEEVO stop marker when cut direction is reversed (Marker placed at the top). While there are parameters that can be changed, these should not be changed to ensure the line is correctly recognized by the cutter.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate=” MEEVOStopLineReverse.dsc”></Image>
Example for Generate MEEVO Top Stop Line

<HotFile>
<Job>
<Image Generate="MEEVOStopLineReverse.dsc">
<Parameters>
$PPVar$BlockHeight$=30 mm
$PPVar$BlockTop$=369 mm
$PPVar$Feature$=MEEVOStopMarker
$PPVar$FeatureDescription$=MEEVO stop marker when cut direction is reversed (place at top)
$PPVar$FeatureName$=MEEVO top stop cut mark
$PPVar$FirstLine$=430 mm
$PPVar$Height$=446 mm
$PPVar$LineWidth$=2 mm
$PPVar$SecondLine$=33 mm
$PPVar$ThirdLine$=1 mm
</Parameters>
</Image>
</Job>
</HotFile>
Colored Rectangle
Generates a rectangle of a single color.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate="Colored Rectangle.dsc"></Image>
Sample Code for Colored Rectangle

<HotFile>
<Job>
<Image Generate="Colored Rectangle.dsc">
<Parameters>
$PPVar$Angle$=0
$PPVar$Color$=100 0 0 0
$PPVar$Feature$=VarRect
$PPVar$FeatureDescription$=Colored Rectangle
$PPVar$FeatureName$=Colored Rectangle
$PPVar$HeightMm$=20.000000
$PPVar$WidthMm$=100.000000
</Parameters><Scale Mode="PERCENT">276.441120</Scale>
</Image>
</Job>
</HotFile>
Fotoba Marks
Adds a horizontal line of Fotoba Cutmarks of the full job width to the Job.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate="Fotoba Marks.dsc"></Image>
Sample Code for Fotoba Marks

<HotFile>
<Job>
<Image Generate="Fotoba Marks.dsc">
<Parameters>
$PPVar$BlackMm$=1.000000
$PPVar$Color$=0 0 0 100
$PPVar$Feature$=Fotoba Marks
$PPVar$FeatureDescription$=Fotoba marks across whole job width
$PPVar$FeatureName$=Fotoba Marks
$PPVar$InnerWhiteMm$=1.000000
$PPVar$OuterWhiteMm$=1.000000
</Parameters>
</Image>
</Job>
</HotFile>
Gradient Object Pattern
Adds a colored object (E.g. Ellipse) with an optional gradient or unicolor fill and pattern arrangement.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate="GradientObject Pattern.dsc"></Image>
Sample Code for Gradient Object Pattern

<HotFile>
<Job>
<Image Generate="GradientObject Pattern.dsc">
<Parameters>
$PPVar$Angle$=0
$PPVar$Clean$=false
$PPVar$Color1$=100 0 0 0
$PPVar$Color2$=0 100 0 0
$PPVar$Dashes$=
$PPVar$Ellipse$=true
$PPVar$Feature$=VarRect
$PPVar$FeatureDescription$=Colored Object with optional gradient in a pattern
$PPVar$FeatureName$=Gradient Object Pattern
$PPVar$Filled$=true
$PPVar$Gradient$=true
$PPVar$HeightMm$=20.000000
$PPVar$PAngle$=0
$PPVar$Pattern$=true
$PPVar$Radial$=true
$PPVar$Round$=true
$PPVar$RoundDash$=true
$PPVar$Stroke$=true
$PPVar$StrokeColor$=0 100 100 0
$PPVar$StrokeWidthMm$=10.000000
$PPVar$WidthMm$=100.000000
$PPVar$dxMm$=100.000000
$PPVar$dyMm$=20.000000
$PPVar$nx$=10
$PPVar$ny$=5
</Parameters>
</Image>
</Job>
</HotFile>
Gradient Rectangle Pattern
Adds a colored rectangle with an optional gradient or unicolor fill and pattern arrangement.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate="GradientRect Pattern.dsc"></Image>
Sample Code for Gradient Rectangle Pattern

<HotFile>
<Job>
<Image Generate="GradientRect Pattern.dsc">
<Parameters>
$PPVar$Angle$=0
$PPVar$Clean$=false
$PPVar$Feature$=VarRect
$PPVar$FeatureDescription$=Colored Rectangle with optional gradient in a pattern
$PPVar$FeatureName$=Gradient Rectangle Pattern
$PPVar$Gradient$=true
$PPVar$HeightMm$=20.000000
$PPVar$LeftColor$=100 0 0 0
$PPVar$PAngle$=0
$PPVar$Pattern$=true
$PPVar$RightColor$=0 100 0 0
$PPVar$WidthMm$=100.000000
$PPVar$dxMm$=100.000000
$PPVar$dyMm$=20.000000
$PPVar$nx$=10
$PPVar$ny$=5
</Parameters>
</Image>
</Job>
</HotFile>
Star Pattern
Adds a colored star with an optional gradient or unicolor fill and pattern arrangement.
To determine the correct setting for your image element, it is recommended to create an element of the same type in the JobComposer by Right-Clicking in an empty area of the job and going to Add Job Element… From there, select the type of element you want to use, configure it as you like and confirm with Ok. Then right click on the element in the job and select Export XML... to export the element in XML form. You can then open the resulting XML file in any text editor and copy the tag with parameters to your XML file.
Format: <Image Generate="Star Pattern.dsc"></Image>
Sample Code for Star Pattern

<HotFile>
<Job>
<Image Generate="Star Pattern.dsc">
<Parameters>
$PPVar$Angle$=18
$PPVar$BR2$=true
$PPVar$BR3$=true
$PPVar$Clean$=false
$PPVar$Feature$=VarRect
$PPVar$FeatureDescription$=Colored Star in a pattern
$PPVar$FeatureName$=Star Pattern
$PPVar$Gradient$=true
$PPVar$LeftColor$=100 0 0 0
$PPVar$Num$=5
$PPVar$PAngle$=0
$PPVar$Pattern$=true
$PPVar$R1Mm$=50.000000
$PPVar$R2Mm$=40.000000
$PPVar$R3Mm$=30.000000
$PPVar$RightColor$=0 100 0 0
$PPVar$dxMm$=100.000000
$PPVar$dyMm$=100.000000
$PPVar$nx$=2
$PPVar$ny$=2
</Parameters>
</Image>
</Job>
</HotFile>