dnpds40: DS40/DS80 cannot report/change iSerial settings.

...New firmware always reports iSerial, but can't change the setting.
This commit is contained in:
Solomon Peachy 2024-02-14 18:03:46 -05:00
parent 31b11b3708
commit 0081e77288
1 changed files with 4 additions and 0 deletions

View File

@ -1490,8 +1490,10 @@ static int dnpds40_attach(void *vctx, struct dyesub_connection *conn, uint8_t jo
ctx->supports_3x5x2 = 1;
if (FW_VER_CHECK(1,60))
ctx->supports_fullcut = ctx->supports_6x6 = 1; // No 5x5!
#if 0 /* Printer _always_ reports iSerial */
if (FW_VER_CHECK(1,70))
ctx->supports_iserial = 1;
#endif
break;
case P_DNP_DS80:
case P_DNP_DS80D:
@ -1501,8 +1503,10 @@ static int dnpds40_attach(void *vctx, struct dyesub_connection *conn, uint8_t jo
ctx->supports_counterp = 1;
if (FW_VER_CHECK(1,30))
ctx->supports_matte = 1;
#if 0 /* Printer _always_ reports iSerial */
if (FW_VER_CHECK(1,42))
ctx->supports_iserial = 1;
#endif
break;
case P_DNP_DSRX1:
ctx->native_width = 1920;