From 886833b0a8355f0b238219888cf7282fa0806a34 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 17 Dec 2013 20:43:30 -0500 Subject: [PATCH] dnp_ds40: Increase max printjob len due to 300x600 DPI mode. --- backend_dnpds40.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,