SATO Cl4NX Programming Reference Manual
Text of the manual
Any unauthorized reproduction of the contents of this document, in part or whole, is strictly prohibited.
Table of Contents
8.31 ESC+KB 32x32 dots Kanji in Horizontal Line with 1-byte Character................... 102
12.18 ESC+PH Print Method .......................................................................................... 268
17.18 DC2+DC Reset ...................................................................................................... 472
Table of Contents
6.12 Printer status ............................................................................................................. 551
16x16 dots Kanji in Horizontal line
BMP File Print
Label Feed Control
2 Initial Value of Operation Settings
3 List of Fonts
Font can be expanded by a factor of 1 to 36.
4 Example of Command Reference
2[Supplementary Explanation] Enlarges the character pitch as well. When Character Pitch is used at the same time, the parameter value of horizontal enlargement ratio specified in Enlargement
will be reflected in the subsequent specification . [Note] If increasing the enlargement ratio, design the print format that does not to exceed print area. [Valid Commands] Font
Modification
Graphic Memory Card 1. Indicates the classification of commands such as: [Control], [Print Position], [Modification], [Font], [Barcode], [2D code], [Graphic], [System], [Memory Card] and [Calendar], [RFID], [CommonCommands for All Languages] 2. Indicates command name. 3. Indicates command code. 4. Indicates command in Hexadecimal code. 1 2 3 7 8 9 10 11 13 Enlargement 4 6 12 5
5. Indicates parameter to be described in command.
5 Control Command
22
5.2 ESC+Z Stop Code
22
5.3 ESC+Q Print Quantity
aaaaaa ●Parameter a[Number of labels to print] = Valid range: 1 to 999999 [Coding Example] Number of labels: 2100 200 2
0202 ABCD 2[Supplementary Explanation] 1. Print contents specified by Start of Data Transmission and End of Data Transmission are regarded as 1 label, and the number of reprints can be specified. 2. Use this command prior to End of Data Transmission . [Note] 1. Reprint will be performed based on the specified print quantity. If specifying sequential numbering command , the value of sequential number that was set up for that field portion will print. 2. When this command is used in combination with Multiple Cutting <~>, the specified print quantity multiplied by specified value for cutting becomes the number of labels to print. [Initial value of parameter and Valid range] Model Initial value Valid range CL4NX/CL6NX 1 1~999999 Print Quantity
5.4 ESC+ID Job ID Number
0<$>B,100,100,6
<$=>SATOPRINTER
2
5.5 ESC+WK Job Name
0<$>B,100,100,6
<$=>SATOPRINTER
2
5.6 ESC+CR Status 5 Reply Check
6 Print Position Command
22
6.2 Print Position
22
7 Modification Command
aa
●Parameter
aa[Character pitch]
=
Valid range: 00 to 99 dots
[Coding Example]
Character pitch: 10
10 just before the barcode specification, pitch command becomes valid for barcode
module.
Object barcode: NW-7, CODE39, Industrial 2 of 5, Matrix 2 of 5
For more information, see (3) Intercharacter Gap in [9. Barcode Specification].
5. Data specification except numeric value or specification of over-digit will give the initial value.
[Valid Command]
Font
2
7.2 ESC+L Enlargement
3 is used at the same time, the parameter value of
horizontal enlargement ratio specified in Enlargement .
[Note]
If increasing the enlargement ratio, design the print format that does not exceed print area.
[Valid Command]
Font
2
7.3 ESC+PS Proportional Pitch
22
7.4 ESC+PR Release Proportional Pitch
22
7.5 ESC+% Rotation
32
*1 This command requires optional calendar IC and it is not usable without IC.
7.6 ESC+F Sequential Number
22
7.7 ESC+FW Ruled/Grid Line Print
2[Supplementary Explanation] 1. When the print start position exceeds the printable area, the printing is not executed. (It doesn't raise a command error.) 2. Set line width according to the table below so the horizontal line width is more than 0.166mm. Head density Line width 8 dots/mm (203 dpi) 2 dots or more 12 dots/mm (305 dpi) 2 dots or more 24dots/mm (609dpi) 4 dots or more 3. If setting the vertical line width wider, it will be widened to the right side against media feed direction. If setting the horizontal line width wider, it will be widened to the lower side against media feed direction. 4. If setting the glid line wider, it will be widened inward. [Valid Range] Model Valid range (dots) Horizontal line length Vertical line length CL4NX 203dpi 1 to 832 1 to 20000 305dpi 1 to 1248 1 to 18000 609dpi 1 to 2496 1 to 9600 CL6NX 203dpi 1 to 1216 (*1) 1 to 1340 (*2) 1 to 20000 305dpi 1 to 1984(*1) 1 to 2010(*2) 1 to 18000 (*1) Valid range for “Standard” in “Head Base Position” setting. (*2) Valid range for “Left-justify” in “Head Base Position” setting. Refer to the operator manual for further information of the setting. Ruled / Grid Line Print
7.8 ESC+FC Print Circle
1[Supplementary Explanation] 1. When the value outside of the range is specified for sectional number, it will be processed as “0”. In this case, this will not be a command error. 2. When the value outside of the range is specified for the designation of pattern, it will be processed as “0”. In this case, this will not be a command error. 3. When the print start position exceeds the printable area, the printing is executed. (This raises a command error.) 4. This command sets the base reference point to the center of a circle. 5. This command can be registered to the format. 6. If setting the glid line wider, it will be widened inward. [Valid Range] Model Valid range (dot) Radius Line width CL4NX CL6NX 5 to 999 1 to 999 Print Circle 200 200 0,0 100 in radius Section 0 Section 1 Section 2 Section 3 Section 4 Section 5 Section 6 Section 7 Section 8
7.9 ESC+FT Print Triangle
1[Supplementary Explanation] 1. When the value outside of the range is specified for pattern, it will be processed as “0”. In this case, this will not be a command error. 2. When the print start position exceeds the printable area, the printing is executed. (This raises a command error.) (When the print start position exceeds the printable area in the vertical direction, the label will be fed.) 3. When the side length is not equal to the base length, printing will not be performed due to command error. 4. This command sets the base reference point to the apex of a triangle. 5. This command can be registered to the format. 6. If setting the line wider, it will be widened inward. 7. If the base length is odd number, +1 will be added automatically to make even number. [Valid number] Model Valid range (dots) Side length Line width Base length CL4NX CL6NX 10 to 2000 1 to 1000 10 to 2000 Print Triangle 100 200 0,0 a a b a: Side length b: Base length
7.10 ESC+( Reverse Color Print
22
7.11 ESC+KC Kanji Code
2 2 22
2
2
7.12 ESC+& Store Form Overlay
7.13 ESC+/ Recall Form Overlay
0<$>B,100,100,6
<$=>SATOPRINTER
2
7.14 ESC+0 Partial Edit
7.15 ESC+WD Partial Copy
22
7.16 ESC+J Journal Print
7.17 ESC+RF Recall Font & Logo
7.18 ESC+RM Mirror Image
1[Coding Example 2] When the range of mirror rotation is not specified: 100 200 12345 [Supplementary Explanation] 1. When the parameter “aaaa” and “bbbbb” are not specified, all print data specified prior to this command will be rotated. 2. Data outside of print area will not rotate. 3. If specifying this command for the item that does not contain print data, the command error will occur. 4. This command cannot be used in combination with the commands that associated with reedition of print data. Refer to the invalid command for the list below. When invalid commands are specified, printing may not be correct. 5. This command cannot be used in combination with some registration commands. Refer to the invalid command for the list below. When the command that cannot use in combination with is specified, print result is not guaranteed. 6. This command cannot be used together with some of the modification commands. Refer to the invalid command for the list below. When the command that cannot use in combination with is specified, print result is not guaranteed. 7. This command print the mirror image of the print data put before the mirror rotation command is specified. The data after the command don't rotate. Note that specifying this command several times results rotating the data several times. 8. When the mirror image is applied for the barcode, reading of the barcode and the head damage check are not guaranteed. 9. When executing the mirror image, the head damage check will be performed for all the areas where rotated. [Valid Range for start position of mirroring] Model Valid Range (dots) Horizontal start position of mirror rotation specification Vertical start position of mirror rotation specification CL4NX 203 dpi 1 to 832 1 to 20000 305 dpi 1 to 1248 1 to 18000 609dpi 1 to 2498 1 to 9600 CL6NX 203 dpi 1 to 1216 (*1) 1 to 1340 (*2) 1 to 20000 305 dpi 1 to 1984 (*1) 1 to 2010 (*2) 1 to 18000 (*1) Valid range for “Standard” in “Head Base Position” setting. (*2) Valid range for “Left-justify” in “Head Base Position” setting. Refer to the operator manual for further information of the setting. Mirror Image
[Valid Range for mirror rotation]
7.19 ESC+KS Kanji Set
For horizontal orientation
There are cases where the rendered field may run off from printable area depending on “Alignment position” and
Example) When specifying a barcode with automatically attached human readables (, etc.)
1. Human readables are included in the field of “Field Alignment” for barcode.
*1 The position depends on the specified human readable type and data. Make sure to specify just the right number of
8 Font Command
2
2
X20 font character set
8.2 ESC+X21 X21 Font (Basic size 17x17 dots)
2
2
X21 font character set
8.3 ESC+X22 X22 Font (Basic size 24x24 dots)
2
2
X22 font character set
8.4 ESC+X23 X23 Font (Basic size 48x48 dots)
2
2
X23 font character set
8.5 ESC+X24 X24 Font (Basic size 48x48 dots)
2
2
X24 font character set
8.6 ESC+XU XU Font (Basic size 5x9 dots)
2
2
XU font character set
8.7 ESC+XS XS Font (Basic size 17x17 dots)
2
2
XS font character set
8.8 ESC+XM XM Font (Basic size 24x24 dots)
2
2
XM font character set
8.9 ESC+XB XB Font (Basic size 48x48 dots)
2
2
XB font character set
8.10 ESC+XL XL Font (Basic size 48x48 dots)
2
2
XL font character set
8.11 ESC+OA OCR-A Font
2
2
OCR-A font character set
8.12 ESC+OB OCR-B Font
2
2
OCR-B font Character Set
8.13 ESC+U U Font (Basic size 5x9 dots)
2
2
U font character set
8.14 ESC+S S Font (Basic size 8x15 dots)
2
ABCDE
2
S font character set
8.15 ESC+M M Font (Basic size 13x20 dots)
2
2
M font character set
8.16 ESC+WB WB Font (Basic size 18x30 dots)
2
2
WB font character set
8.17 ESC+WL WL Font (Basic size 28x52 dots)
2
2
WL font character set
8.18 ESC+$ Outline Font Design
2
<$>A,100,100,1<$=>SATO
2
8.19 ESC+$= Outline Font Print
2
<$>A,100,100,1<$=>SATO
to specify font pitch.
4. Italic characters are tilt in an angle of 15-degree, within their specified width. As for the height specification, both
ascender and descender area are included.
5. For the font design 1 thru 9, if the specified dot setting is irregularly small, the font cannot be identified.
6. If the font width / height are very small, there can be cases that the font is squeezed.
7. JIS or Shift JIS can be used for Kanji outline font, which should correspond with the printer settings to proper printing.
Specify Kanji code by
<%>
<$>
2
Outline Font Character Set
8.20 ESC+RD CG Font
[Coding Example1] Font type: SATO CG Sleek, Width: 10 pts, Height: 10 pts
SATO CG Sleek font character set
SATO CG Stream font character set
8.21 ESC+RG Multiple Language
[Font set list]
2
2
1. When a character code other than UTF-16BE is specified, the character code will be converted into UTF-16BE. If
<%>
Multiple language sample
8.22 ESC+RH Scalable Font
[Coding example1] Printing of the built-in (scalable) font
2
2
2
<%>
2
2
2