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

TwainDotNet and PrinterString capability

Forums › TWAIN Classic › TwainDotNet and PrinterString capability

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 4 months ago by ascarb.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 5, 2012 at 5:08 pm #22803 Reply
    workinprogress
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Hello,

    I am a newcomer to TWAIN, so please be patient…

    I am using the TwainDotNet project.

    I tried to scan various images and it works fine, now I want to print a string using my microrei scanner….

    I found the following method to set an ushort/int value (like pagesize, AutomaticRotate…)

    Capability.SetBasicCapability(Capabilities.Supportedsizes, (ushort)scanSettings.Page.Size, TwainType.UInt16, _applicationId, SourceId);

    My question is how to make it work with a string value???

    I tried to convert the string in a string pointer but it prints the adrress of the string and not the string itself…

    any help will be appreciated.

    December 18, 2012 at 8:34 pm #25752 Reply
    ascarb
    Participant
    • Topics - 0
    • Replies - 8
    • Total Posts - 8

    If you haven’t done so you should probably post this on the Twain.Net help forum. Sounds like they might not have exposed what you want.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: TwainDotNet and PrinterString capability
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

  • 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

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.