[ESC+WA] Calendar Print

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
WA <57>16<41>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

<WA>Parameter

  • Parameter

    a [Specification of print contents]

    = YYYY (Year) Valid Range: 2000 to 2035

    = YY (Year) Valid Range: 00 to 35

    = MM (Month) Valid Range: 01 to 12

    = DD (Day) Valid Range: 01 to 31

    = HH (Hour) Valid Range: 00 to 11

    = hh (Hour) Valid Range: 00 to 23

    = mm (Minutes) Valid Range: 00 to 59

    = ss (Second) Valid Range: 00 to 59

    = TT (AM/PM) Valid Range: AM/PM

    = JJJ (Julian date) Valid Range: 001 to 366

    = WW (Week) Valid Range: 00 to 53

    = ww (Week) Valid Range: 01 to 54

  • Parameter (S86NX/S86NX Only)

    a [Print contents]

    = YYYY (Year) Valid range: 2000 to 2035

    = YY (Year) Valid range: 00 to 35

    = Y (Year) Valid range: 0 to 9

    = MMM (Abbreviation of month) Valid range: Jan-Dec

    = MM (Month) Valid range: 01 to 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 to 31

    = D (One character day code) Valid range: 0-9, A-Z, a-z

    = HH (Hour) Valid range: 00 to 11

    = GG (Hour) Valid range: 01 to 12

    = hh (Hour) Valid range: 00 to 23

    = mm (Minutes) Valid range: 00 to 59

    = ss (Second) Valid range: 00 to 59

    = TT (Morning/Afternoon) Valid range: AM/PM

    = JJJ (Julian Date) Valid range: 001 to 366

    = WW (Week) Valid range: 00 to 52

    = ww (Week) Valid range: 01 to 53

    = QQ (Hours/Minutes) Valid range: 01 to 96 (1 = 15 minutes: 96 = 24 hours)

    = C (Shift code) Valid range: 1 to 3

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/Yyhh:mm
<Q>2
<Z>
     

Supplementary Explanation

  1. This command requires optional calendar IC and it is no usable without IC. (FX3-LX and S84NX/S86NX are already supported)
  2. When specifying QTY>2, real-time printing will be performed per label.
  3. This command specification is available up to 6 locations within one form.
  4. Up to 16 characters are available for calendar print data.
  5. In the [Parameter] above, count the initiation of WW (Week) as [0], and ww (Week) as 1.

    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).

  6. Specify the font type for calendar printing by font command (refer to the available command below) before this command.
  7. When used in conjunction with character pitch specification, please specify it immediately before this command.
    
    <A>
    <WP>M03
    <V>100<H>200
    <OB><P>10<WA>DD/MM/YYYY
    <Q>2
    <Z>
              
  8. 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

  1. The table below is the time when [QQ(Time)] parameter is set.
    00:00 - 00:14 01 06:00 - 06:14 25 12:00 - 12:14 49 18:00 - 18:14 73
    00:15 - 00:29 02 06:15 - 06:29 26 12:15 - 12:29 50 18:15 - 18:29 74
    00:30 - 00:44 03 06:30 - 06:44 27 12:30 - 12:44 51 18:30 - 18:44 75
    00:45 - 00:59 04 06:45 - 06:59 28 12:45 - 12:59 52 18:45 - 18:59 76
    01:00 - 01:14 05 07:00 - 07:14 29 13:00 - 13:14 53 19:00 - 19:14 77
    01:15 - 01:29 06 07:15 - 07:29 30 13:15 - 13:29 54 19:15 - 19:29 78
    01:30 - 01:44 07 07:30 - 07:44 31 13:30 - 13:44 55 19:30 - 19:44 79
    01:45 - 01:59 08 07:45 - 07:59 32 13:45 - 13:59 56 19:45 - 19:59 80
    02:00 - 02:14 09 08:00 - 08:14 33 14:00 - 14:14 57 20:00 - 20:14 81
    02:15 - 02:29 10 08:15 - 08:29 34 14:15 - 14:29 58 20:15 - 20:29 82
    02:30 - 02:44 11 08:30 - 08:44 35 14:30 - 14:44 59 20:30 - 20:44 83
    02:45 - 02:59 12 08:45 - 08:59 36 14:45 - 14:59 60 20:45 - 20:59 84
    03:00 - 03:14 13 09:00 - 09:14 37 15:00 - 15:14 61 21:00 - 21:14 85
    03:15 - 03:29 14 09:15 - 09:29 38 15:15 - 15:29 62 21:15 - 21:29 86
    03:30 - 03:44 15 09:30 - 09:44 39 15:30 - 15:44 63 21:30 - 21:44 87
    03:45 - 03:59 16 09:45 - 09:59 40 15:45 - 15:59 64 21:45 - 21:59 88
    04:00 - 04:14 17 10:00 - 10:14 41 16:00 - 16:14 65 22:00 - 22:14 89
    04:15 - 04:29 18 10:15 - 10:29 42 16:15 - 16:29 66 22:15 - 22:29 90
    04:30 - 04:44 19 10:30 - 10:44 43 16:30 - 16:44 67 22:30 - 22:44 91
    04:45 - 04:59 20 10:45 - 10:59 44 16:45 - 16:59 68 22:45 - 22:59 92
    05:00 - 05:14 21 11:00 - 11:14 45 17:00 - 17:14 69 23:00 - 23:14 93
    05:15 - 05:29 22 11:15 - 11:29 46 17:15 - 17:29 70 23:15 - 23:29 94
    05:30 - 05:44 23 11:30 - 11:44 47 17:30 - 17:44 71 23:30 - 23:44 95
    05:45 - 05:59 24 11:45 - 11:59 48 17:45 - 17:59 72 23:45 - 23:59 96
  2. Print output differs depending on the case format setting.
    Month Case format setting:
    Mixed
    Case format setting:
    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
  3. Printing of DDDDDDDDD (Day), DDD (Abbreviation of month)

    Print output differs depending on the case format setting.

    Day Case format: Mixed
    DDDDDDDDD
    Case format: Mixed
    DDD
    Case format: Upper
    DDDDDDDDD
    Case format: Upper
    DDD
    Sunday 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
  4. 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.
  5. The parameter DDDDDDDDD (Day) adds spaces until it reaches 9 characters.
  6. 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>