SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Connect Fujitsu ScanSnap S1500 2. Start skanpage and try to set format DIN A4 3. DIN A4 is missing, although explicitly supported by scanner OBSERVED RESULT no predefined format DIN A4 EXPECTED RESULT DIN A4 (along with DIN A5 and many other formats, which are predefined) present in preconfigured formats SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: openSUSE Tumbleweed (available in About System) KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 ADDITIONAL INFORMATION
Can you look up the maximum x and y values the scanner reports? I.e. the max values of the top-left x/y and bottom-right x/y options in Skanpage.
Please provide the requested information
(In reply to Alexander Stippich from comment #1) > Can you look up the maximum x and y values the scanner reports? I.e. the max > values of the top-left x/y and bottom-right x/y options in Skanpage. I guess the information is contained as the maximum numbers int the settings area: Top-Left x: 0,00 mm Top-left y: 0,00 mm Bottom-right x: 210,01 mm Bottom-right y: 296,99 mm However, the scanner can also scan Letter formats and it is not a flat-bed scanner, so in general can scan pages of any length...
Thanks! One more question for clarification: The A4 format does not appear at all in the dropdown list for the scan sizes, correct?
Hi, correct the selectable scan area sizes are: Custom (this is what I use) A5 A6 Letter / Ansi A B5 B6 Envelop C5 Envelop US 10 Envelop DL Executive (7.5 x 10 in) JIS B5 JIS B6 Landscape A5 Landscape A6 Landscape B6 Landscape JIS B6 Thanks, Johannes
Weird. Your scanner does report a length too small for DIN A4 by 0.1 mm. But for this we apply a 2 mm margin anyways and I cannot see why DIN A4 shouldn't be listed. It works for me when hardcoding these values...
Could you please run Skanpage 24.05 from command line using "-o /absolute/path/to/a/file.txt" as an argument? This way, a list of options gets dumped to a JSON file for the folder you specified. Could you share this file with me?
I executed the command according to your command: { "options": { "KSane::BatchMode": { "Current value": "false", "Description": "Enables batch mode scanning. Continues scanning after a delay until canceled.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Batch mode with time delay", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 0 }, "KSane::BatchTimeDelay": { "Current value": "10", "Description": "Specify the time delay between each scan when batch mode is enabled.", "Internal value list": [ ], "Max value": "300", "Min value": "0", "State": "StateActive", "Step value": "1", "Title": "Batch mode time delay", "Type": "TypeInteger", "Unit": "UnitSecond", "Value list": [ ], "Value size": 0 }, "KSane::InvertColors": { "Current value": "false", "Description": "Invert the colors of the scanned image.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Invert colors", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 0 }, "KSane::PageSize": { "Current value": "Custom", "Description": "Select a predefined page size for the scanning area.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Scan area size", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Custom", "A5", "A6", "Letter / ANSI A", "B5", "B6", "Envelope C5", "Envelope US 10", "Envelope DL", "Executive (7.5 x 10 in)", "JIS B5", "JIS B6", "Landscape A5", "Landscape A6", "Landscape B6", "Landscape JIS B6" ], "Value size": 0 }, "a3-paper": { "Current value": "false", "Description": "A3 paper detected", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "A3 paper", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "a4-paper": { "Current value": "false", "Description": "A4 paper detected", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "A4 paper", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "adv-paper-protect": { "Current value": "", "Description": "Request scanner to predict jams in the ADF using improved sensors", "Internal value list": [ "Default", "Off", "On" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Advanced paper protection", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Off", "On" ], "Value size": 2 }, "advanced": { "Current value": "", "Description": "Hardware specific options", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Advanced", "Type": "TypeDetectFail", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "ald": { "Current value": "true", "Description": "Scanner detects paper lower edge. May confuse some frontends.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Auto length detection", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "awd": { "Current value": "", "Description": "Scanner detects paper sides. May reduce scanning speed.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Auto width detection", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "b4-paper": { "Current value": "false", "Description": "B4 paper detected", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "B4 paper", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "b5-paper": { "Current value": "false", "Description": "B5 paper detected", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "B5 paper", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "bgcolor": { "Current value": "", "Description": "Set color of background for scans. May conflict with overscan option", "Internal value list": [ "Default", "White", "Black" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Background color", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "White", "Black" ], "Value size": 2 }, "blueoffset": { "Current value": "", "Description": "Adjust blue/red offset", "Internal value list": [ ], "Max value": "16", "Min value": "-16", "State": "StateHidden", "Step value": "1", "Title": "Blue offset", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "bp-filter": { "Current value": "", "Description": "Improves quality of high resolution ball-point pen text", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "BP filter", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "br-x": { "Current value": "210.00978088378906", "Description": "Bottom-right x position of scan area.", "Internal value list": [ ], "Max value": "210.00978088378906", "Min value": "0", "State": "StateActive", "Step value": "0.0211639404296875", "Title": "Bottom-right x", "Type": "TypeDouble", "Unit": "UnitMilliMeter", "Value list": [ ], "Value size": 1 }, "br-y": { "Current value": "296.9935760498047", "Description": "Bottom-right y position of scan area.", "Internal value list": [ ], "Max value": "296.9935760498047", "Min value": "0", "State": "StateActive", "Step value": "0.0211639404296875", "Title": "Bottom-right y", "Type": "TypeDouble", "Unit": "UnitMilliMeter", "Value list": [ ], "Value size": 1 }, "brightness": { "Current value": "0", "Description": "Controls the brightness of the acquired image.", "Internal value list": [ ], "Max value": "127", "Min value": "-127", "State": "StateActive", "Step value": "1", "Title": "Brightness", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "buffermode": { "Current value": "Off", "Description": "Request scanner to read pages quickly from ADF into internal memory", "Internal value list": [ "Default", "Off", "On" ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Buffer mode", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Off", "On" ], "Value size": 2 }, "card-loaded": { "Current value": "", "Description": "Card slot contains paper", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Card loaded", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "compression": { "Current value": "", "Description": "Enable compressed data. May crash your front-end program", "Internal value list": [ "None" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Compression", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "None" ], "Value size": 1 }, "compression-arg": { "Current value": "", "Description": "Level of JPEG compression. 1 is small file, 7 is large file. 0 (default) is same as 4", "Internal value list": [ ], "Max value": "7", "Min value": "0", "State": "StateHidden", "Step value": "1", "Title": "Compression argument", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "contrast": { "Current value": "0", "Description": "Controls the contrast of the acquired image.", "Internal value list": [ ], "Max value": "127", "Min value": "-127", "State": "StateActive", "Step value": "1", "Title": "Contrast", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "cover-open": { "Current value": "false", "Description": "Cover open", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Cover open", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "density": { "Current value": "", "Description": "Density dial", "Internal value list": [ ], "Max value": "2147483647", "Min value": "-2147483648", "State": "StateHidden", "Step value": "1", "Title": "Density", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "df-action": { "Current value": "Default", "Description": "Action following double feed error", "Internal value list": [ "Default", "Continue", "Stop" ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "DF action", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Continue", "Stop" ], "Value size": 2 }, "df-diff": { "Current value": "", "Description": "Difference in page length to trigger double feed error", "Internal value list": [ "Default", "10mm", "15mm", "20mm" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "DF length difference", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "10mm", "15mm", "20mm" ], "Value size": 2 }, "df-length": { "Current value": "", "Description": "Enable double feed error due to paper length", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "DF length", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "df-recovery": { "Current value": "", "Description": "Request scanner to reverse feed on paper jam", "Internal value list": [ "Default", "Off", "On" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "DF recovery mode", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Off", "On" ], "Value size": 2 }, "df-skew": { "Current value": "", "Description": "Enable double feed error due to skew", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "DF skew", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "df-thickness": { "Current value": "", "Description": "Enable double feed error due to paper thickness", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "DF thickness", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "double-feed": { "Current value": "false", "Description": "Double feed detected", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Double feed", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "dropoutcolor": { "Current value": "", "Description": "One-pass scanners use only one color during gray or binary scanning, useful for colored paper or ink", "Internal value list": [ "Default", "Red", "Green", "Blue" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Dropout color", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Red", "Green", "Blue" ], "Value size": 2 }, "duplex": { "Current value": "", "Description": "Duplex switch", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Duplex switch", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "duplexoffset": { "Current value": "", "Description": "Adjust front/back offset", "Internal value list": [ ], "Max value": "16", "Min value": "-16", "State": "StateHidden", "Step value": "1", "Title": "Duplex offset", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "email": { "Current value": "false", "Description": "Email button", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Email button", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "emphasis": { "Current value": "0", "Description": "Negative to smooth or positive to sharpen image", "Internal value list": [ ], "Max value": "127", "Min value": "-128", "State": "StateActive", "Step value": "1", "Title": "Emphasis", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "endorser": { "Current value": "", "Description": "Enable endorser unit", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Endorser", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "endorser-bits": { "Current value": "", "Description": "Determines maximum endorser counter value.", "Internal value list": [ ], "Max value": "24", "Min value": "16", "State": "StateHidden", "Step value": "8", "Title": "Endorser bits", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "endorser-dir": { "Current value": "", "Description": "Endorser printing direction.", "Internal value list": [ "Top to bottom", "Bottom to top" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Endorser direction", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Top to bottom", "Bottom to top" ], "Value size": 3 }, "endorser-font": { "Current value": "", "Description": "Endorser printing font.", "Internal value list": [ "Horizontal", "Horizontal bold", "Horizontal narrow", "Vertical", "Vertical bold" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Endorser font", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Horizontal", "Horizontal bold", "Horizontal narrow", "Vertical", "Vertical bold" ], "Value size": 4 }, "endorser-options": { "Current value": "", "Description": "Controls for endorser unit", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Endorser Options", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "endorser-side": { "Current value": "", "Description": "Endorser printing side, requires hardware support to change", "Internal value list": [ "Front", "Back" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Endorser side", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Front", "Back" ], "Value size": 1 }, "endorser-step": { "Current value": "", "Description": "Change endorser counter value by this much for each page.", "Internal value list": [ ], "Max value": "2", "Min value": "-2", "State": "StateHidden", "Step value": "1", "Title": "Endorser step", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "endorser-string": { "Current value": "", "Description": "Endorser alphanumeric print format. %05ud or %08ud at the end will be replaced by counter value.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Endorser string", "Type": "TypeString", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "endorser-val": { "Current value": "", "Description": "Initial endorser counter value.", "Internal value list": [ ], "Max value": "65535", "Min value": "0", "State": "StateHidden", "Step value": "1", "Title": "Endorser value", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "endorser-y": { "Current value": "", "Description": "Endorser print offset from top of paper.", "Internal value list": [ ], "Max value": "296.9935760498047", "Min value": "0", "State": "StateHidden", "Step value": "0.0211639404296875", "Title": "Endorser Y", "Type": "TypeDouble", "Unit": "UnitMilliMeter", "Value list": [ ], "Value size": 1 }, "enhancement": { "Current value": "", "Description": "Image modification options", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Enhancement", "Type": "TypeDetectFail", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "error-code": { "Current value": "0", "Description": "Hardware error code", "Internal value list": [ ], "Max value": "2147483647", "Min value": "-2147483648", "State": "StateDisabled", "Step value": "1", "Title": "Error code", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "function": { "Current value": "1", "Description": "Function character on screen", "Internal value list": [ ], "Max value": "2147483647", "Min value": "-2147483648", "State": "StateDisabled", "Step value": "1", "Title": "Function", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "gamma": { "Current value": "", "Description": "Changes intensity of midtones", "Internal value list": [ ], "Max value": "5", "Min value": "0.29998779296875", "State": "StateHidden", "Step value": "0.0099945068359375", "Title": "Gamma function exponent", "Type": "TypeDouble", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "gamma-curve": { "Current value": "", "Description": "Gamma curve, from light to dark, but upper two may not work", "Internal value list": [ ], "Max value": "3", "Min value": "0", "State": "StateHidden", "Step value": "1", "Title": "Gamma curve", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "geometry": { "Current value": "", "Description": "Scan area and media size options", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Geometry", "Type": "TypeDetectFail", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "greenoffset": { "Current value": "", "Description": "Adjust green/red offset", "Internal value list": [ ], "Max value": "16", "Min value": "-16", "State": "StateHidden", "Step value": "1", "Title": "Green offset", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "halt-on-cancel": { "Current value": "", "Description": "Request driver to halt the paper feed instead of eject during a cancel.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Halt on Cancel", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "ht-pattern": { "Current value": "", "Description": "Control pattern of halftone filter", "Internal value list": [ ], "Max value": "3", "Min value": "0", "State": "StateHidden", "Step value": "1", "Title": "Halftone pattern", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "ht-type": { "Current value": "", "Description": "Control type of halftone filter", "Internal value list": [ "Default", "Dither", "Diffusion" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Halftone type", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Dither", "Diffusion" ], "Value size": 2 }, "hwdeskewcrop": { "Current value": "", "Description": "Request scanner to rotate and crop pages digitally.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Hardware deskew and crop", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "ink-low": { "Current value": "", "Description": "Imprinter ink running low", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Ink low", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "ink-remain": { "Current value": "", "Description": "Imprinter ink level", "Internal value list": [ ], "Max value": "2147483647", "Min value": "-2147483648", "State": "StateHidden", "Step value": "1", "Title": "Ink remaining", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "lowmemory": { "Current value": "false", "Description": "Limit driver memory usage for use in embedded systems. Causes some duplex transfers to alternate sides on each call to sane_read. Value of option 'side' can be used to determine correct image. This option should only be used with custom front-end software.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Low Memory", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "manual-feed": { "Current value": "false", "Description": "Manual feed selected", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Manual feed", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "matrix-2x2": { "Current value": "", "Description": "Remove 2 pixel square noise", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Matrix 2x2", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "matrix-3x3": { "Current value": "", "Description": "Remove 3 pixel square noise", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Matrix 3x3", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "matrix-4x4": { "Current value": "", "Description": "Remove 4 pixel square noise", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Matrix 4x4", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "matrix-5x5": { "Current value": "", "Description": "Remove 5 pixel square noise", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Matrix 5x5", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "mirroring": { "Current value": "", "Description": "Reflect output image horizontally", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Mirroring", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "mode": { "Current value": "Color", "Description": "Selects the scan mode (e.g., lineart, monochrome, or color).", "Internal value list": [ "Lineart", "Halftone", "Gray", "Color" ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Scan mode", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Lineart", "Halftone", "Gray", "Color" ], "Value size": 2 }, "noise-removal": { "Current value": "", "Description": "Noise removal", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Noise removal", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "offtimer": { "Current value": "", "Description": "Time in minutes until the internal power supply switches the scanner off. Will be rounded to nearest 15 minutes. Zero means never power off.", "Internal value list": [ ], "Max value": "960", "Min value": "0", "State": "StateHidden", "Step value": "1", "Title": "Off timer", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "omr-df": { "Current value": "false", "Description": "OMR or double feed detected", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "OMR or DF", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "outline": { "Current value": "", "Description": "Perform outline extraction", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Outline", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "overscan": { "Current value": "", "Description": "Collect a few mm of background on top side of scan, before paper enters ADF, and increase maximum scan area beyond paper size, to allow collection on remaining sides. May conflict with bgcolor option", "Internal value list": [ "Default", "Off", "On" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Overscan", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Off", "On" ], "Value size": 2 }, "page-height": { "Current value": "296.993576", "Description": "Specifies the height of the media.", "Internal value list": [ ], "Max value": "876.695068359375", "Min value": "0", "State": "StateActive", "Step value": "0.0211639404296875", "Title": "Page height", "Type": "TypeDouble", "Unit": "UnitMilliMeter", "Value list": [ ], "Value size": 1 }, "page-loaded": { "Current value": "false", "Description": "Page loaded", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Page loaded", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "page-width": { "Current value": "210.009781", "Description": "Specifies the width of the media. Required for automatic centering of sheet-fed scans.", "Internal value list": [ ], "Max value": "221.120849609375", "Min value": "0", "State": "StateActive", "Step value": "0.0211639404296875", "Title": "Page width", "Type": "TypeDouble", "Unit": "UnitMilliMeter", "Value list": [ ], "Value size": 1 }, "paper-protect": { "Current value": "", "Description": "Request scanner to predict jams in the ADF", "Internal value list": [ "Default", "Off", "On" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Paper protection", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Off", "On" ], "Value size": 2 }, "power-save": { "Current value": "false", "Description": "Scanner in power saving mode", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Power saving", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "prepick": { "Current value": "", "Description": "Request scanner to grab next page from ADF", "Internal value list": [ "Default", "Off", "On" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Prepick", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Off", "On" ], "Value size": 2 }, "resolution": { "Current value": "300", "Description": "Sets the resolution of the scanned image.", "Internal value list": [ ], "Max value": "600", "Min value": "50", "State": "StateActive", "Step value": "1", "Title": "Scan resolution", "Type": "TypeInteger", "Unit": "UnitDPI", "Value list": [ ], "Value size": 1 }, "rif": { "Current value": "false", "Description": "Reverse image format", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "RIF", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "scan": { "Current value": "false", "Description": "Scan button", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Scan button", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "sensors": { "Current value": "", "Description": "Scanner sensors and buttons", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Sensors", "Type": "TypeDetectFail", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "separation": { "Current value": "", "Description": "Enable automatic separation of image and text", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Separation", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "side": { "Current value": "false", "Description": "Tells which side (0=front, 1=back) of a duplex scan the next call to sane_read will return.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Duplex side", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "skew-angle": { "Current value": "0", "Description": "Requires black background for scanning", "Internal value list": [ ], "Max value": "2147483647", "Min value": "-2147483648", "State": "StateDisabled", "Step value": "1", "Title": "Skew angle", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "sleeptimer": { "Current value": "0", "Description": "Time in minutes until the internal power supply switches to sleep mode", "Internal value list": [ ], "Max value": "60", "Min value": "0", "State": "StateActive", "Step value": "1", "Title": "Sleep timer", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "smoothing": { "Current value": "", "Description": "Enable smoothing for improved OCR", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Smoothing", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "source": { "Current value": "ADF Front", "Description": "Selects the scan source (such as a document-feeder).", "Internal value list": [ "ADF Front", "ADF Back", "ADF Duplex" ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Scan source", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "ADF Front", "ADF Back", "ADF Duplex" ], "Value size": 2 }, "standard": { "Current value": "", "Description": "Source, mode and resolution options", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Standard", "Type": "TypeDetectFail", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "staple-detect": { "Current value": "", "Description": "Request scanner to detect jams in the ADF caused by staples", "Internal value list": [ "Default", "Off", "On" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Staple detection", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "Off", "On" ], "Value size": 2 }, "swcrop": { "Current value": "false", "Description": "Request driver to remove border from pages digitally.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Software crop", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "swdeskew": { "Current value": "false", "Description": "Request driver to rotate skewed pages digitally.", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateActive", "Step value": "", "Title": "Software deskew", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "swdespeck": { "Current value": "0", "Description": "Maximum diameter of lone dots to remove from scan.", "Internal value list": [ ], "Max value": "9", "Min value": "0", "State": "StateActive", "Step value": "1", "Title": "Software despeckle diameter", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "swskip": { "Current value": "0", "Description": "Request driver to discard pages with low percentage of dark pixels", "Internal value list": [ ], "Max value": "100", "Min value": "0", "State": "StateActive", "Step value": "0.100006103515625", "Title": "Software blank skip percentage", "Type": "TypeDouble", "Unit": "UnitPercent", "Value list": [ ], "Value size": 1 }, "threshold": { "Current value": "", "Description": "Select minimum-brightness to get a white point", "Internal value list": [ ], "Max value": "255", "Min value": "0", "State": "StateHidden", "Step value": "1", "Title": "Threshold", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "threshold-curve": { "Current value": "", "Description": "Threshold curve, from light to dark, but upper two may not be linear", "Internal value list": [ ], "Max value": "7", "Min value": "0", "State": "StateHidden", "Step value": "1", "Title": "Threshold curve", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "threshold-white": { "Current value": "", "Description": "Set pixels equal to threshold to white instead of black", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "Threshold white", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "tl-x": { "Current value": "0", "Description": "Top-left x position of scan area.", "Internal value list": [ ], "Max value": "210.00978088378906", "Min value": "0", "State": "StateActive", "Step value": "0.0211639404296875", "Title": "Top-left x", "Type": "TypeDouble", "Unit": "UnitMilliMeter", "Value list": [ ], "Value size": 1 }, "tl-y": { "Current value": "0", "Description": "Top-left y position of scan area.", "Internal value list": [ ], "Max value": "296.9935760498047", "Min value": "0", "State": "StateActive", "Step value": "0.0211639404296875", "Title": "Top-left y", "Type": "TypeDouble", "Unit": "UnitMilliMeter", "Value list": [ ], "Value size": 1 }, "top-edge": { "Current value": "false", "Description": "Paper is pulled partly into ADF", "Internal value list": [ ], "Max value": "", "Min value": "", "State": "StateDisabled", "Step value": "", "Title": "Top edge", "Type": "TypeBool", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "variance": { "Current value": "0", "Description": "Set SDTC variance rate (sensitivity), 0 equals 127", "Internal value list": [ ], "Max value": "255", "Min value": "0", "State": "StateActive", "Step value": "1", "Title": "Variance", "Type": "TypeInteger", "Unit": "UnitNone", "Value list": [ ], "Value size": 1 }, "wl-follow": { "Current value": "", "Description": "Control white level follower", "Internal value list": [ "Default", "On", "Off" ], "Max value": "", "Min value": "", "State": "StateHidden", "Step value": "", "Title": "White level follower", "Type": "TypeValueList", "Unit": "UnitNone", "Value list": [ "Default", "On", "Off" ], "Value size": 2 } }, "scanner": { "deviceModel": "", "deviceName": "fujitsu:ScanSnap S1500:55292", "deviceVendor": "" } }
Thanks. I think I have found the issue. Would you be able to test a patch for KSaneCore? I cannot test since I do not have a scanner with this issue at hand.
Yes, of course I would like to help. Let's try...
A possibly relevant merge request was started @ https://invent.kde.org/libraries/ksanecore/-/merge_requests/22
If possible, please test the branch in the linked merge request
Hi, I downloaded the master-branch and compiled it. Then I get the ksanecore-master/build/bin/libKSaneCore.so (and other 2) libraries. Shall I copy those libraries over the default installed ones? Or can I test with another method? Thanks, Johannes
You may overwrite your system files with make install (you may need to configure the path to your system files properly). However, this is not recommended for development. Have a look at https://community.kde.org/Get_Involved/development and kdesrc-build to create a separate install of KSaneCore and Skanpage that will leave your system files untouched. So in case something is not working, your normal system installation is not affected.
Hello, the test will take some time, because setting up the KDE Development with kdesrc-build throws errors (on OpenSuse TW) and I could also not compile skanpage, giving this errors: - Found KF6I18n: /usr/lib64/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.5.0") -- Could NOT find KF6Kirigami2 (missing: KF6Kirigami2_DIR) -- Could NOT find KF6Kirigami2: found neither KF6Kirigami2Config.cmake nor kf6kirigami2-config.cmake -- Could NOT find KF6Crash (missing: KF6Crash_DIR) -- Could NOT find KF6Crash: found neither KF6CrashConfig.cmake nor kf6crash-config.cmake -- Found KF6Config: /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake (found version "6.5.0") -- Could NOT find KF6Purpose (missing: KF6Purpose_DIR) -- Could NOT find KF6Purpose: found neither KF6PurposeConfig.cmake nor kf6purpose-config.cmake -- Could NOT find KF6XmlGui (missing: KF6XmlGui_DIR) -- Could NOT find KF6XmlGui: found neither KF6XmlGuiConfig.cmake nor kf6xmlgui-config.cmake CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find KF6 (missing: Kirigami2 Crash Purpose XmlGui) (found suitable version "6.5.0", minimum required is "6.0.0") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) /usr/share/ECM/find-modules/FindKF6.cmake:93 (find_package_handle_standard_args) CMakeLists.txt:41 (find_package) -- Configuring incomplete, errors occurred! and after changing KF6Kirigami2 to KF6 Kirigamie: johannes@Johannes00:~/Projects/skanpage-master/build> cmake .. CMake Warning (dev) at /usr/lib64/cmake/KF6Kirigami2/KF6Kirigami2Config.cmake:38 (message): find_package(KF6Kirigami2) is deprecated, use find_package(KF6Kirigami) instead Call Stack (most recent call first): /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package) CMakeLists.txt:41 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.
It seems that kdesrc-build is not able to compile the dependencies, which I think it should do and should stop if it cannot build the dependencies. Maybe some dependencies for the required KDE frameworks are missing?
Created attachment 172826 [details] output of skanpage Hello, I did the following: -compile skanpage with the command "kdesrc-build skanpage": no errors -run skanpage with kdesrc-build --run skanpage -o skanpage.txt I still cannot see the DIN-A4 size. :-( the above mentioned file skanpage.txt I appended to this message. Thank you, Johannes
Have you applied the branch of the linked merge request to the ksanecore build? And many thanks for your efforts!
Git commit 34595f69912b4a82d60f6a6bfbde60c6fd9e8353 by Alexander Stippich. Committed on 14/09/2024 at 09:06. Pushed by astippich into branch 'master'. take page height and width options into account when available Related: bug 460262 M +10 -1 src/interface_p.cpp M +17 -1 src/options/pagesizeoption.cpp M +9 -5 src/options/pagesizeoption.h https://invent.kde.org/libraries/ksanecore/-/commit/34595f69912b4a82d60f6a6bfbde60c6fd9e8353