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. 178 Copyright 2009 All Rights Reserved.
WEEK
Description
This variable reads/writes the day of the week data via the Real Time Clock (RTC), which is
represented by one single digit (1~7).
Syntax
Write attribute: WEEK = 3
Read attribute: A = WEEK
Range: 1(Sunday)~7(Saturday)
Example
DOWNLOAD "SetWeek.BAS"
REM *****Set Week Parameter to RTC*****
WEEK=6
EOP
SetWeek
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 Week parameter form RTC*****
WEEK$=STR$(WEEK)
W=WEEK
REM *****Print*****
TEXT 10,10,"5",0,1,1,"WEEK1="+WEEK$
TEXT 10,110,"5",0,1,1,"WEEK2="+STR$(W)
TEXT 10,210,"5",0,1,1,"WEEK3="+STR$(WEEK)
PRINT 1
EOP
DEMO
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND

Table of Contents

Related product manuals