Intermec PF4i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 51
Input Data from the Printer's Clock/Calendar, PRTXT, PRBOX, PRBAR, PT DATE, FORMAT, FORMAT TIME
View all Intermec PF4i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 51 highlights
Chapter 3-Label Design Input Data from the Printer's Clock/Calendar The printer's clock/calendar can be used to provide input data to text and bar code fields by including any of the following instructions in the PRTXT, PRBOX, or PRBAR instructions: DATE$ Returns the current date according to the printer's calendar in the standard format YYMMDD, where YY is the last two digits of the year, MM is the number of the month (01-12), and DD is the number of the day (01-31). Example: PT DATE$ ↵ DATE$ ("F") Returns the current date according to the printer's calendar in the format specified by FORMAT DATE$, see Chapter 5.4. Example: PT DATE$("F") TIME$ Returns the current time according to the printer's clock in the standard time format HHMMSS, where HH is the hour (00-24), MM is the minute (00-59) and SS is the second (00-59). Example: PT TIME$ ↵ TIME$ ("F") Returns the current time according to the printer's clock in the format specified by FORMAT TIME$, see Chapter 5.4. Example: PT TIME$("F") ↵ WEEKDAY$ ("") Returns the name of the weekday in plain text according to NAME WEEKDAY$ (see Chapter 5.4) from a given date or the current date. can be specified in the standard format "YYMMDD" or by a DATE$ instruction. Examples: PT WEEKDAY$("031201") ↵ PT WEEKDAY$(DATE$) ↵ Intermec Direct Protocol v.8.60-Programmer's Reference Manual 43