Problem
The printout cannot be generated because of a neoRipEngine error:
Error 120] VIPS error: neoQR result error: -1 VipsFormat: file "/Users/milena/Documents/neoCatalogs/INEDIT-QA/QuickPrint/Layouts/SohoGothicPro-Light.otf" not a known format vips_image_get: field "icc-profile-data" not found [Error 109] Refactor operation failed: Image error [Error 111] ID not valid: 4 |
Reason
The TJB where the QR code is defined as no output resolution dpi defined.
<Output> <Space>LAB</Space> </Output>
Solution
Define the output resolution in the TJB output parameters. Recommended is 144 dpi.
<Output> <ResolutionX>144</ResolutionX> <ResolutionY>144</ResolutionY> <ResolutionUnits>dpi</ResolutionUnits> <Space>LAB</Space> </Output>
Result
<?xml version="1.0" encoding="UTF-8"?> <Job> <Sources> <Source Id="0" URL="${SourceImage}"/> <Source Id="1" URL="${SourceXCM}"/> <Source Id="2" URL="SohoGothicPro-Medium.otf"/> <Source Id="3" URL="SohoGothicPro-Regular.otf"/> <Source Id="4" URL="SohoGothicPro-Light.otf"/> <Source Id="5" URL="Logo.tif"/> <Source Id="6" URL="X_block.tif"/> </Sources> <Layout> <Page Id="0" width="${__auto_parentWidth__}"> <Objects> <!--Logo--> <Object Id="0" SourceID="5" left="0.2 cm" top="0.2 cm" height="1cm" MaintainAspectRatio="true" > </Object> <!--QR--> <Object Id="0" width="1.7cm" height="1.7cm" left="0.3cm" top="1.1cm"> <Transformations> <Code value="${SourceID@1.Colorations.Name} ${SourceID@1.Colorations.Coloration@0.Name}" type="QR"/> </Transformations> </Object> <Object Id="1" Top="2.8cm" width="1.5 cm" left="0.4 cm"> <Transformations> <Text alignment="left" fontid="4" fontsize="9" maxwidth="1cm" value="Printinfo"/> </Transformations> </Object> <!--Created--> <Object Id="13" Left="3 cm" Top="0.2 cm"> <Transformations> <Text alignment="left" fontid="3" fontsize="8" maxwidth="10 cm" value="Creator: ${UserDescription}(${UserID}), ${UserMail}"/> </Transformations> </Object> <Object Id="12" Left="14 cm" Top="0.2 cm"> <Transformations> <Text alignment="left" fontid="3" fontsize="8" maxwidth="10 cm" value="Date: ${System.Date.formater#%d/%m/%Y} - ${System.Time.formater#%H:%M:%S} "/> </Transformations> </Object> <!--Design Name--> <Object Id="1" Left="3 cm" Top="0.6 cm"> <Transformations> <Text alignment="left" fontid="2" fontsize="8" maxwidth="10 cm" value="Design: ${SourceID@1.Colorations.Name}"/> </Transformations> </Object> <Object Id="3" Left="3 cm" Top="1 cm"> <Transformations> <Text alignment="left" fontid="2" fontsize="8" maxwidth="10 cm" value="Colorway: ${SourceID@1.Colorations.Coloration@0.IData.__USR_CLR_CW_colorwayName}"/> </Transformations> </Object> <!--Requested--> <Object Id="5" Left="14 cm" Top="0.6 cm"> <Transformations> <Text alignment="left" fontid="3" fontsize="8" maxwidth="10 cm" value="Request Code: ${RequestCode}"/> </Transformations> </Object> <Object Id="7" Left="14 cm" Top="1 cm"> <Transformations> <Text alignment="left" fontid="3" fontsize="8" maxwidth="10 cm" value="Customer: ${CustomerDescription}"/> </Transformations> </Object> <!--Comments--> <Object Id="9" Left="3 cm" Top="1.6 cm"> <Transformations> <Text alignment="left" fontid="3" fontsize="8" maxwidth="18 cm" value="Comments: ${Comments}"/> </Transformations> </Object> <!-- Color samples --> <Repetition count="${sourceid@1.Colorations.Coloration@0.ColorationItem.count}" maxSize="${__auto_parentWidth__}" direction="H" height="1.4 cm" item="aColorationItem" left="3 cm" list="sourceid@1.Colorations.Coloration@0.ColorationItem" top="2.4 cm" width="2.2 cm"> <Conditional condition="${${aColorationItem}.channelNo}" equals="-2"> <Conditional condition="${${aColorationItem}.method}" equals="Disable" negate="y"> <Object Id="8" Left="0 cm" Top="0 cm"> <Transformations> <Text alignment="left" fontid="3" fontsize="7" maxwidth="0.2 cm" value="${${aColorationItem}.ChannelIndex}"/> </Transformations> </Object> <Object Id="9" left="0.4 cm" top="0.8 cm"> <Transformations> <Text alignment="left" fontID="4" fontsize="7" maxwidth="1.5 cm" value="${${aColorationItem}.IData.name}"/> </Transformations> </Object> <Object Id="10" left="0.4 cm" top="0 cm"> <Transformations> <Gradient Space="${${aColorationItem}.filtergradient.space}" UseProfile="Y" Alias="${sourceid@1.Colorations.Coloration@0.ProfileInfo.Alias}" height="0.8 cm" percentages="100" percentbase="100" width="1.5 cm">${${aColorationItem}.filtergradient.value}</Gradient> </Transformations> </Object> </Conditional> </Conditional> <Conditional condition="${${aColorationItem}.channelNo}" equals="-2" negate="y"> <Object Id="8" Left="0 cm" Top="0 cm"> <Transformations> <Text alignment="left" fontid="3" fontsize="7" maxwidth="0.2 cm" value="${${aColorationItem}.ChannelIndex}"/> </Transformations> </Object> <Conditional condition="${${aColorationItem}.method}" equals="Disable" negate="y"> <Object Id="9" left="0.4 cm" top="0.8 cm"> <Transformations> <Text alignment="left" fontID="4" fontsize="7" maxwidth="1.5 cm" value="${${aColorationItem}.IData.name}"/> </Transformations> </Object> <Object Id="10" left="0.4 cm" top="0 cm"> <Transformations> <Gradient Space="${${aColorationItem}.filtergradient.space}" UseProfile="Y" Alias="${sourceid@1.Colorations.Coloration@0.ProfileInfo.Alias}" height="0.8 cm" percentages="100" percentbase="100" width="1.5 cm">${${aColorationItem}.filtergradient.value}</Gradient> </Transformations> </Object> </Conditional> <Conditional condition="${${aColorationItem}.method}" equals="Disable" negate="n"> <Object Id = "11" SourceID = "6" left="0.4 cm" top="0 cm" MaintainAspectRatio="true"> </Object> </Conditional> </Conditional> </Repetition> </Objects> </Page> </Layout> <Output> <ResolutionX>144</ResolutionX> <ResolutionY>144</ResolutionY> <ResolutionUnits>dpi</ResolutionUnits> <Space>LAB</Space> </Output> </Job>