sekito: fix printer

This commit is contained in:
2025-09-30 20:13:18 +02:00
parent 84362a2839
commit e6e1171a5f
2 changed files with 3 additions and 7 deletions

View File

@ -100,7 +100,7 @@ int WINAPI chcusb_imageformat_330(
uint16_t width,
uint16_t height,
uint16_t *rResult);
int __fastcall chcusb_setmtf(int32_t *mtf);
int WINAPI chcusb_setmtf(int32_t *mtf);
int WINAPI chcusb_makeGamma(uint16_t k, uint8_t *intoneR, uint8_t *intoneG, uint8_t *intoneB);
int WINAPI chcusb_setIcctable(
LPCSTR icc1,
@ -2672,7 +2672,7 @@ int WINAPI chcusb_imageformat_330(
return 1;
}
int __fastcall chcusb_setmtf(int32_t *mtf) {
int WINAPI chcusb_setmtf(int32_t *mtf) {
dprintf("Printer: C3XXusb: %s\n", __func__);
memcpy(MTF, mtf, sizeof(MTF));
@ -3492,9 +3492,7 @@ void printer_set_dimensions(int width, int height){
int WINAPI chcusb_writeIred(uint8_t* a1, uint8_t* a2, uint16_t* rResult) {
dprintf("Printer: C3XXusb: %s, %p, %p\n", __func__, a1, a2);
dump(a1, 16);
dump(a2, 16);
dprintf("Printer: C3XXusb: %s\n", __func__);
*rResult = 0;
return 1;
}

View File

@ -83,8 +83,6 @@ enable=1
serial_no="5A-A123"
; Insert the path to the image output directory here.
printerOutPath="DEVICE\print"
; Rotate all printed images by 180 degrees.
rotate180=1
[gfx]
; Enables the graphics hook.