CHAPTER 5 TPCL MODE (INTERFACE COMMANDS)
B-EP
Series
5-26
5.6 COMMANDS RELATED TO DRAWING FORMAT
5.6.1
LINE FORMAT COMMAND
[ESC] LC
Function
Sets the line format and draws the line.
Format
[ESC] LC; aaaa, bbbb, cccc, dddd, e, f (, ggg) [LF] [NUL]
Term
aaaa:
X-coordinate of the start point
Fixed at 4 digits (in 0.1 mm units)
bbbb:
Y-coordinate of the start point
4 or 5 digits (in 0.1 mm units)
cccc:
X-coordinate of the end point
Fixed at 4 digits (in 0.1 mm units)
dddd:
Y-coordinate of the end point
4 or 5 digits (in 0.1 mm units)
e:
Type of line
0: Line (horizontal, vertical)
1: Rectangle
2: Line with dots skipped (horizontal line, vertical line)
* Reserved in the case of the compatible mode for the B-SP series
(If specified, it is processed as “0.”)
3: Rectangle with dots skipped
* Reserved in the case of the compatible mode for the B-SP series
(If specified, it is processed as “1.”)
4: Reserved (If specified, it is processed as “1.”)
5: Reserved (If specified, it is processed as “0.”)
6: Reserved (If specified, it is processed as “1.”)
f:
No. of line width dots
1 to 9 or 01 to 99 (in 0.1 mm units)
ggg:
Radius of rounded corners of a rectangle
(Omissible. If omitted, the chamfering process for rectangle corners is not
performed.)
Fixed at 3 digits (in 0.1 mm units)
* Reserved in the case of the compatible mode for the B-SP series
Explanation
(1) When the set values for the X- and Y- coordinates of the start point and X- and Y-
coordinates of the end point are not within the image (frame) buffer, the line is not drawn.
(2) When the type of line is set to any value other than the range from 0 to 6, a command
error occurs.
(3)
When the number of line width dots is set to “0,” a command error occurs.
(4)
The reserved parameter (omissible) is not performed.
(5) If the print ratio of one line (the print head width) is higher than defined, printing may
become poor, or the printer may be reset. When a horizontal line is printed, be careful
about the print ratio.