diff --git a/backend_dnpds40.c b/backend_dnpds40.c index 0c19c4b..500de90 100644 --- a/backend_dnpds40.c +++ b/backend_dnpds40.c @@ -323,7 +323,7 @@ static void dnpds40_teardown(void *vctx) { free(ctx); } -#define MAX_PRINTJOB_LEN (27927714+1024) // Add a little bit of padding +#define MAX_PRINTJOB_LEN (((2448*7536+1024+54))*3+1024) /* Worst-case */ static int dnpds40_read_parse(void *vctx, int data_fd) { struct dnpds40_ctx *ctx = vctx; @@ -902,7 +902,7 @@ static int dnpds40_cmdline_arg(void *vctx, int run, char *arg1, char *arg2) /* Exported */ struct dyesub_backend dnpds40_backend = { .name = "DNP DS40/DS80", - .version = "0.18", + .version = "0.19", .uri_prefix = "dnpds40", .cmdline_usage = dnpds40_cmdline, .cmdline_arg = dnpds40_cmdline_arg,