ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 89 -
5. Control Command Details
When the symbol type is the structured carrier message, the service class, country code and postal
code can be specified separately from the normal data. Specify each value, separated by a backslash
and comma (\,), immediately before the normal data.
<postal_code>\,<country_code>\,<service_class>\,<normal_barcode_data>
When “\,is not used three times, the data is written as shown in the following example.
<data1>\,<data2>\,<normal_barcode_data>
Service class=default value
Country code
Postal code
If a value other than those listed is entered for a parameter, that parameter is specified with its default
value.
Postal code
9 or less numbers, or
6 or less alphanumeric characters
Ignored when not structured carrier message.
Default value: 000000000
Country code
3 or less numbers
Ignored when not structured carrier message.
Default value: 000
Service class
3 or less numbers
Ignored when not structured carrier message.
Default value: 000
Note
If the postal code is specified as alphanumeric characters, characters other than those listed
below are invalid.
A to Z # $ % & ( ) * + , - . / 0 to 9 :
However, lowercase letters (a to z) are converted to the valid uppercase letters (A to Z).
(4) \\\: End of barcode
There must be three backslashes to end 2D barcodes.