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: Set X / YResolution returned TWRC_CHECKSTATUS! Fujitsu C#

Forums › TWAIN Classic › Set X / YResolution returned TWRC_CHECKSTATUS! Fujitsu C# › Reply To: Set X / YResolution returned TWRC_CHECKSTATUS! Fujitsu C#

June 15, 2007 at 3:36 pm #23849
Anonymous
Participant
  • Topics - 60
  • Replies - 107
  • Total Posts - 167

@gabe wrote:

so it sounds like your scanner will take the value,
good (thank you twacker)

if you’re unable to send a fix32 to your twCap it sounds like you need to work over your twain library a bit, which brings up a question – how are you talking to twain from c#? are you using a library you write or the library you found on codeproject by netMaster?

Yes, download from codeproject! so I should make the fix32 send to twCap right? the code from netMaster, never have that part done!!

@gabe wrote:

to get the values for the cap you send get instead of set in the op and then read the values it puts in the container that you sent in (mostly)

a condition code is like a return code except is describes (in most cases) why you recieved the preious return code – I typically only check the cc when the previous call produced an rc != success. read through the twain spec for more on that… hell read through the twain spec regardless. then read though it again.

do I have code for setting the xresolution… yes and no. I don’t take the setting caps one-by-one approach (I believe it is a flawed design for working with twain), but I can probably find some code to approximate what you’re doing. first, lets talk about your library and then how you defined you twCap class. I have something of an example for the twCap class if you’re using the 2.0 framework and either read vb.net or have a decent converter (sharpdevelop 2.1 comes to mind if you want to convert it to c#) the code is over at http://www.codeplex.com/opentwain. you won’t find xresolution setting in the class but you can compare the twCap class.
.[/quote]

I got OpenTwain already.. looks like it is not complete!
so you suggest I should look at it?

Thanks!!

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

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • 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