EasyManua.ls Logo

TSC TTP-343C series

TSC TTP-343C series
206 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
Loading...
TSC AUTO ID Technology Co., Ltd. 175 Copyright 2009 All Rights Reserved.
YEAR
Description
This variable reads/writes the year data via the Real Time Clock (RTC). Four-digit year
formats are supported by RTC.
Syntax
Write attribute: YEAR = 02
Read attribute: A = YEAR
Range: 00~50 = 2000~2050; 51~99 = 1951~1999
Example
DOWNLOAD "SetYear.BAS"
REM *****Set Year Parameter to RTC*****
YEAR=05
EOP
SetYear
DOWNLOAD "DEMO.BAS"
SIZE 3,3
GAP 0.08,0
DENSITY 8
SPEED 4
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
REM *****Read YEAR parameter form RTC*****
YEAR$=STR$(YEAR)
Y=YEAR
REM *****Print*****
TEXT 10,10,"5",0,1,1,"YEAR1="+YEAR$
TEXT 10,110,"5",0,1,1,"YEAR2="+STR$(Y)
TEXT 10,210,"5",0,1,1,"YEAR3="+STR$(YEAR)
PRINT 1
EOP
DEMO
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND

Table of Contents

Related product manuals