ZEBRA MZ 320 3" 4mb Direct Mobile Thermal Receipt Printer With Bluetooth

Programming Manual - Page 89

For MZ 320.

PDF File Manual, 497 pages, Read Online | Download pdf file

MZ 320 photo
Loading ...
Loading ...
Loading ...
Mobile Printing Systems
CPCL Programming Manual
Section 7
Graphics
pg. 7-2
0,0
200,2000,200
200,0
LINE Commands
Lines of any length, thickness, and angular orientation can be drawn using the LINE command.
Format:
{command} {x
0
} {y
0
} {x
1
} {y
1
} {width}
where:
{command}: Choose from the following:
LINE (or L): Prints a line.
{x
0
}: X-coordinate of the top-left corner.
{y
0
} Y-coordinate of the top-left corner.
{x
1
}: X-coordinate of:
- top right corner for horizontal.
- bottom left corner for vertical.
{y
1
}: Y-coordinate of:
- top right corner for horizontal.
- bottom left corner for vertical.
{width}: Unit-width (or thickness) of the line
Input:
! 0 200 200 210 1
LINE 0 0 200 0 1
LINE 0 0 200 200 2
LINE 0 0 0 200 3
FORM
PRINT
Output:
Note: Text coordinates (in output) are shown for illustration purposes only.
Loading ...
Loading ...
Loading ...