Intermec PX6i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 64
Format Time$ Hh.mm.ss P, Format Date$ Yyyy.mm.dd
View all Intermec PX6i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 64 highlights
Chapter 5-Setting Up the Printer In both these instructions, you should enter a string of characters representing the various types of information. The order and number of the characters decides the format. You can also include separating characters like periods, slashes, colons, etc. Note that the input string must be enclosed by quotation marks. FORMAT DATE$ "" Y = Year, M = Month, D = Day (Default: YYMMDD) Examples: FORMAT DATE$ "YYYY.MM.DD" ↵ PT DATE$("F") : PF ↵ 2004.06.01 FORMAT DATE$ "DD/MM/YY" ↵ PT DATE$("F") : PF ↵ 01/06/04 yields for example yields for example FORMAT TIME$ "" H = Hour in 24-hour cycle (one digit per H; right-justified) h = Hour in 12-hour cycle (one digit per h; right-justified) M = Minute (one digit per M; right-justified) S = Second (one digit per S; right-justified) P = AM/PM (uppercase) in 12-hour cycle (one character per P; left-justified) p = am/pm (lowercase) in 12-hour cycle (one character per p; left-justified) Default: HHMMSS Examples: FORMAT TIME$ "HH:MM:SS" ↵ PT TIME$("F") : PF ↵ 14:15:37 FORMAT TIME$ "hh.MM.SS p" ↵ PT TIME$("F") : PF ↵ 02.15.37 p FORMAT TIME$ "hh.MM PP" ↵ PT TIME$("F") : PF ↵ 02.15 PM yields for example yields for example yields for example In many cases, it is desired to have the names of months and weekdays printed in plain text rather than as a number. There are two instructions that allow you to assign names in any language to months and weekdays: NAME DATE$,"" is 1-12. is the desired name enclosed with quotation marks. 56 Intermec Direct Protocol v.8.60-Programmer's Reference Manual