mitsud90: Use BACKEND_FLAG_DUMMYPRINT for testing M1 processing

...This way the full pipeline can be used.
This commit is contained in:
Solomon Peachy 2024-01-11 22:11:30 -05:00
parent 1aebde2715
commit 123a357a73
1 changed files with 2 additions and 5 deletions

View File

@ -1003,7 +1003,7 @@ static int mitsud90_panorama_splitjob(struct mitsud90_printjob *injob, struct mi
overlap_rows, pad_rows,
panel_rows, panels);
return CUPS_BACKEND_OK;
return CUPS_BACKEND_OK;
}
static int mitsud90_read_parse(void *vctx, const void **vjob, int data_fd, int copies) {
@ -1279,10 +1279,6 @@ read_data:
*vjob = job;
}
/* All further work is in main loop */
if (test_mode >= TEST_MODE_NOPRINT)
mitsud90_main_loop(ctx, job, 1);
return CUPS_BACKEND_OK;
}
@ -2433,6 +2429,7 @@ static const char *mitsud90_prefixes[] = {
const struct dyesub_backend mitsud90_backend = {
.name = "Mitsubishi CP-D90/CP-M1/CP-W5000",
.version = "0.48" " (lib " LIBMITSU_VER ")",
.flags = BACKEND_FLAG_DUMMYPRINT,
.uri_prefixes = mitsud90_prefixes,
.cmdline_arg = mitsud90_cmdline_arg,
.cmdline_usage = mitsud90_cmdline,