![Citizen CL-E300 Скачать руководство пользователя страница 12](http://html1.mh-extra.com/html/citizen/cl-e300/cl-e300_programming-manual_2610002012.webp)
CITIZEN Android Label Print SDK
—
Programming Manual
12
1.5. Class summary
Methods (LabelPrinter class)
No Method
Description
1
LabelPrinter
Constructor.
2
setContext
Set the context.
3
connect
Connects to a printer.
4
disconnect
Disconnects with a printer.
5
printerCheck
Gets status of a printer.
6
Prints labels.
7
storeNVBitmap
Stores a bitmap image into the flash memory.
8
clearOutput
Clears all data in the printer buffer.
9
sendData
Sends binary data to a printer.
10 searchCitizenPrinter
Searches available printers and gets printer information.
11 searchLabelPrinter
Searches available printers and gets addresses.
12 setLog
Sets the log function.
Properties (LabelPrinter class)
No Property
Attribute Description
1
HorizontalMagnification
R/W
Horizontal magnification of the label.
2
VerticalMagnification
R/W
Vertical magnification of the label.
3
FormatAttribute
R/W
Specifies how to print overlapped objects.
4
ContinuousMediaLength
R/W
Label length for continuous paper.
5
MeasurementUnit
R/W
Measurement unit. Inches or millimeters.
6
PrintSpeed
R/W
Print speed.
7
FeedSpeed
R/W
Feed speed.
8
SlewSpeed
R/W
Slew speed.
9
BackupSpeed
R/W
Backup speed.
10 PrintDarkness
R/W
Print darkness.
11 DoubleHeat
R/W
Double heat.
12 VerticalOffset
R/W
Vertical offset of the printing position.
13 HorizontalOffset
R/W
Horizontal offset of the printing position.
14 MediaHandling
R/W
Media handling after print. (Pause, Cut or Peel)
15 StartOffset
R/W
Vertical offset of the paper position when start
printing.
16 StopOffset
R/W
Vertical offset of the paper position when stop
printing.
17 LabelSensor
R/W
Label sensor type. (See through, Reflect or None)
18 PrintMethod
R/W
Thermal transfer or Direct thermal.
19 SensorLocation
R/W
Front or Rear. (for the models which have multiple
sensors)
20 CommandInterpreterInAction
R
Status: CommandInterpreterInAction
21 PaperError
R
Status: PaperError
22 RibbonEnd
R
Status: RibbonEnd
23 BatchProcessing
R
Status: BatchProcessing
24 Printing
R
Status: Printing
25 Pause
R
Status: Pause
26 WaitingForPeeling
R
Status: WaitingForPeeling