EasyManuals Logo

Citizen CL-E321 Programming Manual

Citizen CL-E321
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 #20 background imageLoading...
Page #20 background image
CITIZEN Android Label Print SDK Programming Manual
20
2.2.5 printerCheck method
Syntax
int printerCheck ()
Parameters
none
Description
Gets the status of the printer and stores information into the properties, CommandInterpreterInAction,
PaperError, RibbonEnd, BatchProcessing, Printing, Pause and WaitingForPeeling.
When this method returns an error, a communication failure or a device error might occur. The
connection should be reestablished by using disconnect/connect methods in this case.
This method should be used to check the printer status before printing especially after a long idle.
This method can also be used to keep a network connection by calling it periodically.
In case of network connection with the CL - S5xx / 6xx / 70x, set "Parallel Error Output" to OFF
beforehand. In case of parallel connection with all models, set "Parallel Error Output" to OFF. This can
be done in the "Advanced" tab of the Label Printer Utility.
Return value
Returns CLS_SUCCESS (0) on success. See "2.1 Return value" for the error codes.
Example
// PrinterCheck
if (LabelConst.CLS_SUCCESS == printer.printerCheck())
{
// CommandInterpreterInAction Property
if ( printer.getCommandInterpreterInAction() == 1 ) {
// Command interpreter in action
}
// PaperError Property
if ( printer.getPaperError() == 1 ) {
// Paper error
}
// RibbonEnd Property
if ( printer.getRibbonEnd() == 1 ) {
// Ribbon end
}
// BatchProcessing Property
if ( printer.getBatchProcessing() == 1 ) {
// Batch processing
}
// Printing Property
if ( printer.getPrinting() == 1 ) {
// Printing
}
// Pause Property
if ( printer.getPause() == 1 ) {
// Pause

Table of Contents

Other manuals for Citizen CL-E321

Questions and Answers:

Question and Answer IconNeed help?

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

Citizen CL-E321 Specifications

General IconGeneral
Print TechnologyThermal Transfer / Direct Thermal
Resolution203 dpi
Power Supply100-240V AC, 50/60 Hz
Max Print Width4.1 inches (104 mm)
Media SensorTransmissive and reflective sensor
InterfaceUSB, Serial (RS-232)
Media Width1.97 to 4.33 inches (50 to 110 mm)
Supported Barcode TypesCode 39, Code 128, ITF, Codabar, UPC-A, UPC-E, EAN-8, EAN-13, POSTNET
Supported Media TypesContinuous, Die-cut
Media Thickness0.0635 – 0.254 mm (2.5 - 10 mil)
Print SpeedUp to 8 inches per second

Related product manuals