On WIA system UI, how to disable/enable Preview or scan images as separate files option?

Haiyong Liang 1 Reputation point
2022-10-31T07:19:06.837+00:00

I am developing a WIA minidriver. I want to disable the preview or scan images as separate files option because now I don't have to accomplish the function in my driver.
I rember this option was disable by default on my WIA1.0 driver. I don't know which WIA feature or property controls this option's check status.

Can anyone help, please?

Thank you very much.

Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
640 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 43,931 Reputation points
    2022-11-01T13:32:14.76+00:00

    Hello,

    It is possible that the confusion comes as the property WIA_DPS_SHOW_PREVIEW_CONTROL has been replaced by WIA_IPS_SHOW_PREVIEW_CONTROL

    Reference:
    WIA_DPS_SHOW_PREVIEW_CONTROL (Obsolete):
    https://learn.microsoft.com/lb-lu/windows-hardware/drivers/image/wia-dps-show-preview-control

    WIA_IPS_SHOW_PREVIEW_CONTROL (Current)
    https://learn.microsoft.com/lb-lu/windows-hardware/drivers/image/wia-ips-show-preview-control

    About the file split you can use the next property:
    WIA_IPS_LONG_DOCUMENT
    https://learn.microsoft.com/sr-cyrl-rs/windows-hardware/drivers/image/wia-ips-long-document

    ----------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Haiyong Liang 1 Reputation point
    2022-11-02T00:29:44.803+00:00

    Thank you for your help.
    I tried to use obsolete WIA_DPS_SHOW_PREVIEW_CONTROL to replace current property WIA_IPS_SHOW_PREVIEW_CONTROL , but get same result. I set WIA_DONT_SHOW_PREVIEW_CONTROL to this property, the button "Preview" gets to disabled but the option "preview or scan images as separate files" is still valid and checked.

    I am afraid IWIA_IPS_LONG_DOCUMENT won't help me because it only for Feeder data.

    Is there any other ways to help to resolve this?

    If this option is enabled and checked by defalut, it will scan two times (first is preview without saving docment, the second one is scan with saving scanned document) when user clicks "Scan" button. It meybe a bad experience.

    0 comments No comments