User`s guide

STANDARD PRINTER COMMANDS
84 Copyright © 2006, Cognitive.
example, 05/21/98)
%X Time (hh:mm:ss; for example, 21:45:30)
%y Two-digit year without century (00 to
99)
%Y Year with century
You can use multiple formatting characters and mix
printable characters with the formatting characters,
to present the time or date in unusual ways.
See also
DELIMIT
Example 1 The following example will set the printer's clock to
June 17, 2001, 3:30:00 PM:
! 0 0 0 0
TIME SET 2001 06 17 15 30 00
END
Example 2 The following label format will read the current time
from the clock, placing the value in the variable
TIME. It will then print a label showing that time,
add 4 days, 6 hours, and 17 minutes to it, and print
the result:
! 0 100 500 1
DELIMIT ~
TIME GET
TEXT 2 20 50 The current date and time are
~TIME %c~
TIME ADD 0000 00 04 06 17 00
TEXT 2 20 100 In 4 days, 6 hours, 17 minutes it
will be ~TIME %c~
END