The data specified inside the Create Document command must follow a structure.

For a document creation it is needed create some layout containing the entities to be engraved.

The layout contains all the entities related to the layout.



Sample:


This sample containing 2 layouts: "front" and "rear".

The front contains 1 barcode 2 images and 7 strings.

The rear contains 1 image and 5 strings.



<layout Name="front" Rotation="0" XOffset="0" YOffset="0">

       <entity Type="Barcode" Name="Number" Width="25" Height="20" Format="3 of 9" XPos="-10" YPos="-10" Pen="3" Code="123987456" Rotation="0" Font="Arial"                 MarkContour="false" MarkHatch="true" CharSize="3" HatchBeam="-0,02" LineReduction="0" WideToNarrow="3" Invert="0" EnableText="1" />

       <entity Type="Text" Name="Surname" Hatchdist="0,07" Text="WOLF" Pen="1" XPos="-9" HatchStyle="1" YPos="8" Font="Arial" CharSize="3,5"/>

       <entity Type="Text" Name="GivenName" Hatchdist="0,07" Text="ELISE" Pen="1" XPos="-9" HatchStyle="1" YPos="0,5" Font="Arial" CharSize="3,5"/>

       <entity Type="Text" Name="SEX" Hatchdist="0,07" Text="F" Pen="1" XPos="-9" HatchStyle="1" YPos="-7,5" Font="Arial" CharSize="3,5"/>

       <entity Type="Text" Name="NAT" Hatchdist="0,07" Text="ITA" Pen="1" XPos="-4" HatchStyle="1" YPos="-7,5" Font="Arial" CharSize="3,5"/>

       <entity Type="Text" Name="DOB" Hatchdist="0,07" Text="14/07/13" Pen="1" XPos="13,5" HatchStyle="2" YPos="-7,5" Font="Arial" CharSize="3,5"/>

       <entity Type="Text" Name="NUMBER" Hatchdist="0,07" Text="22459841" Pen="1" XPos="-4" HatchStyle="1" YPos="-14" Font="Arial" CharSize="2,5"/>

       <entity Type="Text" Name="DOE" Hatchdist="0,07" Text="24/11/11" Pen="1" XPos="-4" HatchStyle="1" YPos="-21" Font="Arial" CharSize="3,5"/>

       <entity Type="Image" Name="Img1" Image="[CODE64]" Pen="2" XPos="-33" YPos="-5"/>

       <entity Type="Image" Name="Img2" Image="[CODE64]" Pen="2" XPos="12" YPos="-20"/>

</layout>

<layout Name="rear" Rotation="0" XOffset="0" YOffset="0">

       <entity Type="Text" Name="PERNO" Hatchdist="0,07" Text="28167" Pen="1" XPos="-19" HatchStyle="1" YPos="12" Font="Arial" CharSize="3"/>

       <entity Type="Text" Name="POB" Hatchdist="0,07" Text="BERLIN" Pen="1" XPos="-19" HatchStyle="1" YPos="6,5" Font="Arial" CharSize="3"/>

       <entity Type="Text" Name="DOI" Hatchdist="0,07" Text="11/08/11" Pen="1" XPos="-19" HatchStyle="1" YPos="1,5" Font="Arial" CharSize="3"/>

       <entity Type="Text" Name="ISSUE" Hatchdist="0,07" Text="IXLA" Pen="1" XPos="-19" HatchStyle="1" YPos="-3,5" Font="Arial" CharSize="3"/>

       <entity Type="Text" Name="HEIGHT" Hatchdist="0,07" Text="175" Pen="1" XPos="-4" HatchStyle="1" YPos="12" Font="Arial" CharSize="3"/>

       <entity Type="Image" Name="Img3" Image="[CODE64]" Pen="2" XPos="-23" YPos="-24" Dither="0,05" ScanDir="Y" Mode="BW" Bidirectional="true" Intensity="0,95" Brightness="0,05" />

</layout>