Star Micronics Line Thermal/Dot Printer Printer User Manual


 
Rev. 0.00
3-134
STARLIneModeCommandSpecications
These are individual settings, so the following errors may occur even if there are no problems. In such cases, the bar
codewillnotbegenerated,andthe(3)printcommand((<ESC><GS>“x”“P”)willbeignored.
• An error occurs when generating the bar code by the combination of bar code settings.
• When the generated bar code exceeds the printable PDF417 size.
• When the print data exceeds the currently set print region.
Itisrecommendedtousethe(4)Getbarcodeexpansioninformationcommand(<ESC><GS>“x”“I”)asameansfor
checking for these errors prior to printing.
2) Bar code data setting command
This command set the bar code print data.
3) Bar code printing command
This command prints the bar codes based on the settings of (1) and (2).
4) Get bar code expansion information command
This command checks whether a bar code can be printed based on the settings of (1) and (2).
= Precautions When Using the Commands =
• For (1) and (2), the setting values are retained if the following operations are not applied.
• New setting command is sent.
•Initializecommandsaresent(<ESC>@,<CAN>)
• Power is turned off.
• With regard to (3) and (4), send as needed.
• Printing
• When printing, the horizontal tabs, absolute position specification, relative position specification, and position
movement using position alignment are valid.
• Upside down printing and 2-color printing are possible.
• Bar codes to be printed should always be confirmed through an actual printout.
Lastly is a command transmission example.
(1) Bar code type setting
 <ESC><GS>“x”“S”“0”023: SetsbarcodesizetoUSE_LIMITS=2:3
 <ESC><GS>“x”“S”“1”3: SetsECClevelto3.
 <ESC><GS>“x”“S”“2”3: SetsmoduleXdirectionsizeto3dots.
 <ESC><GS>“x”“S”“3”3: Setsmoduleaspectratioto3.
(2) Bar code data setting
 <ESC><GS>“x”“D”100“0123456789”: Setsbarcodedata.
(3) Print bar code
To confirm printability using the current settings, confirm the bar code expansion information.
<ESC><GS>“x”“I”: Confirmsbarcodeexpansioninformation.
<ESC><GS>“x”“P”: Prints