EasyManuals Logo

Citizen CL-E300 User Manual

Citizen CL-E300
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 #23 background imageLoading...
Page #23 background image
CITIZEN Android Label Print SDK Programming Manual
23
2.2.7 storeNVBitmap method
Syntax
int storeNVBitmap (String filePath, String name, int rotation, int width, int height)
Parameters
Parameter
[IN/OUT]
Description
Setting range
filePath
[IN]
Path to a bitmap file to store
name
[IN]
File name to store
ASCII characters except below:
-Underscore cannot be the first
character.
-The following symbols.
\ / : * ? " < > |
rotation
[IN]
Direction of rotation
CLS_RT_NORMAL No rotate
CLS_RT_RIGHT90 Rotate right 90
CLS_RT_ROTATE180 Rotate 180
CLS_RT_LEFT90 Rotate left 90
width
[IN]
Horizontal size (pixels)
height
[IN]
Vertical size (pixels)
Description
Stores a bitmap image into the flash memory with specified settings such as file name, rotation, width
and height. The stored bitmap image can be used by the drawNVBitmap method.
Supported graphic file formats are BMP/GIF/EXIF/JPG/PNG/TIFF.
The image is resized by the specified width and height with keeping the original aspect ratio.
ExampleThe image size will be 200 x 50 pixels under the following conditions.
The original image size400 x 100 pixels
Width200
Height200
If 0 is set to either width or height, the image size will be calculated by another parameter.
ExampleThe image size will be 800 x 200" pixels under the following conditions.
The original image size400 x 100 pixels
Width0
Height200
Return value
Returns CLS_SUCCESS (0) on success. See "2.1 Return value" for the error codes.
Example
// Store bitmap
printer.storeNVBitmap("/sdcard/temp/citizen/Images/Sample.bmp", "Sample",
LabelConst.CLS_RT_NORMAL, 0, 0);
// Draw bitmap
design.drawNVBitmap("Sample", 1, 1, 0, 0);
// Print
printer.print(design, 0001);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Citizen CL-E300 Specifications

General IconGeneral
ColorNo
Print technologyDirect thermal
Maximum resolution203 x 203 DPI
Maximum print height- mm
Maximum printing width104 mm
Product colorBlack
Ethernet LANYes
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.
Connectivity technologyWired
Flash memory16 MB
Internal memory32 MB
Media thickness0.0635 - 0.254 mm
Maximum media length4013 mm
Supported paper width12.5 - 118 mm
LED indicatorsPower, Status
AC input voltage110 - 240 V
AC input frequency50 - 60 Hz
Power consumption (printing)60 W
Harmonized System (HS) code84433210
Weight and Dimensions IconWeight and Dimensions
Depth208 mm
Width170 mm
Height152 mm
Weight1980 g

Related product manuals