Obviously, RAW scanning is completely disabled on purpose. In ledm.c I found the following in function set_scan_mode_side_effects:
switch (scanMode) { case CE_K1: /* same as GRAY8 */ case CE_GRAY8: case CE_COLOR8: default: // ps->compressionList[j] = STR_COMPRESSION_NONE; // ps->compressionMap[j++] = SF_RAW; ps->compressionList[j] = STR_COMPRESSION_JPEG; ps->compressionMap[j++] = SF_JPEG; ps->currentCompression = SF_JPEG; ps->option[LEDM_OPTION_JPEG_QUALITY].cap |= SANE_CAP_SOFT_SELECT; /* enable jpeg quality */ break; } Obviously, anything other than JPEG is disallowed. Enabling these two lines lets me select compression "none" without problems, but I still get the JPEG artifacts. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/1245578 Title: cannot disable JPEG compression when scanning (Deskjet 3520 All-in- one) Status in “hplip” package in Ubuntu: New Bug description: I've already filed a "question" (https://answers.launchpad.net/hplip/+question/238002), but I came to the conclusion it's indeed a bug. I have a Deskjet 3520 All-in-one and no matter what I do, scans always arrive with JPEG artifacts. For example, with hp-scan, when I disable compression, I get the following error message: "error: Unable to set option compression to value None" When running XSane, in the advanced settings menu, I get JPEG as only compression option. Manually setting the compression to "none" in the drc file has no positive effect either. In any case, scans arrive with severe JPEG artifacts. Used hplip version is 3.13.10 on Kubuntu 13.10. I've attached the output of hp-check. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1245578/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp