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

Auto detect the paper size

Forums › TWAIN Classic › Auto detect the paper size

  • This topic has 2 replies, 3 voices, and was last updated 10 years, 10 months ago by Kaij.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 18, 2010 at 1:51 pm #22590 Reply
    rangasamy007
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Hi all,

    Thank you for advance

    I am using C# & Twain to write an document scanning application.

    How to auto detect the paper size while scanning the image.

    for example,

    if we are scanning the A4 size paper the application should set the page size as A4,
    if we are scanning the Letter size the application should set the page size as Letter size.

    March 22, 2010 at 8:01 am #25211 Reply
    Catherine Sea
    Participant
    • Topics - 0
    • Replies - 59
    • Total Posts - 59

    It seems that TWAIN specification doesn’t provide any capability to auto detect the page size. If anyone knows how to achieve this, please let me know.

    __________________________
    Catherine Sea
    TWAIN .NET Component | TWAIN ActiveX/Plug-in

    March 23, 2010 at 12:58 pm #25212 Reply
    Kaij
    Participant
    • Topics - 9
    • Replies - 132
    • Total Posts - 141

    If you have a good auto crop inside the scanner or TWAIN driver (or at least inside the application) you can more than guess by dpi and size the paper format and set it.

    We have used this technique in several TWAIN drivers or applications we did for OEM customers.

    Best regards,

    Kaij

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Auto detect the paper size
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

  • 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.
  • To get the list of scanners from javascript client side (browser)
  • 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.