32UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1Chapter 4 Label Design8. LayoutCommandsStart Layout RecorderThe LAYOUT INPUT command clears the printer's working memory,starts the layout recorder and allows you to assign a name to thelayout.LAYOUT INPUT "" up to 30 characters enclosed by double quo-tation marks.Example:LAYOUT INPUT "Shipping Label" ↵Assign Input Variables to FieldsThe layout may consist of both fixed fields and fields for variableinformation. In the layout, you must give a reference to each text,bar code or image field intended to receive variable data, so that theinput data can be inserted into the correct field. The variableVAR$ is used to indicate variable input, where specifiesthe number of the field. The first variable input data block will beentered into the field containing VAR1$, the second block withVAR2$, etc. Fixed data and variable data can be combined in thesame field. See also chapter 4.9.VAR$ the number of the field. There is no practicallimit to the number of fields.Examples:PT VAR1$ ↵ (text field with variable input)PT "Price: ";VAR2$ ↵ (text field with fixed & variable input)PB VAR3$ ↵ (bar code field with variable input)PM VAR4$ ↵ (image field with variable input)Save the LayoutAfter completing the layout, save it in the printer's RAM memory,turn off the layout recorder and clear the printer's working memoryby means of a LAYOUT END command. The layout can then becopied or killed like any other file, see chapter 3.1.LAYOUT ENDExample:LAYOUT END ↵