- sprintf(buf, "%f", (double)jpeg_dpi/(double)zoom);
- storeDeviceParameter(p, "jpegsubpixels", buf);
- sprintf(buf, "%f", (double)ppm_dpi/(double)zoom);
- storeDeviceParameter(p, "ppmsubpixels", buf);
- } else if(!strcmp(name, "jpegdpi")) {
- char buf[80];
- jpeg_dpi = atoi(value);
- sprintf(buf, "%f", (double)jpeg_dpi/(double)zoom);
- storeDeviceParameter(p, "jpegsubpixels", buf);
- } else if(!strcmp(name, "ppmdpi")) {
- char buf[80];
- ppm_dpi = atoi(value);
- sprintf(buf, "%f", (double)ppm_dpi/(double)zoom);
- storeDeviceParameter(p, "ppmsubpixels", buf);
+ } else if(!strcmp(name, "jpegdpi") || !strcmp(name, "ppmdpi")) {
+ msg("<error> %s not supported anymore. Please use jpegsubpixels/ppmsubpixels");