gstoraster: Support for PCLm output format
Check for FINAL_CONTENT_TYPE=application/PCLm to tell the
ghostscript() filter function that we want to have PCLm output.
@@ -64,6 +64,8 @@ main(int argc, /* I - Number of command-line args */
outformat = OUTPUT_FORMAT_PWG_RASTER;
else if (strcasestr(t, "urf"))
outformat = OUTPUT_FORMAT_APPLE_RASTER;
+ else if (strcasestr(t, "pclm"))
+ outformat = OUTPUT_FORMAT_PCLM;
}
ret = filterCUPSWrapper(argc, argv, ghostscript, &outformat, &JobCanceled);
