TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Can be the lamp warm up disable via twain functions ?

Forums › TWAIN Classic › Can be the lamp warm up disable via twain functions ?

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 10 months ago by gabe.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 13, 2008 at 10:15 pm #22301 Reply
    pirulo_1979
    Participant
    • Topics - 2
    • Replies - 2
    • Total Posts - 4

    Hi everybody,

    Here is my problem:

    I need to scan always the same area of the scan for a couple of time and i would like avoid to wait the lamp warming time.At least from the second scan.Can it be avoid using the twain functions ?

    Thanks in advice

    March 14, 2008 at 12:02 am #24408 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    short answer: no, not really.

    longer answer that starts out sounding more promising but ends like a Dicapprio boat movie: The specification does *seem* to define a couple capabilities and even a couple device events for what you’re asking. Whether the capabilities are present/available/helpful will depend (heavily) on your driver/device as the capabilities are not mandatory and they’re a little.. whats the word.. hackish.

    Icap_LampState *may* accept msg_set but generally is used to indicate whether the lamp is on. I wouldn’t bet heavily on this capability even being present – if you find a device that supports it lemme know.

    CAP_POWERSAVETIME seems to be the closest to what you’re asking about. But there are at least two problems with using cap_powerSaveTime. The first is that it is defined in relation to cameras with no mention of scanners. Although not a show stopper that strikes me as odd. The second problem is a little trickier – the capability seems awkwardly missing from every twain header I’ve ever read. Little harder to tell the device to disable the powersave feature without the capabilityId…

    Then you have 2 device events, TWDE_POWERSAVE is documented as ‘The device has powered down to save energy’ and TWDE_POWERSAVENOTIFY as ‘The device is about to power down to save energy.’ but I’ve yet to meet a device that supports device events, ymmv.
    If you find a device that supported either it ought to be somewhat simple to cause the device to preform a scan then toss the image causing the device to stay on. I might have been known to schedule a scan every 20 or 30 minutes to achieve a similar result, but looking back I wonder if that weren’t why the device didn’t last 8 months…

    From there, if I were really intent on pulling this off, I would probably contact the vendor looking for custom capabilities to mange the power/lamp/energystar or ask them if there were a another solution.
    I would do this with the utmost patience as my experience with contacting vendors with questions about their custom capabilities has been… err unfavorable.

    .

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Can be the lamp warm up disable via twain functions ?
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • Girls of Desire: All babes in one place, crazy, art
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.