IR printer functions.
More...
IR printer functions.
At this time supports HP-82240 compatible printers only.
◆ print_buffer()
void print_buffer |
( |
uint8_t * |
buf, |
|
|
int |
cnt |
|
) |
| |
Send bytes to printer.
- Parameters
-
buf | Bytes to send |
cnt | Number of bytes to send |
◆ print_byte()
void print_byte |
( |
uint8_t |
b | ) |
|
Send byte to printer.
- Parameters
-
◆ print_is_ready()
Check whether IR hw is ready for send.
- Returns
- (0/1) 1 = IR hw is ready
◆ printer_advance_buf()
void printer_advance_buf |
( |
int |
what | ) |
|
Add line type to printer buffer emulation.
- Parameters
-
◆ printer_busy_for()
int printer_busy_for |
( |
int |
what | ) |
|
Wait until printer buffer is free for given line type.
- Parameters
-
◆ printer_get_delay()
uint printer_get_delay |
( |
| ) |
|
Returns current printer line delay.
- Returns
- [ms] Printer line delay
◆ printer_set_delay()
void printer_set_delay |
( |
uint |
val | ) |
|
Sets printer line delay.
- Parameters
-
val | [ms] Printer line delay |