Chapter 3 Software
PA-6822 SERIES USER MANUAL
Page 82
GetCoverEvent
Public int GetCoverEvent();
Purpose
Get Cover Status.
Return
0x00 = Response Error 0x01 = Cover Open , 0x02 = Over Close
Int CoverStatus = 0 ;
ThermalPrinter
Printer_Control
=
new
ThermalPrinter();
Printer_Control.
OpenPrinter(115200);
CoverStatus =
Printer_Control
.GetCoverEvent ( );
// TODO Detect Status
if
(
CoverStatus
== 1)
{
Toast.
makeText
(PrinterActivity.
this
,
"Cover
Open!"
, Toast.
LENGTH_SHORT
).show();
}
else
{
Toast.
makeText
(PrinterActivity.
this
,
"Cover
Close!"
, Toast.
LENGTH_SHORT
).show();
}
Printer_Control.
ClosePrinter();
Summary of Contents for PA-6822
Page 1: ...USER S MANUAL PA 6822 15 POS Terminal Powered by Intel Celeron J1900 Quad Core PA 6822 M4...
Page 199: ...Chapter 3 Software PA 6822 Series User Manual Page 198...
Page 218: ...Chapter 4 System Assembly 01 05 02 03 06 07 08 09 04 PA 6822 Series User Manual Page 217...
Page 219: ...Chapter 4 System Assembly 01 05 02 03 06 07 08 04 PA 6822 Series User Manual Page 218...
Page 222: ...Chapter 4 System Assembly 01 05 02 03 06 07 04 PA 6822 Series User Manual Page 221...
Page 224: ...Chapter 4 System Assembly PA 6822 Series User Manual Page 223...
Page 225: ...Chapter 4 System Assembly 05 02 01 03 06 04 PA 6822 Series User Manual Page 224...
Page 226: ...Chapter 4 System Assembly 01 02 03 06 07 08 04 05 09 10 PA 6822 Series User Manual Page 225...
Page 228: ...Chapter 4 System Assembly COM Port 01 05 02 03 04 PA 6822 Series User Manual Page 227...
Page 229: ...Chapter 4 System Assembly Parallel Port 01 02 03 04 PA 6822 Series User Manual Page 228...
Page 239: ...Chapter 4 System Assembly 01 02 03 04 05 06 07 08 09 PA 6822 Series User Manual Page 238...
Page 240: ...Chapter 4 System Assembly 01 02 03 04 06 05 07 08 10 09 PA 6822 Series User Manual Page 239...
Page 250: ...Appendix A System Display Step 8 Finished view PA 6822 Series User Manual Page 249...