[ESC+WU] Expanded Calendar Print
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| WU | <57>16<55>16 |
Parameter
a
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 becomes invalid. |
| Valid range between items | The set parameter becomes invalid. |
Function
Specifying the print of calendar.
Format
<WU>a
-
Parameter
a [Specification of print contents]
= YYYY (Year) Valid range: 2000-2035
= YY (year) Valid range: 00-35
= Y (year) Valid range: 0-3
= MMM (Abbreviation of month) Valid range: Jan-Dec
= MM (Month) Valid range: 01-12
= M (Month) Valid range: A-L
= DDDDDDDDD (Day) Valid range: SUNDAY-SATURDAY
= DDD (Abbreviation of day) Valid range: SUN-SAT
= DD (Date) Valid range: 01-31
= D (one character day code) Valid range: 1-9, A-V
= HH (Hour) Valid range: 00-11
= GG (Hour) Valid range: 01-12
= hh (Hour) Valid range: 00-23
= mm (Minute) Valid range: 00-59
= ss (Second) Valid range: 00-59
= TT (Morning/Afternoon) Valid range: AM/PM
= JJJ (Julian Date) Valid range: 001-366
= WW (Week) Valid range: 00-52
= ww (Week) Valid range: 01-53
= QQ (Time) Valid range: 01-96 (1 = 15 minutes: 96 = 24 hours)
Control code >Z...>Z
-
Parameter (S84NX/S86NX Only)
a [Print contents]
= YYYY (Year) Valid range: 2000-2035
= YY (year) Valid range: 00-35
= Y (year) Valid range: 0-9
= MMM (Abbreviation of month) Valid range: Jan-Dec
= MM (Month) Valid range: 01-12
= M (Month) Valid range: A-Z,a-z
= DDDDDDDDD (Day) Valid range: Sunday-Saturday
= DDD (Abbreviation of day) Valid range: Sun-Sat
= DD (Date) Valid range: 01-31
= D (one character day code) Valid range: 0-9, A-Z, a-z
= HH (Hour) Valid range: 00-11
= GG (Hour) Valid range: 01-12
= hh (Hour) Valid range: 00-23
= mm (Minute) Valid range: 00-59
= ss (Second) Valid range: 00-59
= TT (Morning/Afternoon) Valid range: AM/PM
= JJJ (Julian Date) Valid range: 001-366
= WW (Week) Valid range: 00-52
= ww (Week) Valid range: 01-53
= QQ (Time) Valid range: 01-96 (1 = 15 minutes: 96 = 24 hours)
= C (Shift code) Valid range: 1-3
= Control code >Z...>Z
Coding Example 1
Print the date of 3 months later from the current date.
<A>
<WP>M03
<V>100<H>200
<OB><WU>>ZDD/MM/YY hh:mm>Z
<Q>2
<Z>
Coding Example 2
Print "DATE" and the current date.
<A>
<V>100<H>200
<OB><WU>DATE:>ZDD/MM/YY hh:mm>Z
<Q>2
<Z>
Supplementary Explanation
- Calendar IC is necessary for this command. It will be Calendar error when using this command without a calendar IC. (FX3-LX and S84NX/S86NX are already supported)
- This command must be specified at the top of the text data part or the barcode data part.
- The printing is in real time when more than 2 QTY is specified.
- Up to 6 section of calendar print data can be specified in 1 form.
- The maximum calendar print data is 16 characters.
- WW (Week) of the parameter a is when the starting week is counted as 0, and ww (Week) is when the starting week is counted as 1. (Refer to [ESC+WA] Calendar Print for the WW/ww command week examples)
- Specify the font type for calendar printing of the font command (refer to the available command below) before this command.
- Do not use font type command <OA> and <OB> when printing MMM, M, DDDDDDDDD, DDD, and D of the parameter a. The lower case of the alphabet is not available with those fonts.
- Use the control command >Z in a pair at before and after the parameter. When it is not used in a pair, it will be recognized as text when specified the font command and it will be a command error when specified the barcode command.
- When there is return or line feed (<0D>16, <0A>16) in between >Z...>Z, it is not recognized as a pair.
- When printing >Z, put >JZ instead of >Z.
- When calendar is used as a parameter for barcode, according to the specifications of barcode. For example, it is not possible to specify other than numeric data with GS1-128 (UCC/EAN128), therefore MMM cannot be specified as the parameter a.
- Refer to [ESC+WA] Calendar Print for QQ (Time) of the
parameter a.
WW/ww command example
Ex.1) January in 2008, The year of Jan 1 begins with Mon, Tue, Wed, and Thu.
M T W T F S S WW ww 31 1 2 3 4 5 6 wk0 wk1 7 8 9 10 11 12 13 wk1 wk2 14 15 16 17 18 19 20 wk2 wk3 21 22 23 24 25 26 27 wk3 wk4 28 29 30 31 1 2 3 wk4 wk5 - 2007/12/31: WW (week) prints week 0. (ww (week) prints week 1.)
- 2008/01/25: WW (week) prints week 3. (ww (week) prints week 4.)
- 2008/01/28: WW (week) prints week 4. (ww (week) prints week 5.)
- 2008/02/03: WW (week) prints week 4. (ww (week) prints week 5.)
Ex.2) January in 2010, the year of Jan 1 begins with Fri, Sat, and Sun.
M T W T F S S WW ww 28 29 30 31 1 2 3 wk52 wk53 4 5 6 7 8 9 10 wk0 wk1 11 12 13 14 15 16 17 wk1 wk2 18 19 20 21 22 23 24 wk2 wk3 25 26 27 28 29 30 31 wk3 wk4 - 2010/1/1: WW (week) prints week 52. (ww (week) prints week 53.)
- 2010/1/4: WW (week) prints week 0. (ww (week) prints week1.)
Note: The yeas Jan 1 begins with Fri, Sat and Sun, the second week of January is set as week 0 (ww (week): week1).
- Correct calendar is not printed in following condition.
The time data will be edited firstly when the host cannot send whole print data of one item to the printer (e.g. printer's buffer is full) and also received data included the calendar print command. The printer will print the calendar when receiving one item data after taking a long time and completing editing all data, and the printed calendar is not the time of printing but the time of editing time data.
Supplementary explanation per model: S84NX/S86NX
- Printing of MMM (Abbreviation of month)
Print output differs depending on the case format setting.
Month Case format: Mixed Case format: Upper January Jan JAN February Feb FEB March Mar MAR April Apr APR May May MAY June Jun JUN July Jul JUL August Aug AUG September Sep SEP October Oct OCT November Nov NOV December Dec DEC - Printing of DDDDDDDDD (Day), DDD (Abbreviation of month)
Print output differs depending on the case format setting.
Day Case format: Mixed
DDDDDDDDDCase format: Mixed
DDDCase format: Upper
DDDDDDDDDCase format: Upper
DDDSunday Sunday Sun SUNDAY SUN Monday Monday Mon MONDAY MON Tuesday Tuesday Tue TUESDAY TUE Wednesday Wednesday Wed WEDNESDAY WED Thursday Thursday Thu THURSDAY THU Friday Friday Fri FRIDAY FRI Saturday Saturday Sat SATURDAY SAT - Do not use font type command <OA> and <OB> when printing MMM, M, DDDDDDDDD, DDD, and D of the parameter a. The lower case of the alphabet is not available with those fonts.
- When using the parameters MMM, M, DDDDDDDDD, DDD, D for barcode data, lowercase letters are replaced with uppercase letters. (Barcode type CODE39, CODE93)
- The parameter DDDDDDDDD (Day) adds spaces until it reaches 9 characters.
- Parameters C and D can be used for barcodes. However, for numeric-only barcodes, parameter D requires that all days of the week be set to numbers.
- The printed date is updated by the system calendar at the start of printing. When combined with the <WT> command, the print result may differ depending on the system calendar update status at the start of printing.
Valid command
Print position
<V>
<H>
Modification
<P>
<L>
<%>
<R>
Font
<XU>
<XS>
<XM>
<XB>
<XL>
<OA>
<OB>
<U>
<S>
<M>
<WB>
<WL>
<X20>
<X21>
<X22>
<X23>
<X24>
Barcode
<B>
<BC>
<BG>
<BI>
<D>
<D><d>
<BD>
<BW>
<BL>
<BL><d>
<BM>
2D code
<2D50>
<2D51>