applications/product/webapp/facility/shipment/ShipmentBarCode.fo.ftl
<#--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<#escape x as x?xml>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" margin-right="0.25in">
<fo:region-body margin-top="0in"/>
<fo:region-before extent="0in"/>
<fo:region-after extent="0in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="main">
<fo:flow flow-name="xsl-region-body" font-family="Helvetica">
<fo:block text-align="center">
<fo:instream-foreign-object>
<barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
message="${shipmentId}">
<barcode:code39>
<barcode:height>3in</barcode:height>
<barcode:module-width>1.5mm</barcode:module-width>
</barcode:code39>
<barcode:human-readable>
<barcode:placement>bottom</barcode:placement>
<barcode:font-name>Helvetica</barcode:font-name>
<barcode:font-size>18pt</barcode:font-size>
<barcode:display-start-stop>false</barcode:display-start-stop>
<barcode:display-checksum>false</barcode:display-checksum>
</barcode:human-readable>
</barcode:barcode>
</fo:instream-foreign-object>
</fo:block>
<fo:block><fo:leader/></fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</#escape>