CustomiOSApi 1.11
/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
28 Boolean statusNOHEAD;
29 Boolean statusNOCOVER;
30 Boolean statusSPOOLING;
31 Boolean statusPAPERROLLING;
32 Boolean statusLFPRESSED;
33 Boolean statusFFPRESSED;
34
35 Boolean statusOVERTEMP;
36 Boolean statusHLVOLT;
37 Boolean statusPAPERJAM;
38
39 Boolean statusCUTERROR;
40 Boolean statusRAMERROR;
41 Boolean statusEEPROMERROR;
42}
43
49-(id)initWithStatus:(long)lStatusPrinter;
50
56- (Boolean) IsEqual:(CustomPrinterStatus*) printerstatus;
57
58//**************************************
59//Status Vars: BYTE 1
60//**************************************
61
66-(Boolean) StsNOPAPER;
71-(Boolean) StsNEARENDPAP;
76-(Boolean) StsTICKETOUT;
77
78//**************************************
79//Status Vars: BYTE 2
80//**************************************
81
86-(Boolean) StsNOHEAD;
91-(Boolean) StsNOCOVER;
96-(Boolean) StsSPOOLING;
101-(Boolean) StsPAPERROLLING;
106-(Boolean) StsLFPRESSED;
111-(Boolean) StsFFPRESSED;
112
113//**************************************
114//Status Vars: BYTE 3
115//**************************************
116
121-(Boolean) StsOVERTEMP;
126-(Boolean) StsHLVOLT;
131-(Boolean) StsPAPERJAM;
132
133//**************************************
134//Status Vars: BYTE 4
135//**************************************
136
141-(Boolean) StsCUTERROR;
146-(Boolean) StsRAMERROR;
151-(Boolean) StsEEPROMERROR;
152
153
154@end
155
156#endif
This the container class to hold the printer status
Definition: CustomPrinterStatus.h:18