Files
PyRIGS/z3c/rml/tests/input/rml-examples-006-barcodes.rml
2014-12-07 17:32:25 +00:00

56 lines
1.6 KiB
Plaintext

<!DOCTYPE document SYSTEM "rml_1_0.dtd">
<document filename="test_006_barcodes.pdf">
<template pagesize="(595, 842)" leftMargin="72" showBoundary="1">
<pageTemplate id="main">
<frame id="first" x1="1in" y1="1in" width="6.27in" height="9.69in"/>
</pageTemplate>
</template>
<stylesheet>
<initialize>
<alias id="style.normal" value="style.Normal"/>
</initialize>
<paraStyle name="normal" fontName="Helvetica" fontSize="10" leading="12" spaceAfter="10"/>
<blockTableStyle id="temp001">
<blockAlignment value="left"/>
<blockFont name="Helvetica-Oblique"/>
<lineStyle kind="GRID" colorName="black"/>
<lineStyle kind="OUTLINE" colorName="black" thickness="2"/>
</blockTableStyle>
</stylesheet>
<story>
<para style="normal">
Various Barcodes as drawing ops. Original code contributed by Ty Sarnas.
</para>
<para style="normal">
Code11
</para>
<illustration width="10cm" height="1cm">
<barCode x="1cm" y="0" code="Code11">01234545634563</barCode>
</illustration>
<spacer length="1cm"/>
<para style="normal">Code128</para>
<illustration width="10cm" height="1cm">
<barCode x="1cm" y="0" code="Code128">AB-12345678</barCode>
</illustration>
<spacer length="1cm"/>
<para style="normal">Code128 With settings</para>
<illustration width="10cm" height="1cm">
<barCode x="1cm" y="0" code="Code128" barHeight="0.5in" barWidth="0.009in">AB-12345678</barCode>
</illustration>
<blockTable style="temp001">
<tr><td>barChartFlowable</td>
<td><barCodeFlowable code="Standard39" value="PFWZF" barWidth="0.01in" quiet="no"/></td>
</tr>
</blockTable>
</story>
</document>