EasyManuals Logo
Home>Citizen>Printer>CL-S521

Citizen CL-S521 Programming Manual

Citizen CL-S521
95 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #86 background imageLoading...
Page #86 background image
CITIZEN Android Label Print SDK Programming Manual
86
3. Appendix
3.1. Specifying object position
The coordinate origin of the label design is at bottom-left. The measurement unit, either inches or
millimeters, is set in the printer. The MeasurementUnit property in the LabelPrinter class allows setting
the measurement unit.
Example
// Polygon
int[] x = new int[] {50, 75, 100};
int[] y = new int[] {50, 125, 50};
design.drawPolygon(x, y);
// Rect
design.drawRect(50, 200, 50, 50, 1);
// Circle
design.drawCircle(250, 50, 30);
// Text
design.drawTextLocalFont("ABCxyz", Typeface.SERIF,
LabelConst.CLS_RT_NORMAL, 100, 100, 12,
LabelConst.CLS_FNT_DEFAULT, 250, 200);
// Line
design.drawLine(0, 200, 350, 200, 1); // Line-1
design.drawLine(50, 0, 50, 350, 1); // Line-2
design.drawLine(0, 50, 350, 50, 1); // Line-3
design.drawLine(250, 0, 250, 350, 1); // Line-4
Origin
(0,0)
Rect
(50, 200)
Polygon
(50,50)
Text
(250, 200)
Circle
(250, 50)

Table of Contents

Other manuals for Citizen CL-S521

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Citizen CL-S521 and is the answer not in the manual?

Citizen CL-S521 Specifications

General IconGeneral
Print technologyDirect thermal
Maximum resolution203 DPI
PC connectedYes
Standard interfacesUSB 1.1, Serial
Optional connectivityEthernet, Serial (RS-232)
USB 1.1 ports quantity1
Connectivity technologyWired
Flash memory4 MB
Internal memory16 MB
Compatible operating systemsWindows 7/XP/2003/2008/Vista
Form factorDesktop
Core diameter25 mm
Media thickness0.0635 - 0.254 mm
Maximum media length1625.6 mm
Maximum roll diameter125 mm
Supported paper width12.5 - 118.1 mm
Media thickness (imperial)0.0025 - 0.01 \
Supported paper width (imperial)0.50 - 4.65 \
Product colorGray
Housing materialMetal, Plastic
Weight and Dimensions IconWeight and Dimensions
Depth289 mm
Width231 mm
Height183 mm
Weight3600 g

Related product manuals