Star Micronics Line Thermal/Dot Printer User Manual
Page 146

Rev. 0.00
3-134
STAR LIne Mode Command Specifications
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 ((
• 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 (
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 (
• 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
Sets bar code size to USE_LIMITS = 2:3
Sets ECC level to 3.
Sets module X direction size to 3 dots.
Sets module aspect ratio to 3.
(2) Bar code data setting
(3) Print bar code
To confirm printability using the current settings, confirm the bar code expansion information.