TIM SDK
TIM API C
|
|
Print data.
Object type print_data.
Functions | |
ta_e_result_code_t | ta_print_data_get_receipts (ta_object_t print_data, ta_object_t *receipts) |
Receipts to print by the ECR. More... | |
ta_e_result_code_t | ta_print_data_get_receipt_items (ta_object_t print_data, ta_object_t *items) |
Receipt items for the ECR to create receipts for printing. More... | |
ta_e_result_code_t ta_print_data_get_receipt_items | ( | ta_object_t | print_data, |
ta_object_t * | items | ||
) |
Receipt items for the ECR to create receipts for printing.
Present if print type is FieldsOnly.
[in] | print_data | Object instance of type print_data. |
[out] | items | Pointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type receipt_items. |
ta_c_rc_ok | Object instance written to items. |
ta_c_rc_invalid_argument | print_data is ta_object_invalid. |
ta_c_rc_invalid_argument | print_data is not of type print_data. |
ta_c_rc_invalid_argument | items is null-pointer. |
ta_e_result_code_t ta_print_data_get_receipts | ( | ta_object_t | print_data, |
ta_object_t * | receipts | ||
) |
Receipts to print by the ECR.
Present if print type is Normal.
[in] | print_data | Object instance of type print_data. |
[out] | receipts | Pointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type receipt. |
ta_c_rc_ok | Object instance written to receipts. |
ta_c_rc_invalid_argument | print_data is ta_object_invalid. |
ta_c_rc_invalid_argument | print_data is not of type print_data. |
ta_c_rc_invalid_argument | receipts is null-pointer. |