Forum Replies Created
- AuthorPosts
Hello,
You have to work on the handle first. Please confirm that the data which you are getting is the handle – i.e. an address of the actual data. Once you confirm that whatever information you are getting is handle then you can extract the data from that handle. e.g. Look the coding of TwCapability class. In that class they have done the same.
About my query:
I have done all printing settings correctly. It is working very finely with USB and Serial interface now. Only the thing I need is, I want to hold my paper inside the printer after scanning and that too through coding. I cannot use that ready-made .exe – “EPSON SCAN FOR BUSINESS”. I have to do that through code.
Please guide me if you are aware of it: You can reach me at: apurv.purohit@gmail.com
Thanks
Hello sureshkallem,
I did that already…but i am stuck up to do that through coding…so please guide me if you know…..
May 24, 2012 at 12:26 pm in reply to: Question- how to extract barcode data from twain Application #25579hello,
I am happy to inform you all that, I could retrieve the data from the application. But now I am stucked at somewhere else.
If I hide the user interface, it doesn’t read the barcode. So i have to write the “BARCODE ENABLING” code in my application. I added whole function to enable the barcode reading…but its not working…
I just want to ask here that, is there any property in twain that it can scan the document by taking the “current settings” of an exe instead of “default settings”…because it is taking default settings if I hide the User interface.
If I make visible user interface, then barcode is read properly….
please help … 🙁
May 14, 2012 at 8:10 am in reply to: Question- how to extract barcode data from twain Application #25577I have written the extImageInfo structure but still I am unable to fetch the barcode data from an image…please help…below is the code snippet..:
//CODE_BARCODETEXT
extinf.NumInfos = 1;
extinf.Info[0].NumItems = 2;
extinf.Info[0].InfoID = (short)TwEImgInf.barcodetext;rc = no(appid, srcds, TwDG.Image, TwDAT.ExtImageInfo, TwMSG.Get, extinf);
Thanks
May 8, 2012 at 10:11 am in reply to: Question- how to extract barcode data from twain Application #25575Thanks Alexander for your reply…
Actually I am trying to develop an application in C# using Twain application. I am using EPSON plq 22 csm printer for it. When i use the “Sample Application” from twain – (which is in C++) it reads the barcode data…but it cannot be extracted from that exe. I want to use the barcode data to be extracted from that exe….and tht’s why I started preparing application….
Please reply..
Thanks
ApurvMay 8, 2012 at 8:59 am in reply to: Question- how to extract barcode data from twain Application #25572Thanks for your reply adam and vintasoft…!!
@Adam: I know that i have to use “ICAP_Barcodeenabled = true” or likewise capability mentioned in twain specification. But I am not getting where should i put my code in twain application. And if i want to edit the twain.lib file then i will have to write my own enum for barcode which is not provided in “TwainLib.cs” or “Twaindef.cs”. But in that case also I dont know which hex values are required to be set….please help… 🙁
- AuthorPosts