
X Draws Box Y Sets Serial Port
Syntax Xp
1
,p
2
,p
3
,p
4
,p
5
↵ Syntax Yp
1
,p
2
,p
3
,p
4
↵
Description This command is used to draw a box by an “OR” operation.
Description This command is used to setup the serial port on the printer for
matching with the host. The protocol between the host and the printer
should be same otherwise unpredictable results will occur.
Parameters p
1
: X coordinate of start point in dots.
p
2
: Y coordinate of start point in dots.
Parameters p
1
: Baud rate. Acceptable values are: p
3
: Thickness of four edges.
p
1
Value Speed
38 38,400 baud
19 19,200 baud
96 9,600 baud
48 4,800 baud
24 2,400 baud
p
4
: X coordinate of end point in dots.
p
5
: Y coordinate of end point in dots.
Example N↵
A50,30,0,4,1,1,R,"BOXES"↵
X50,120,5,250,150↵
X120,100,3,180,280↵
p
2
: Parity. O - odd parity, E - even parity and N - none parity.
P1↵
p
3
: Data bit number, 7 or 8.
Output
p
4
: Stop bit number, 1 or 2.
Notes:
1. For some printers p2, p3 and p4 are ignored. The data format for such printers is
always 8 bit data, none parity and 1 stop bit.
2. The factory defaults for RS232 are 9600 baud, 8 data bits, none parity and 1 stop
bit.
3. This command is not used for those model with DIP switches, For X2000+/X3000+,
you can set baud rate via the DIP switches on the rear of the printer.
Example Y19,N,8,1↵
62
61
Comentarios a estos manuales