[ESC+/S] Set Print Template Name

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
/S <2F>16<53>16

Parameter

,aaa,n...n

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 invalid until the next valid setting.
Valid range between items The set parameter is invalid until the next valid setting.

Function

To change the print template name that is already registered inside the printer memory.

Format

</S>,aaa,n...n

  • Parameter

    aaa [Print template format number] = 001 - 999

    n...n [Print template name] = Valid range (Template name): 1 to 32 ASCII characters

Coding Example

Change Print Template with the template name "SATO Barcode".


<A>
<CC>1
</S>,001,SATO Barcode
<Z>
                    

Supplementary Explanation

  1. To avoid incorrect response from printer, this command should not use in conjunction with other commands.
  2. Only first 32 characters of the print template name will be registered into the printer memory.
  3. The character "," (HEX: 2C) is not allow in template name registration.
  4. When the operation is successful, the printer returns 'ACK' to the host PC. Otherwise, the printer returns 'NAK' to the host PC.
  5. If a 'Print Template Format Number' is registered in the printer and the parameter 'aaa' is not specified, the registered number will be used.
    On the other hand, if no 'Print Template Format Number' is registered in the printer and the parameter 'aaa' is not specified, a command error will occur.