| CustomiOSApi 1.09

TextIntChars.h
1//
2// TextIntChars.h
3// CustomiOSApi
4//
5// Created by CUSTOM on 11/07/13.
6// Copyright (c) 2013 CUSTOM. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "PrinterFont.h"
11
12 extern const int CP_PC437;
13 extern const int CP_PC850;
14 extern const int CP_PC860;
15 extern const int CP_PC863;
16 extern const int CP_PC865;
17 extern const int CP_PC858;
18 extern const int CP_PC866;
19 extern const int CP_PC857;
20 extern const int CP_PC852;
21 extern const int CP_PC862;
22 extern const int CP_PC737;
23
24//Hide it in the documentation
25// @cond PRIVATE
26@interface TextIntChars : NSObject
27{
28}
29
30+ (NSData*) UTF8toUnicode:(Byte*)dataBytes;
31+ (NSData*) GetTextBytes:(NSString*)strText :(NSData*)cpType :(NSData*)cpCmd :(enum FontIntCharset)cInterSet;
32+ (NSData*) GetTextBytes:(NSString*)strText :(NSStringEncoding)encodingCharSet;
33+ (NSData*) GetCharBytes:(long)lCharValue :(NSInteger)cpType;
34
35@end
36
37//***********************************************************************************************
38//***********************************************************************************************
39// INTERNATIONAL TABLES
40//***********************************************************************************************
41//***********************************************************************************************
42
43 extern const int TAB_UNITOCP_0437[][2];
44 extern const int TAB_UNITOCP_0437_SIZE;
45 extern const int TAB_UNITOCP_0850[][2];
46 extern const int TAB_UNITOCP_0850_SIZE;
47 extern const int TAB_UNITOCP_0860[][2];
48 extern const int TAB_UNITOCP_0860_SIZE;
49 extern const int TAB_UNITOCP_0863[][2];
50 extern const int TAB_UNITOCP_0863_SIZE;
51 extern const int TAB_UNITOCP_0865[][2];
52 extern const int TAB_UNITOCP_0865_SIZE;
53 extern const int TAB_UNITOCP_0858[][2];
54 extern const int TAB_UNITOCP_0858_SIZE;
55 extern const int TAB_UNITOCP_0866[][2];
56 extern const int TAB_UNITOCP_0866_SIZE;
57 extern const int TAB_UNITOCP_0857[][2];
58 extern const int TAB_UNITOCP_0857_SIZE;
59 extern const int TAB_UNITOCP_0852[][2];
60 extern const int TAB_UNITOCP_0852_SIZE;
61 extern const int TAB_UNITOCP_0862[][2];
62 extern const int TAB_UNITOCP_0862_SIZE;
63 extern const int TAB_UNITOCP_0737[][2];
64 extern const int TAB_UNITOCP_0737_SIZE;
65
66//Hide it in the documentation
67// @cond PRIVATE
68@interface IntCharsTables: NSObject
69{
70
71}
72
73
74@end