Intermec PX6i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 48
Input Data to Single- and Multi-Line Text Fields, PT Expiry date: ;DATEADD$ 30, F
View all Intermec PX6i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 48 highlights
Chapter 3-Label Design ..... Input data must not be enclosed by quotation marks. Example: Abcdefg 123456789 Note: If a label has been printed using a predefined layout and you want to return to the method of printing labels using layout and printable data in one sequence, the predefined layout must first be cleared from the printer's working memory using the instruction: LAYOUT RUN "" Input Data to Single- and Multi-Line Text Fields The input data to a text field is given by means of a PRTXT or PRBOX instruction. You can add various types of data to a text field: • Plain text, by typing for example "Abcdefgh" or "012345" • Variable input data using variables, for example VAR1$ • Counter values, for example CNT1$ • Current date, using DATE$ or DATE$ ("F") • Current time, using TIME$ or TIME$ ("F") • The weekday of the current or specified date, using WEEKDAY$ • The number of the current or specified date, using WEEKNUMBER • A future date, using DATEADD$ or DATEADD$ ("F") • A future time, using TIMEADD$ or TIMEADD$ ("F") PRTXT is used for single line text fields. You can combine different types of data in a single PRTXT instruction. The different parts are placed adjacently by means of separating semicolons (;). Note that plain text must be enclosed by quotation marks. PRTXT | PT ""[;""...] Examples: PT "Price: $1.99" ↵ PT "Price: ";VAR1$;" per dozen" ↵ PT "Box No. ";CNT15$;" Packed: ";DATE$ ("F") ↵ PT WEEKDAY$(DATE$);", ";DATE$("F") ↵ PT "Week Number ";WEEKNUMBER(DATE$) ↵ PT "Expiry date: ";DATEADD$ (30,"F") ↵ 40 Intermec Direct Protocol v.8.60-Programmer's Reference Manual