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

Reply To: Paper size

Forums › TWAIN Classic › Paper size › Reply To: Paper size

December 18, 2007 at 2:56 pm #24229
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

Wouldn’t this depend on the wrapper you’re using? But from a pure twain point of view, i would check if ICAP_SUPPORTEDSIZES was supported (if it shows up in cap_supportedcaps), get the supported msg_get with ICAP_SUPPORTEDSIZES should return a tw_oneValue or tw_enumeration (I usually see a tw_enumeration). From there I check if the current icap_supportedsize if already set to what I want and if needed set icap_supportedSizes with a tw_OneValue to the enumeration value that I want to use. But in the back of my head I seem to remember a couple of post about icap_supportedsizes being a bit unstable depending on the device you’re acquireing from and I think it was spike that had a routine for setting the layout then the papersize…. search the forum (and that other place that archives the forum) for supportedSizes. If you’re still having trouble, post back and I’ll give it more than 45 seconds of thought.

.

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