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. 176 Copyright 2009 All Rights Reserved.
MONTH
Description
This variable reads/writes the month data via the Real Time Clock (RTC). Two-digit (01~12)
month formats are supported by RTC.
Syntax
Write attribute: MONTH = 01
Read attribute: A = MONTH
Range: 01~12
Example
DOWNLOAD "SetMonth.BAS"
REM *****Set Month Parameter to RTC*****
MONTH=05
EOP
SetMonth
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 Month parameter form RTC*****
MONTH$=STR$(MONTH)
M=MONTH
REM *****Print*****
TEXT 10,10,"5",0,1,1,"MONTH1="+MONTH$
TEXT 10,110,"5",0,1,1,"MONTH2="+STR$(M)
TEXT 10,210,"5",0,1,1,"MONTH3="+STR$(MONTH)
PRINT 1
EOP
DEMO
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND

Table of Contents

Related product manuals