EasyManuals Logo

Citizen CL-E331 Programming Manual

Citizen CL-E331
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 #78 background imageLoading...
Page #78 background image
CITIZEN Android Label Print SDK Programming Manual
78
2.3.14 drawLine method
Syntax
int drawLine (int x1, int y1, int x2, int y2, int thickness)
Parameters
Parameter
[IN/OUT]
Description
Setting range
x1
[IN]
Start position
(X-coordinate)
0000-9999
* The origin is at bottom-left.(0, 0)
y1
[IN]
Start position
(Y-coordinate)
x2
[IN]
End position
(X-coordinate)
y2
[IN]
End position
(Y-coordinate)
thickness
[IN]
Line width (Reference point is
center)
0000-9999
Description
Draws a line of the specified width.
Start and stop positions will be located at the center of the line. Each coordinate must be within the
range of 0000-9999. Moreover the whole line image (rectangule) including the line thickness must
be within the range of 0000-9999 as well. Returns CLS_E_ILLEGAL(1101) otherwise.
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See "2.1 Return value" for the error
codes.
Example
// FormatAttribute:OR
printer.setFormatAttribute(1);
// Bar
design.drawLine(20, 30, 20, 300, 10);
// Horizontal line
design.drawLine(16, 34, 200, 34, 10);

Table of Contents

Other manuals for Citizen CL-E331

Questions and Answers:

Question and Answer IconNeed help?

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

Citizen CL-E331 Specifications

General IconGeneral
Product colorBlack
Print technologyThermal transfer
Printing media thickness63.5 - 190 µm
Sustainability complianceYes
Sustainability certificatesCE, Federal Communications Commission (FCC), TUV, UL ECOLOGO, VCCI
Display-
Control typeButtons
ColorNo
Maximum resolution- DPI
Printable dot numbers300 dot
Ribbon width60 mm
Core diameter25 mm
Ribbon length300 m
Media thickness0.150 mm
Maximum label width118 mm
Maximum media length1625.6 mm
Maximum roll diameter125 mm
RS-232 ports1
USB 2.0 ports quantityUSB 2.0 ports have a data transmission speed of 480 Mbps, and are backwards compatible with USB 1.1 ports. You can connect all kinds of peripheral devices to them.
Flash memory16 MB
Internal memory32 MB
Built-in barcodesCODABAR (NW-7), Code 128 (A/B/C), Code 39, Code 93, EAN13, EAN8, GS1 DataBar, ITF, PDF417, QR Code, UPC-A, UPC-E
Server operating systems supportedWindows Server 2012, Windows Server 2016, Windows Server 2019, Windows Server 2022
Windows operating systems supportedWindows 10, Windows 11, Windows 7
Weight and Dimensions IconWeight and Dimensions
Depth266 mm
Width178 mm
Height173 mm
Weight2600 g
Label width104 mm

Related product manuals