[ESC+WP] Calendar Arithmetic (Add)
CL4NX
CL6NX
CL4NX-J
CL6NX-J
PW208/PW208m
PW208NX/PW208mNX
FX3-LX
CT4-LX/HC4-LX
PW4NX
LR4NX-FA
S84NX/S86NX
CL4-SXR
CL6-SXR
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| WP | <57>16<50>16 |
Parameter
abbb
Initial value
Nil
Valid range and term of command
| When the power switch is OFF | The set parameter is maintained. |
| Valid range within items | The set parameter is valid until the next valid setting. |
| Valid range between items | The set parameter becomes invalid. |
Function
Specifying addition of calendar date.
Format
<WP>abbb
-
Parameter
a [Specification of Year-Month-Day]
= Y: Year
= M: Month
= D: Day
= h: Time
= W: Week
b [Specification of additional value for Y-M-D-h]
= Valid Range of Y: 0 to 9
= Valid Range of M: 00 to 99
= Valid Range of D: 000 to 999
= Valid Range of h: 000 to 999
= Valid Range of W: 00 to 99
Coding Example
Specifying and printing out the date that is three months from today.
<A>
<WP>M03
<V>100<H>200
<OB><WA>DD/MM/YY
<Q>2
<Z>
Supplementary Explanation
- This command requires optional calendar IC and it is no usable without IC. (FX3-LX and S84NX/S86NX are already supported)
- This command adds specified value to specified data (Year, Month, Day, Hour and Week). It can specify the date three months from current date.
- When there are more than one <WP> in one item, the last one is available.
Supplementary Explanation (S86NX/S86NX Only)
- Only CODE128 (ESC+BG) can be added in the barcode data.
- The added value in CODE128 does not affect outside the barcode.
- Specify the command parameter b in CODE128 as a 3-digit number.
- Character strings containing "| WP" cannot be used as CODE128 data. (* '|' Is the character code (7C))
Coding Example (S86NX/S86NX Only)
Print the current date and time and expiration date in the barcode.
Barcode data (01)04912345678911 (11)210315 (15)220109 (10)HHI1026
<A>
<V>100<H>200
<BG>02080>I>F0104912345678911<WU>>Z11YYMMDD>Z<WP>D300<WU>>Z15YYMMDD>Z10>DHHI1026
<Q>2
<Z>