EasyManuals Logo

TSC M23 Programming Manual

TSC M23
252 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #182 background imageLoading...
Page #182 background image
TSC AUTO ID Technology Co., Ltd. 170 Copyright 2013 All Rights Reserved.
A/P
Display an uppercase A with any hour before noon; display an uppercase P with
any hour between noon and 11:59 P.M.
a/p
Display a lowercase A with any hour before noon; display a lowercase P with
any hour between noon and 11:59 P.M.
AMPM
AMPM can be either uppercase or lowercase, but the case of the string
displayed matches the string as defined by your system settings.
\
Display the next character in the format string.
"string"
Display the string inside the double quotation marks.
Note:
This command has been supported since V6.81 EZ and later firmware.
Example
Sample Code
SIZE 800 dot,1900 dot
GAP 0,0
DIRECTION 1
CLS
TEXT 10,10,"3",0,1,1,"General Date:"+FORMAT$(NOW$(),"General Date")
TEXT 10,60,"3",0,1,1,"Long Date:"+FORMAT$(NOW$(),"Long Date")
TEXT 10,110,"3",0,1,1,"Medium Date:"+FORMAT$(NOW$(),"Medium Date")
TEXT 10,160,"3",0,1,1,"Short Date:"+FORMAT$(NOW$(),"Short Date")
TEXT 10,210,"3",0,1,1,"Long Time:"+FORMAT$(NOW$(),"Long Time")
TEXT 10,260,"3",0,1,1,"Medium Time:"+FORMAT$(NOW$(),"Medium Time")
TEXT 10,310,"3",0,1,1,"Short Time:"+FORMAT$(NOW$(),"Short Time")
TEXT 10,360,"3",0,1,1,"c:"+FORMAT$(NOW$(),"c")
TEXT 10,410,"3",0,1,1,"d:"+FORMAT$(NOW$(),"d")
TEXT 10,460,"3",0,1,1,"dd:"+FORMAT$(NOW$(),"dd")
TEXT 10,510,"3",0,1,1,"ddd:"+FORMAT$(NOW$(),"ddd")
TEXT 10,560,"3",0,1,1,"dddd:"+FORMAT$(NOW$(),"dddd")
TEXT 10,610,"3",0,1,1,"ddddd:"+FORMAT$(NOW$(),"ddddd")
TEXT 10,660,"3",0,1,1,"dddddd:"+FORMAT$(NOW$(),"dddddd")
TEXT 10,710,"3",0,1,1,"w:"+FORMAT$(NOW$(),"w")
TEXT 10,760,"3",0,1,1,"ww:"+FORMAT$(NOW$(),"ww")
TEXT 10,810,"3",0,1,1,"m:"+FORMAT$(NOW$(),"m")
TEXT 10,860,"3",0,1,1,"mm:"+FORMAT$(NOW$(),"mm")
TEXT 10,910,"3",0,1,1,"mmm:"+FORMAT$(NOW$(),"mmm")
TEXT 10,960,"3",0,1,1,"mmmm:"+FORMAT$(NOW$(),"mmmm")
TEXT 10,1010,"3",0,1,1,"q:"+FORMAT$(NOW$(),"q")
TEXT 10,1060,"3",0,1,1,"y:"+FORMAT$(NOW$(),"y")
TEXT 10,1110,"3",0,1,1,"yy:"+FORMAT$(NOW$(),"yy")
TEXT 10,1160,"3",0,1,1,"yyyy:"+FORMAT$(NOW$(),"yyyy")
TEXT 10,1210,"3",0,1,1,"h:"+FORMAT$(NOW$(),"h")
TEXT 10,1260,"3",0,1,1,"hh:"+FORMAT$(NOW$(),"hh")
TEXT 10,1310,"3",0,1,1,"n:"+FORMAT$(NOW$(),"n")
TEXT 10,1360,"3",0,1,1,"nn:"+FORMAT$(NOW$(),"nn")
TEXT 10,1410,"3",0,1,1,"s:"+FORMAT$(NOW$(),"s")
TEXT 10,1460,"3",0,1,1,"ss:"+FORMAT$(NOW$(),"ss")
TEXT 10,1510,"3",0,1,1,"ttttt:"+FORMAT$(NOW$(),"ttttt")
TEXT 10,1560,"3",0,1,1,"AM/PM:"+FORMAT$(NOW$(),"AM/PM")
TEXT 10,1610,"3",0,1,1,"am/pm:"+FORMAT$(NOW$(),"am/pm")
TEXT 10,1660,"3",0,1,1,"A/P:"+FORMAT$(NOW$(),"A/P")
TEXT 10,1710,"3",0,1,1,"a/p:"+FORMAT$(NOW$(),"a/p")
TEXT 10,1760,"3",0,1,1,"AMPM:"+FORMAT$(NOW$(),"AMPM")
TEXT 10,1810,"3",0,1,1,"\:"+FORMAT$(NOW$(),"To\da\y i\s ddddd")
TEXT 10,1860,"3",0,1,1,"string:"+FORMAT$(NOW$(),"To\da\y i\s ddddd")
PRINT 1
Result

Table of Contents

Other manuals for TSC M23

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC M23 and is the answer not in the manual?

TSC M23 Specifications

General IconGeneral
BrandTSC
ModelM23
CategoryPrinter
LanguageEnglish

Related product manuals