Home › Forums › TWAIN Classic › How to make AUTO_EJECT value "FALSE" after scanning?
- This topic has 11 replies, 6 voices, and was last updated 10 years, 6 months ago by jane313.
- AuthorPosts
Hello,
I am using EPSON PLQ22 CSM which is having functionality of scanner as well as printer. So I want my printer to hold the paper after scanning i.e. after scanning the document it should not be ejected.
So in this case, which capability should i use and how…
Please help
Thanks
Apurv
Hello apurv.purohit,
In configuration section, uncheck the Auto paper eject after scanning check button then it will work in printer as well as a scanner.
If u want to make Ur scanner printer u need to connect two interfaces….
Hello sureshkallem,
I did that already…but i am stuck up to do that through coding…so please guide me if you know…..
first you need to work with two interfaces
1. Serial for Printing
2. USB for scanningfor printing we require PLQ20W32.dll(pr2 emulation) and for scanning we require twain dll – TWAINDSM.dll(ESC/P 2+ESC/MC emulation).
for more info reach me suresh.kallem@gmail.com
please can you help me how to read the barcode from image and i did coding but struck up here
TwInfo twInfo = new TwInfo()
{
InfoID = (int)TwBarcode.TWEI_BARCODETEXT
};
TwExitImageInfo twExitImage = new TwExitImageInfo();
twExitImage.NumInfos = 1;
twExitImage.Info = twInfo;
rc = DSibarcode(appid, srcds, TwDG.Image, TwDAT.ExtImageInfo, TwMSG.Get, ref twExitImage);it is giving
rc= success and twExitImage is giving some info but im not able to retrieve data .
please help pn this it is very urgentHello,
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
It is working now and i tried it with sample application of twain.
If i disable the scan UI then it selecting default settings instead of current settings so it is not giving the output(barcode) because barcode detection is disabled in the default settings.
please give me steps how to resolve this….
Recently , i use the barcode reader for .net.
Maybe you can try this barcode reader.
Here is sample code of reading:
sing BusinessRefinery.Barcodes.Reader;
// Read a Code 39 barcodes image in C# class
string[] barcodes = BarCodeReader.scanBarCode
(bmp,BusinessRefinery.Barcodes.Reader.BarCodeType.CODE39);
// Read Data Matrix barcodes in C# class
string[] barcodes = BarCodeReader.scanBarCode
(bmp,BusinessRefinery.Barcodes.Reader.BarCodeType.DATAMATRIX);
Hope it helps!I am new here. Last month I used a barcode generator to create barcode in .NET and the barcode reader I used was this one: .NET barcode reader. Here is a sample code to read QR Code:
Dim datas() As string = BarcodeScanner.Scan(“qrcode-image.gif”, BarcodeType.QRCode)@sureshkallem wrote:
please can you help me how to read the barcode from image and i did coding but struck up here
TwInfo twInfo = new TwInfo()
{
InfoID = (int)TwBarcode.TWEI_BARCODETEXT
};
TwExitImageInfo twExitImage = new TwExitImageInfo();
twExitImage.NumInfos = 1;
twExitImage.Info = twInfo;
rc = DSibarcode(appid, srcds, TwDG.Image, TwDAT.ExtImageInfo, TwMSG.Get, ref twExitImage);it is giving
rc= success and twExitImage is giving some info but im not able to retrieve data .
please help pn this it is very urgentyou can search a barcode reader on the internet,which supports code 39, code 128,pdf 417 and qr code etc. you may find the one suitable for your question! Good luck!
@Thomassunshine wrote:
Recently , i use the barcode reader for .net.
Maybe you can try this barcode reader.
Here is sample code of reading:
sing BusinessRefinery.Barcodes.Reader;
// Read a Code 39 barcodes image in C# class
string[] barcodes = BarCodeReader.scanBarCode
(bmp,BusinessRefinery.Barcodes.Reader.BarCodeType.CODE39);
// Read Data Matrix barcodes in C# class
string[] barcodes = BarCodeReader.scanBarCode
(bmp,BusinessRefinery.Barcodes.Reader.BarCodeType.DATAMATRIX);
Hope it helps!this topic seems talking about barcode scanner hardware ?
- AuthorPosts