[ESC+WS] Print of Work Shift Information

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
WS <57>16<53>16

Parameter

a

Initial value

None

Valid range and term of command

When the power switch is OFF The set parameter is not maintained.
Valid range within items The parameter preset will be invalid.
Valid range between items The parameter preset will be invalid.

Function

Specifying the print of work shift information (Shift code, Start time of printer use, Shift name).

Format

<WS>a

  • Parameter

    a [Data to be printed]

    = 1: Shift code

    = 2: Start time of printer use

    = 3: Shift name

Coding Example


<A>
<XS>
<V>050<H>050<L>0101<XM>SHIFT CODE:
<V>050<H>300<L>0202<WS>1
<V>100<H>050<L>0101<XM>START TIME:
<V>100<H>300<L>0202<WS>2
<XB>0
<V>150<H>050<L>0101<XM>SHIFT NAME:
<V>150<H>300<L>0101<WS>3
<Q>1
<Z>
                    

(To get work shift information, use the command [SOH+WS])

Note

  1. To designate the character type of print work shift information, specify the font specification command with no print data before Work Shift Information <WS>. When not designating the font specification command, the XU - character is used for printing.
  2. The font types can be specified are as follows: U, S, M, WB, WL, XU, XS, XM, XB, XL.
  3. The font specification command to designate the character type for <WS> is set to the initial value at the next job <A>.
    The font specification command that designated print data does not affect the data of <WS>.
  4. When the calendar setting command <WT> is used together with <WS> command, the work shift information to be printed on the label is decided according to the new time setting.
  5. Only 1 calendar setting command <WT> is valid in the <A><Z> sequence.
  6. If all of the work shift code from 1 through 3 are invalid, a command error will occur.
  7. 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.