EasyManuals Logo

Citizen CL-E730 Programming Manual

Citizen CL-E730
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 #10 background imageLoading...
Page #10 background image
CITIZEN Android Label Print SDK Programming Manual
10
1.4. Program structure
Here is an example program in Java which uses the SDK.
// Create an instance( LabelDesign class )
LabelDesign design = new LabelDesign();
// Text
design.drawTextPtrFont("Sample Print",
LabelConst.CLS_LOCALE_JP, LabelConst.CLS_PRT_FNT_TRIUMVIRATE_B,
LabelConst.CLS_RT_NORMAL, 1, 1, LabelConst.CLS_PRT_FNT_SIZE_24, 20,
300);
// QRCode
design.drawQRCode("DrawQRCode",
LabelConst.CLS_ENC_CDPG_US_ASCII, LabelConst.CLS_RT_NORMAL, 4,
LabelConst.CLS_QRCODE_EC_LEVEL_H, 20, 220);
// Rect(fill)
design.fillRect(20, 150, 350, 40, LabelConst.CLS_SHADED_PTN_11);
// BarCode
design.drawBarCode("0123456789",
LabelConst.CLS_BCS_CODE128, LabelConst.CLS_RT_NORMAL,
3, 3, 30, 20, 70, LabelConst.CLS_BCS_TEXT_SHOW);
// Create an instance( LabelPrinter class )
LabelPrinter printer = new LabelPrinter();
// Connect printer
int result = printer.connect(LabelConst.CLS_PORT_WiFi,
"192.168.128.212")
if (LabelConst.CLS_SUCCESS == result)
{
// Get Properties
int printDarkness = printer.getPrintDarkness();
if (LabelConst.CLS_PROPERTY_DEFAULT == printDarkness)
{
// Set Properties
printer.setPrintDarkness(10);
}
// Print Label
result = printer.print(design, 0001);
// Disconnect
printer.disconnect();
if (LabelConst.CLS_SUCCESS != result)
{
// Print Error
Toast.makeText(MainActivity.this, "Print Error :" +
Integer.toString(result), Toast.LENGTH_LONG ).show();
}
}
else
{
// Connect Error
Toast.makeText(MainActivity.this, "Connect or Printer Error :" +
Integer.toString(result), Toast.LENGTH_LONG ).show();
}
Design of the
label
Print of the
label
(Connect,
Print,
Disconnect)

Table of Contents

Other manuals for Citizen CL-E730

Questions and Answers:

Question and Answer IconNeed help?

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

Citizen CL-E730 Specifications

General IconGeneral
ColorNo
Print technologyDirect thermal / Thermal transfer
Maximum resolution300 x 300 DPI
Maximum print height- mm
Maximum printing width104 mm
Core diameter75 mm
Media thickness0.0635 - 0.254 mm
Maximum media length4013 mm
Maximum roll diameter200 mm
Supported paper width12.5 - 118 mm
Ethernet LANYes
Optional connectivityParallel, Serial (RS-232), Wireless LAN
USB 2.0 ports quantity1
Connectivity technologyWired
DisplayLCD
Product colorBlack
LED indicatorsStatus
Flash memory16 MB
Internal memory32 MB
Server operating systems supportedWindows Server 2008 R2, Windows Server 2012
Windows operating systems supportedWindows 10, Windows 7, Windows 8, Windows 8.1
AC input voltage100 - 230 V
Power consumption (standby)2.9 W
Power consumption (printing)72 W
Sustainability certificatesENERGY STAR
Harmonized System (HS) code84433210
Weight and Dimensions IconWeight and Dimensions
Depth458 mm
Width250 mm
Height261 mm
Weight11000 g

Related product manuals