23 lines
498 B
C
23 lines
498 B
C
#ifndef PRINTER_CONFIG_H
|
|
#define PRINTER_CONFIG_H
|
|
|
|
|
|
#define TH_WIDTH 58 //打印机头点数
|
|
#define MAX_PAPERSIZE 58//头片支持纸张宽度
|
|
#define DOTMAPLINE 450*8
|
|
|
|
#define BASELINE 168
|
|
#define MAX_CODEPAGE 48
|
|
|
|
#define EVENT_Motor_Test BIT4
|
|
#define EVENT_Heat_Begin BIT5
|
|
#define EVENT_Heat_Done BIT6
|
|
#define EVENT_SPI_SEND_Begin BIT7
|
|
#define EVENT_SPI_SEND_Done BIT8
|
|
#define Heat_END_EVENT BIT9
|
|
|
|
#define EVENT_Motor_Sleep BIT20
|
|
|
|
|
|
#endif
|