| CustomiOSApi 1.09

/Users/user/Documents/sviluppo/CustomiOSApi/CustomiOSApi/CustomiOSApi/CustomPrinterStatus.h
1//
2// PrinterStatus.h
3// CustomiOSApi
4//
5// Created by CUSTOM on 08/07/13.
6// Copyright (c) 2013 CUSTOM. All rights reserved.
7//
8
9#ifndef CUSTOMPRINTERSTATUS_H_
10#define CUSTOMPRINTERSTATUS_H_
11
12#import <Foundation/Foundation.h>
13
17@interface CustomPrinterStatus : NSObject
18{
19 @public
20
21 @protected
22
23 @private
24 Boolean statusNOPAPER;
25 Boolean statusNEARENDPAP;
26 Boolean statusTICKETOUT;
27 Boolean statusNOHEAD;
28 Boolean statusNOCOVER;
29 Boolean statusSPOOLING;
30 Boolean statusPAPERROLLING;
31 Boolean statusLFPRESSED;
32 Boolean statusFFPRESSED;
33 Boolean statusOVERTEMP;
34 Boolean statusHLVOLT;
35 Boolean statusPAPERJAM;
36 Boolean statusCUTERROR;
37 Boolean statusRAMERROR;
38 Boolean statusEEPROMERROR;
39}
40
46-(id)initWithStatus:(long)lStatusPrinter;
47
53- (Boolean) IsEqual:(CustomPrinterStatus*) printerstatus;
54
55//**************************************
56//Status Vars: BYTE 1
57//**************************************
58
63-(Boolean) StsNOPAPER;
68-(Boolean) StsNEARENDPAP;
73-(Boolean) StsTICKETOUT;
74
75//**************************************
76//Status Vars: BYTE 2
77//**************************************
78
83-(Boolean) StsNOHEAD;
88-(Boolean) StsNOCOVER;
93-(Boolean) StsSPOOLING;
98-(Boolean) StsPAPERROLLING;
103-(Boolean) StsLFPRESSED;
108-(Boolean) StsFFPRESSED;
109
110//**************************************
111//Status Vars: BYTE 3
112//**************************************
113
118-(Boolean) StsOVERTEMP;
123-(Boolean) StsHLVOLT;
128-(Boolean) StsPAPERJAM;
129
130//**************************************
131//Status Vars: BYTE 4
132//**************************************
133
138-(Boolean) StsCUTERROR;
143-(Boolean) StsRAMERROR;
148-(Boolean) StsEEPROMERROR;
149
150
151@end
152
153#endif
CustomPrinterStatus
This the container class to hold the printer status
Definition: CustomPrinterStatus.h:18