-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdto9fptr.py
2221 lines (1694 loc) · 76.4 KB
/
dto9fptr.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
import dto9base
import ctypes
import inspect
class Fptr(dto9base.DTO9Base):
callback = None
SET_TRIPLE_INT_PROTOTYPE = ctypes.CFUNCTYPE(ctypes.c_int,
ctypes.c_void_p,
ctypes.c_int,
ctypes.c_int,
ctypes.c_int)
GET_TRIPLE_INT_PROTOTYPE = ctypes.CFUNCTYPE(ctypes.c_int,
ctypes.c_void_p,
ctypes.POINTER(ctypes.c_int),
ctypes.POINTER(ctypes.c_int),
ctypes.POINTER(ctypes.c_int))
def _module_name(self):
return 'Fptr'
def _settingsVersion(self):
return 4
def get_Caption(self):
return self._get_buff('Caption')
def put_Caption(self, value):
if self._set_buff('Caption', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_CaptionPurpose(self):
return self._get_int('CaptionPurpose')
def put_CaptionPurpose(self, value):
if self._set_int('CaptionPurpose', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_CaptionIsSupported(self):
return self._get_bool('CaptionIsSupported')
def get_CaptionName(self):
return self._get_buff('CaptionName')
def get_Value(self):
return self._get_double('Value')
def put_Value(self, value):
if self._set_double('Value', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_ValuePurpose(self):
return self._get_int('ValuePurpose')
def put_ValuePurpose(self, value):
if self._set_int('ValuePurpose', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_ValueIsSupported(self):
return self._get_bool('ValueIsSupported')
def get_ValueName(self):
return self._get_buff('ValueName')
def get_ValueMapping(self):
value = self._get_buff('ValueMapping')
if value is None:
self._print_result(inspect.currentframe().f_code.co_name)
return None
else:
result = dict()
for pair in value.split(';'):
if pair:
[_key, _value] = pair.split(':', 1)
result[_key] = _value
return result
def get_CharLineLength(self):
return self._get_int('CharLineLength')
def get_SerialNumber(self):
return self._get_buff('SerialNumber')
def put_SerialNumber(self, value):
if self._set_buff('SerialNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Date(self):
func = self.GET_TRIPLE_INT_PROTOTYPE((self._getter_name('Date'), self.library))
year = ctypes.c_int(0)
month = ctypes.c_int(0)
day = ctypes.c_int(0)
func(self.interface, ctypes.pointer(day), ctypes.pointer(month), ctypes.pointer(year))
return [day.value, month.value, year.value]
def put_Date(self, date):
func = self.SET_TRIPLE_INT_PROTOTYPE((self._setter_name('Date'), self.library))
func(self.interface, ctypes.c_int(date[0]), ctypes.c_int(date[1]), ctypes.c_int(date[2]))
return self.get_Result()
def get_Time(self):
func = self.GET_TRIPLE_INT_PROTOTYPE((self._getter_name('Time'), self.library))
hour = ctypes.c_int(0)
minute = ctypes.c_int(0)
second = ctypes.c_int(0)
func(self.interface, ctypes.pointer(hour), ctypes.pointer(minute), ctypes.pointer(second))
return [hour.value, minute.value, second.value]
def put_Time(self, time):
func = self.SET_TRIPLE_INT_PROTOTYPE((self._setter_name('Time'), self.library))
if func(self.interface, ctypes.c_int(time[0]), ctypes.c_int(time[1]), ctypes.c_int(time[2])) < 0:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Fiscal(self):
return self._get_bool('Fiscal')
def get_TestMode(self):
return self._get_bool('TestMode')
def put_TestMode(self, value):
if self._set_bool('TestMode', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_EnableCheckSumm(self):
return self._get_bool('EnableCheckSumm')
def put_EnableCheckSumm(self, value):
if self._set_bool('EnableCheckSumm', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_UserPassword(self):
return self._get_buff('UserPassword')
def put_UserPassword(self, value):
if self._set_buff('UserPassword', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Mode(self):
return self._get_int('Mode')
def put_Mode(self, value):
if self._set_int('Mode', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Alignment(self):
return self._get_int('Alignment')
def put_Alignment(self, value):
if self._set_int('Alignment', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_TextWrap(self):
return self._get_int('TextWrap')
def put_TextWrap(self, value):
if self._set_int('TextWrap', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Barcode(self):
return self._get_buff('Barcode')
def put_Barcode(self, value):
if self._set_buff('Barcode', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeType(self):
return self._get_int('BarcodeType')
def put_BarcodeType(self, value):
if self._set_int('BarcodeType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_PrintBarcodeText(self):
return self._get_bool('PrintBarcodeText')
def put_PrintBarcodeText(self, value):
if self._set_bool('PrintBarcodeText', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_SlipDocOrientation(self):
return self._get_int('SlipDocOrientation')
def put_SlipDocOrientation(self, value):
if self._set_int('SlipDocOrientation', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Scale(self):
return self._get_double('Scale')
def put_Scale(self, value):
if self._set_double('Scale', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Height(self):
return self._get_int('Height')
def put_Height(self, value):
if self._set_int('Height', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_TypeClose(self):
return self._get_int('TypeClose')
def put_TypeClose(self, value):
if self._set_int('TypeClose', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Summ(self):
return self._get_double('Summ')
def put_Summ(self, value):
if self._set_double('Summ', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_CheckType(self):
return self._get_int('CheckType')
def put_CheckType(self, value):
if self._set_int('CheckType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_CheckState(self):
return self._get_int('CheckState')
def get_CheckNumber(self):
return self._get_int('CheckNumber')
def put_CheckNumber(self, value):
if self._set_int('CheckNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_RegisterNumber(self):
return self._get_int('RegisterNumber')
def put_RegisterNumber(self, value):
if self._set_int('RegisterNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_DocNumber(self):
return self._get_int('DocNumber')
def put_DocNumber(self, value):
if self._set_int('DocNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_SessionOpened(self):
return self._get_bool('SessionOpened')
def get_Session(self):
return self._get_int('Session')
def put_Session(self, value):
if self._set_int('Session', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_CheckPaperPresent(self):
return self._get_bool('CheckPaperPresent')
def get_ControlPaperPresent(self):
return self._get_bool('ControlPaperPresent')
def get_PLUNumber(self):
return self._get_int('PLUNumber')
def put_PLUNumber(self, value):
if self._set_int('PLUNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Name(self):
return self._get_buff('Name')
def put_Name(self, value):
if self._set_buff('Name', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Price(self):
return self._get_double('Price')
def put_Price(self, value):
if self._set_double('Price', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Quantity(self):
return self._get_double('Quantity')
def put_Quantity(self, value):
if self._set_double('Quantity', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Department(self):
return self._get_int('Department')
def put_Department(self, value):
if self._set_int('Department', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_DiscountType(self):
return self._get_int('DiscountType')
def put_DiscountType(self, value):
if self._set_int('DiscountType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_ReportType(self):
return self._get_int('ReportType')
def put_ReportType(self, value):
if self._set_int('ReportType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BufferedPrint(self):
return self._get_bool('BufferedPrint')
def put_BufferedPrint(self, value):
if self._set_bool('BufferedPrint', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_InfoLine(self):
return self._get_buff('InfoLine')
def get_Model(self):
return self._get_int('Model')
def get_ClearFlag(self):
return self._get_bool('ClearFlag')
def put_ClearFlag(self, value):
if self._set_bool('ClearFlag', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FileName(self):
return self._get_buff('FileName')
def put_FileName(self, value):
if self._set_buff('FileName', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_INN(self):
return self._get_buff('INN')
def put_INN(self, value):
if self._set_buff('INN', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_MachineNumber(self):
return self._get_buff('MachineNumber')
def put_MachineNumber(self, value):
if self._set_buff('MachineNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_License(self):
return self._get_buff('License')
def put_License(self, value):
if self._set_buff('License', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_LicenseNumber(self):
return self._get_int('LicenseNumber')
def put_LicenseNumber(self, value):
if self._set_int('LicenseNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Table(self):
return self._get_int('Table')
def put_Table(self, value):
if self._set_int('Table', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Row(self):
return self._get_int('Row')
def put_Row(self, value):
if self._set_int('Row', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Field(self):
return self._get_int('Field')
def put_Field(self, value):
if self._set_int('Field', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FieldType(self):
return self._get_int('FieldType')
def put_FieldType(self, value):
if self._set_int('FieldType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_CommandBuffer(self):
return self._get_buff('CommandBuffer')
def put_CommandBuffer(self, value):
if self._set_buff('CommandBuffer', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_AnswerBuffer(self):
return self._get_buff('AnswerBuffer')
def get_DateEnd(self):
func = self.GET_TRIPLE_INT_PROTOTYPE((self._getter_name('DateEnd'), self.library))
year = ctypes.c_int(0)
month = ctypes.c_int(0)
day = ctypes.c_int(0)
func(self.interface, ctypes.pointer(day), ctypes.pointer(month), ctypes.pointer(year))
return [day.value, month.value, year.value]
def put_DateEnd(self, date):
func = self.SET_TRIPLE_INT_PROTOTYPE((self._setter_name('DateEnd'), self.library))
func(self.interface, ctypes.c_int(date[0]), ctypes.c_int(date[1]), ctypes.c_int(date[2]))
return self.get_Result()
def get_SessionEnd(self):
return self._get_int('SessionEnd')
def put_SessionEnd(self, value):
if self._set_int('SessionEnd', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_EKLZFlags(self):
return self._get_int('EKLZFlags')
def get_EKLZKPKNumber(self):
return self._get_int('EKLZKPKNumber')
def put_EKLZKPKNumber(self, value):
if self._set_int('EKLZKPKNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_UnitType(self):
return self._get_int('UnitType')
def put_UnitType(self, value):
if self._set_int('UnitType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_PictureNumber(self):
return self._get_int('PictureNumber')
def put_PictureNumber(self, value):
if self._set_int('PictureNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_LeftMargin(self):
return self._get_int('LeftMargin')
def put_LeftMargin(self, value):
if self._set_int('LeftMargin', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Memory(self):
return self._get_int('Memory')
def get_PictureState(self):
return self._get_int('PictureState')
def get_Width(self):
return self._get_int('Width')
def put_Width(self, value):
if self._set_int('Width', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Operator(self):
return self._get_int('Operator')
def put_Operator(self, value):
if self._set_int('Operator', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FontBold(self):
return self._get_bool('FontBold')
def put_FontBold(self, value):
if self._set_bool('FontBold', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FontItalic(self):
return self._get_bool('FontItalic')
def put_FontItalic(self, value):
if self._set_bool('FontItalic', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FontNegative(self):
return self._get_bool('FontNegative')
def put_FontNegative(self, value):
if self._set_bool('FontNegative', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FontUnderline(self):
return self._get_bool('FontUnderline')
def put_FontUnderline(self, value):
if self._set_bool('FontUnderline', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FontDblHeight(self):
return self._get_bool('FontDblHeight')
def put_FontDblHeight(self, value):
if self._set_bool('FontDblHeight', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FontDblWidth(self):
return self._get_bool('FontDblWidth')
def put_FontDblWidth(self, value):
if self._set_bool('FontDblWidth', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_PrintPurpose(self):
return self._get_int('PrintPurpose')
def put_PrintPurpose(self, value):
if self._set_int('PrintPurpose', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_ReceiptFont(self):
return self._get_int('ReceiptFont')
def put_ReceiptFont(self, value):
if self._set_int('ReceiptFont', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_ReceiptFontHeight(self):
return self._get_int('ReceiptFontHeight')
def put_ReceiptFontHeight(self, value):
if self._set_int('ReceiptFontHeight', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_ReceiptBrightness(self):
return self._get_int('ReceiptBrightness')
def put_ReceiptBrightness(self, value):
if self._set_int('ReceiptBrightness', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_ReceiptLinespacing(self):
return self._get_int('ReceiptLinespacing')
def put_ReceiptLinespacing(self, value):
if self._set_int('ReceiptLinespacing', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_JournalFont(self):
return self._get_int('JournalFont')
def put_JournalFont(self, value):
if self._set_int('JournalFont', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_JournalFontHeight(self):
return self._get_int('JournalFontHeight')
def put_JournalFontHeight(self, value):
if self._set_int('JournalFontHeight', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_JournalBrightness(self):
return self._get_int('JournalBrightness')
def put_JournalBrightness(self, value):
if self._set_int('JournalBrightness', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_JournalLinespacing(self):
return self._get_int('JournalLinespacing')
def put_JournalLinespacing(self, value):
if self._set_int('JournalLinespacing', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_SummPointPosition(self):
return self._get_int('SummPointPosition')
def put_SummPointPosition(self, value):
if self._set_int('SummPointPosition', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_QuantityPointPosition(self):
return self._get_int('QuantityPointPosition')
def put_QuantityPointPosition(self, value):
if self._set_int('QuantityPointPosition', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Destination(self):
return self._get_int('Destination')
def put_Destination(self, value):
if self._set_int('Destination', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_TaxNumber(self):
return self._get_int('TaxNumber')
def put_TaxNumber(self, value):
if self._set_int('TaxNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodePrintType(self):
return self._get_int('BarcodePrintType')
def put_BarcodePrintType(self, value):
if self._set_int('BarcodePrintType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeControlCode(self):
return self._get_bool('BarcodeControlCode')
def put_BarcodeControlCode(self, value):
if self._set_bool('BarcodeControlCode', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeCorrection(self):
return self._get_int('BarcodeCorrection')
def put_BarcodeCorrection(self, value):
if self._set_int('BarcodeCorrection', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeEncoding(self):
return self._get_int('BarcodeEncoding')
def put_BarcodeEncoding(self, value):
if self._set_int('BarcodeEncoding', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeEncodingMode(self):
return self._get_int('BarcodeEncodingMode')
def put_BarcodeEncodingMode(self, value):
if self._set_int('BarcodeEncodingMode', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_FeedValue(self):
return self._get_int('FeedValue')
def put_FeedValue(self, value):
if self._set_int('FeedValue', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_ClsPtr(self):
return self._get_void_ptr('ClsPtr')
def get_PixelLineLength(self):
return self._get_int('PixelLineLength')
def get_RcpPixelLineLength(self):
return self._get_int('RcpPixelLineLength')
def get_JrnPixelLineLength(self):
return self._get_int('JrnPixelLineLength')
def get_SlipPixelLineLength(self):
return self._get_int('SlipPixelLineLength')
def get_RcpCharLineLength(self):
return self._get_int('RcpCharLineLength')
def get_JrnCharLineLength(self):
return self._get_int('JrnCharLineLength')
def get_SlipCharLineLength(self):
return self._get_int('SlipCharLineLength')
def get_Count(self):
return self._get_int('Count')
def put_Count(self, value):
if self._set_int('Count', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_SlotNumber(self):
return self._get_int('SlotNumber')
def put_SlotNumber(self, value):
if self._set_int('SlotNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_DrawerOpened(self):
return self._get_bool('DrawerOpened')
def get_CoverOpened(self):
return self._get_bool('CoverOpened')
def get_BatteryLow(self):
return self._get_bool('BatteryLow')
def get_VerHi(self):
return self._get_buff('VerHi')
def get_VerLo(self):
return self._get_buff('VerLo')
def get_Build(self):
return self._get_buff('Build')
def get_Codepage(self):
return self._get_int('Codepage')
def get_LogicalNumber(self):
return self._get_int('LogicalNumber')
def put_LogicalNumber(self, value):
if self._set_int('LogicalNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Remainder(self):
return self._get_double('Remainder')
def get_Change(self):
return self._get_double('Change')
def get_OperationType(self):
return self._get_int('OperationType')
def put_OperationType(self, value):
if self._set_int('OperationType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_DiscountNumber(self):
return self._get_int('DiscountNumber')
def put_DiscountNumber(self, value):
if self._set_int('DiscountNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_CounterType(self):
return self._get_int('CounterType')
def put_CounterType(self, value):
if self._set_int('CounterType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_PowerSupplyValue(self):
return self._get_double('PowerSupplyValue')
def get_PowerSupplyState(self):
return self._get_int('PowerSupplyState')
def get_StepCounterType(self):
return self._get_int('StepCounterType')
def put_StepCounterType(self, value):
if self._set_int('StepCounterType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_PowerSupplyType(self):
return self._get_int('PowerSupplyType')
def put_PowerSupplyType(self, value):
if self._set_int('PowerSupplyType', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodePixelProportions(self):
return self._get_int('BarcodePixelProportions')
def put_BarcodePixelProportions(self, value):
if self._set_int('BarcodePixelProportions', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeProportions(self):
return self._get_int('BarcodeProportions')
def put_BarcodeProportions(self, value):
if self._set_int('BarcodeProportions', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeColumns(self):
return self._get_int('BarcodeColumns')
def put_BarcodeColumns(self, value):
if self._set_int('BarcodeColumns', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeRows(self):
return self._get_int('BarcodeRows')
def put_BarcodeRows(self, value):
if self._set_int('BarcodeRows', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodePackingMode(self):
return self._get_int('BarcodePackingMode')
def put_BarcodePackingMode(self, value):
if self._set_int('BarcodePackingMode', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeUseProportions(self):
return self._get_bool('BarcodeUseProportions')
def put_BarcodeUseProportions(self, value):
if self._set_bool('BarcodeUseProportions', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeUseRows(self):
return self._get_bool('BarcodeUseRows')
def put_BarcodeUseRows(self, value):
if self._set_bool('BarcodeUseRows', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeUseColumns(self):
return self._get_bool('BarcodeUseColumns')
def put_BarcodeUseColumns(self, value):
if self._set_bool('BarcodeUseColumns', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeUseCorrection(self):
return self._get_bool('BarcodeUseCorrection')
def put_BarcodeUseCorrection(self, value):
if self._set_bool('BarcodeUseCorrection', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeUseCodeWords(self):
return self._get_bool('BarcodeUseCodeWords')
def put_BarcodeUseCodeWords(self, value):
if self._set_bool('BarcodeUseCodeWords', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeInvert(self):
return self._get_bool('BarcodeInvert')
def put_BarcodeInvert(self, value):
if self._set_bool('BarcodeInvert', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeSave(self):
return self._get_bool('BarcodeSave')
def put_BarcodeSave(self, value):
if self._set_bool('BarcodeSave', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeDeferredPrint(self):
return self._get_bool('BarcodeDeferredPrint')
def put_BarcodeDeferredPrint(self, value):
if self._set_bool('BarcodeDeferredPrint', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_BarcodeNumber(self):
return self._get_int('BarcodeNumber')
def put_BarcodeNumber(self, value):
if self._set_int('BarcodeNumber', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_DrawerOnTimeout(self):
return self._get_int('DrawerOnTimeout')
def put_DrawerOnTimeout(self, value):
if self._set_int('DrawerOnTimeout', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_DrawerOffTimeout(self):
return self._get_int('DrawerOffTimeout')
def put_DrawerOffTimeout(self, value):
if self._set_int('DrawerOffTimeout', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_DrawerOnQuantity(self):
return self._get_int('DrawerOnQuantity')
def put_DrawerOnQuantity(self, value):
if self._set_int('DrawerOnQuantity', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Frequency(self):
return self._get_int('Frequency')
def put_Frequency(self, value):
if self._set_int('Frequency', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()
def get_Duration(self):
return self._get_int('Duration')
def put_Duration(self, value):
if self._set_int('Duration', value) is None:
self._print_result(inspect.currentframe().f_code.co_name)
return self.get_Result()