#ifndef LIBPTOUCH_PROTOCOL_H
#define LIBPTOUCH_PROTOCOL_H

#include <stddef.h>
#include <stdint.h>

size_t ptouch_line_payload_bytes(unsigned head_dots);
void ptouch_fill_gf_header(uint8_t out[3], size_t line_payload_bytes);
void ptouch_fill_esc_iz(uint8_t out[13], uint8_t media_kind, uint8_t media_width,
			uint32_t raster_lines);
uint8_t ptouch_esc_ik_value(unsigned head_dots);

#endif /* LIBPTOUCH_PROTOCOL_H */
