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

how to tell if image is from front or back of page

Forums › TWAIN Classic › how to tell if image is from front or back of page

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 3 months ago by j_t.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 14, 2006 at 8:42 am #21962 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    Suppose I’m scanning a document in duplex mode, with the scanner configured to discard blank pages: When it scans a page that has text on the front but is blank on the back, the scanner sends the front of that page, then discards the back and sends the front of the *next page*. Can any of you TWAIN gurus propose a way to detect that this has happened? We don’t want to discard blank backs, just pages that are blank on both sides. If there is no way to detect the situation, it makes it impossible to use the scanner’s blank-page-discard feature during duplex scanning – we’ll have to go to software blank-page detection.

    I’ve found the extended info called TWEI_CAMERA – has anybody ever used or implemented this? I’m assuming Mark M. has…

    June 16, 2006 at 6:15 am #23436 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    what device are you working with? I’ve got an i65 that i can test twei_camera with. is this problem specific to one device or do you need to be able to check this for multiple models?

    but I’d guess (until i verify this) that you’re looking at the right thing, that TWEI_CAMERA is your trick. if you’re pulling extinfo after every scan, then you should see an alternating camera. top then bottom then top then bottom…. and if you see top top or bottom bottom then you’ve got your issue.
    but my question here – then what? and why?
    I dont understand when/where this would matter. But I’d like to be able to recognize when I should worry about this.

    June 16, 2006 at 8:08 pm #23437 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    Hi Gabe – sorry, missing background: My customer is using a Canon (I expect a DR-series) that has an onboard blank-page-discard. So when he runs it in duplex with blank-page-discard, it tosses out the blank backs of pages. Evidently this is not what customer wants… he wants to discard pages whose sides are both blank, and so we got wondering if there was a TWAIN way to do this, instead of just handling the blank-page-discard in software.

    I think the concept is that if the application sees , – it knows a blank back was tossed, and has the option of reinserting the missing blank image in the output stream. (And if we see , , we know a page was scanned that had a blank front and information on the back…)

    Anyway – that’s what got me into this. I guess I’ll add some extinfo support to EZTwain and my other tools, and see if the Canon DR-series makes anything useful available.

    June 26, 2006 at 11:49 am #23438 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    On further investigation it seems to me than TWEI_CAMERA doesn’t really exist. I see it on page 64 of ther spec, but when I check the toolkit sample, there is no such thing. In fact the only mention of camera is from filesystem.

    Spike, are you able to get Camera info from ExtImageInfo? what did you use for the InfoID?

    June 26, 2006 at 12:34 pm #23439 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    pay no attention to the guy with the old twain header.
    yeah, i found it.

    November 1, 2011 at 11:35 pm #23440 Reply
    j_t
    Participant
    • Topics - 1
    • Replies - 3
    • Total Posts - 4

    I have the same issue as Spike, with a Fujitsu fi-4750C that supports Blank Page Detection, but does not support extImageInfo (DAT_EXTIMAGEINFO).

    I have always used the TWEI_PAGENUMBER or TWEI_CAMERA to handle blank pages in the past.

    Any Ideas?

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Reply #23440 in how to tell if image is from front or back of page
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

  • Scanner starts transfer when console gets closed (CITRIX)
  • Kodak RFS 3600
  • Didn’t save enough file scan
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • 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.