Barcode Reader with java
I�m graduating in IT and todo so my group has to provide a software that establishes communication with a barcode reader.
Is it possible in java, which classes could I use, where can I get more information about integrating java with barcode readers?
I�d be very grateful if u help me. anything is welcome
charlles cuba
brazil
Results from googling on the net:
- Java Barcode Linear Package
http://downloads-zdnet.com.com/Java-Barcode-Linear-Package/3000-2412_2-10320737.html
- Java Barcode Applets, Servlets, JavaBeans and Bar Code Class Libraries
http://www.idautomation.com/java/
- Java Plug-In for Barcodes
http://www.i-fax.com/g/java/java_barcode.html
Similar Messages
-
How to connect scanner or printer or barcode reader with java
hello friends
How to conncect printer ,scanner or barcode reader with java program directly .
please send some suggestion .
Thanks in advance
Nitin922264 wrote:
Thanks for the feedback. I'm having trouble getting my getText method to return the actual value, but here is my updated code:
BufferedReader br = new BufferedReader( new StringReader( getText() ) );....
public void getText(Document doc)
Element e = doc.getDocumentElement();
NodeList nodeList = doc.getElementsByTagName("Interface");
for (int i = 0; i < nodeList.getLength(); i++)
Node node = nodeList.item(i);
if (node.getNodeType() == Node.ELEMENT_NODE)
Element element = (Element) node;
NodeList nodelist = element.getElementsByTagName("Description");
Element element1 = (Element) nodelist.item(0);
NodeList ndLst = element1.getChildNodes();
//System.out.print((ndLst.item(0)).getNodeValue());
return doc;
}Here is the compiler error I am getting:
ImportDesc.java:32: error: method getText in class ImportDesc cannot be applied
to given types;
BufferedReader br = new BufferedReader( new StringReader
( getText() ) );
^
required: Document
found: no arguments
reason: actual and formal argument lists differ in length
Note: ImportDesc.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 errorThoughts?
Edited by: 922264 on Mar 21, 2012 10:33 AMYour getText method is not returning anything. -
Hi Every One
My problem is how can i manage barcode reader in java.
thanksHi,
What type of barcode reader/scanner r u using?I'm using symbol
LS 1000 series barcode scanner.It's same like using keyboard.
Once i scan the barcode it decodes and sends the output to screen/
any editor.
I generated barcode image using a program which is bigger in size,but
I have to generate very small barcode.I don't know how to that.Do u have
any idea?
thanx,
jmos -
Synchronize barcode reader with SAP Gui
Hi,
to speed up the order entry in transaction VA01 we've added a small dynpro which collects the line items before sending them to VA01.
Now the users are using a barcode reader to enter the product code. In the current configuration the barcode reader is sending an additional ENTER after each product code to perform some checks and to jump to the next field.
The problem is that the user is scanning the next item before the SAPGui is ready for input again (it's still executing the checks initiated by ENTER). This results in characters being lost without notification by the user, because they are not checking the screen after each scan.
Configuring the barcode reader to send TAB instead of ENTER is no solution either since this will result in problems when the screen is full and the user does see it.
Is there anything I can do to prevent that the input is corrupted?
TIA,
MartinHi Martin, I've seen that same thing at my company. We got rid of the problem just by upgrading the sapconsole to 6.40, with this release, there was something added, a screen which says " Processing.......... " when the system is processing the data. It is the only thing on the screen at the time and returns control back to the user when complete. This does not keep them from scanning but does keep them from scanning in your your custom screen(which may or may not be helpful) WIth this message, by itself, this did not fix our problem, but it did give the users something to look at instead of a the same screen being locked up. The user did not know whether the system was ready or not, so they kept scanning.
In conclusion, I think you need to do two things. a) Get to SAPconsole 6.40, so that the processing message will be there, b) train the users to look at the screen, if it says "Processing", then they MUST wait.
Regards,
Rich Heilman -
Using the Barcode Reader with QR codes
Manchester Art Gallery is trialling QR codes in its Remembering Slavery: Revealing History display. From 1-29 March visitors will be able to use their mobile phones to retrieve specially designed web pages. The pages invite visitors to submit comments on six works on show, and listen to and read poems and comments on some of the objects.
More information on the display is at http://www.manchestergalleries.org/whats-on/community-programmes/current-projects/
The project was initiated by Julian Tomlin, a freelance consultant who is undertaking a review of machine-readable technologies in museums for a consortium of London museums.
Come to the Gallery on Moseley Street, Manchester and try out your phone. The N95 includes a barcode reader. On Saturday 1 March there will be people on hand to offer some guidance. Let us know what you think of this emerging technology.If your phone doesn't have bar code reader. This one works great for me:
http://www.i-nigma.com/personal/GetReader.asp
Or go here to find other suppliers:
http://mobilecodes.nokia.com/scan.htm
640K Should be enough for everybody
El_Loco Nokia Video Blog -
Hi,
I have a project in which i have to read barcodes from a smart card
and then find out the id to which it belongs. I have the barcode values
and corressponding ids. I am not familiar with barcodes. Can anyone
please tell me how to use java for this purpose? Is there any java API
for that.
Thanksbond303,
Sounds to me like you have the information from the device and your
asking what to do with the data you have.
By the sounds of things your using EAN barcodes, but who knows which
one. Can you post a sample barcode please and can you look up the
specs for the client your doing the work for. They will state what
Symbology they are using.
Of course if your doing this inhouse then you must have a department
that has specified requirements for the structure of the barcode.
Either that or your attempting to use a Smart Card from another
vendor. If the later then you need to contact that vendor and find out
what standards they are using.
I presume again it will be some sort of EAN style standard. If theyre
just replicating a barcode on the Smart Card then I would imagine it
will be EAN128, otherwise it could be anything.
James. -
Hi Gurus,
i want to use barcode truck but i dont any idea how to use in SAP
Can anyone make a suggestion ?Hi,
There are a number of 3rd party companies that provide systems and technologies to connect barcode scanners to SAP.
One example of a SAP barcoding system is available here: [www.adc-to-sap.com] -
How to connect BARCODE Reader with Oracle Forms Application
plz explain in detail
Dear Zishan,
The barcode equipment comes with the software, so install it on the computer you want to use for barcoding.
Forms 5.0 to 6i it works fine. on 9i i have not used it yet, but i think i would depened on the software.
Regards,
Kamal -
Can a USB Keyboard/Barcode reader be used with the USB port on the CRio
Is it possible to use a USB Keyboard or Barcode reader with the USB port on the CRio, I know you can use this port with a USB memory device, but what about other devices?
I have a project that requires that all hardware elements be connected to the controller and use the HMI purely for display,
anybody any ideas??Hi kmoyna,
The standard CompactRIO range's USB host ports are not suitable for standard USB devices like keyboards or barcode readers - they are intended only for use of mass storage devices. From your description, it seems your project's requirements would be best met by the newer models, cRIO-9081 or cRIO-9082. These two units have Windows Embedded Standard 7 (WES7) and allow the direct connection of a monitor and standard USB devices. We now also have similar stand-alone CompactDAQ models running WES7 - cDAQ 9139.
I would recommend calling into your local branch to discuss your project further with one of our engineers. If you're in the UK, it's 01635 523 545 - or view contact details for other branches.
Regards,
Imtiaz Chowdhury
Head of Digital Technologies
Brand786 -
Capture data from a barcode reader
Hi,
I would like to know if anyone knows any way of integrate a barcode reader with a web application.
I need to create a web page to confirm the reception of letters, and i use the barcode reader to read the letter number. So the web page need to received the barcode number and make the automatic submit.
Thanks in advanced,
Ricardo1:
get the comm stuff working first
2:
then work on connection to the web application.
3:
a browser in a client that runs,applets,javascript and displays
html.
the web server does all the real work
you can write your own client that will replace the browser and still
conenct to the web application
4:
i'd say a signed applet would work -
Capture data from barcode reader
Hi,
I would like to know if anyone knows any way of integrate a barcode reader with a web application.
I need to create a web page to confirm the reception of letters, and i use the barcode reader to read the letter number. So the web page need to received the barcode number and make the automatic submit.
Thanks in advanced,
Ricardowhen the data is read using the barcode reader u need to capture the event in ur app.Its going to be the "Carriage Return" Event. Atleast thats what occurs in our app.
on the capture of that event ..u submit ur form....
if u have the txtbox where u enter the data using thebarcode reader...then..
<input type="text" size="14" name="test" onkeydown="return validateEnterKey()">your javascript function...
function validateEnterKey() {
var keyChar
var status = false;
if (document.all) {
keyChar = event.keyCode
if (keyChar == 13) {
document. formname.submit();
} -
sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.
sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
I want to pass along a couple of tips that will get you more and better response on this list.
1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
4) If you have a question first search the examples for something tha
t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
Trying to help,
Welcome to the forum!
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
How to read and parse a remote XML file with Java
Hi.
Using J2SE v1.4.2, I'd like to read and parse a remote file:
http://foo.com/file.xml
Is it possible with Java? I'd be extremely grateful if someone could provide me any webpage showing a very simple code.
Thank you very much.How about the following?
import java.io.InputStream;
import java.net.URL;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
public static void main(String[] args) throws Exception {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
URL url = new URL("http://foo.com/file.xml");
InputStream inputStream = url.openStream();
Document document = db.parse(inputStream);
inputStream.close();
}-Blaise -
I want to read and assign value of ADF Table rows with Java Script
Hi,
I want to read and assign value of ADF Table rows with Java Script, but I cant true index of current row , so I assign wrong value to anathor column of ADF Table.
My Code;
ADF Table items
<af:column sortProperty="Adet" sortable="false"
headerText="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.labels.Adet}"
binding="#{backing_ucret.column2}" id="column2">
<af:inputText value="#{row.Adet}"
required="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.attrDefs.Adet.mandatory}"
columns="10"
binding="#{backing_ucret.inputText2}"
id="inputText2" onchange="getTutar('#{bindings.voHarcamaOdeme1Iterator.rangeStart + bindings.voHarcamaOdeme1Iterator.currentRowIndexInRange + 1}','#{bindings.voHarcamaOdeme1Iterator.estimatedRowCount}','#{row.index}')">
<f:convertNumber groupingUsed="false"
pattern="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.formats.Adet}"/>
</af:inputText>
</af:column>
MY JAVA SCRIPT CODE
<f:verbatim>
<script language="javascript" type="text/javascript">
function getTutar(rowkey,totalrow,currentRow){
alert('rowkey--totalRow--currentRow-->'+rowkey+'--'+totalrow+'--'+currentRow);
if (currentRow==0) {
rowkey=totalrow-1;
}else{
var rw=totalrow-currentRow-1;
rowkey=rw;
alert(document.getElementById('form1:table1:'+rowkey+':inputText8').value);
alert(document.getElementById('form1:table1:'+currentRow+':inputText8').value);
var birim_ucret=document.getElementById('form1:table1:'+rowkey+':inputText8').value;
var adet=document.getElementById('form1:table1:'+rowkey+':inputText2').value;
document.getElementById('form1:table1:'+rowkey+':inputText3').value=birim_ucret*adet;
document.getElementById('form1:inputText6').value=0;
var t;
var toplam=0;
alert('before Sum');
for (var i=0;i!=totalrow-1;i++){
t = document.getElementById('form1:table1:'+i+':inputText3');
toplam+=t.value*1;
document.getElementById('form1:inputText6').value=toplam;
</script>
</f:verbatim>You can achieve the use case you describe with partial page rendering (PPR), a feature of the ADF Faces framework. Here are a few posts that achieve an interactive behavior using PPR. Off the top of my head I do not know of an exact example, but this should be a good starting point:
http://thepeninsulasedge.com/blog/2006/09/12/adf-faces-aftableselectmany/
http://thepeninsulasedge.com/blog/2006/08/31/adf-faces-working-with-aftableselectone-and-the-dialog-framework/
--RiC -
Read & Write Shared memory with Java
Hi,
I have to read and write from/to shared memory four integers with Java, using Posix package (the shared memory is already created).
I've looking in google for any examples that attachs, read, and write to shared memory using that package but i couldn't find anything (that's the reason to write in this forum).
Posix package link
http://www.bmsi.com/java/posix/docs/Package-posix.html
Operative System
Suse 10
Could anyone help me with any example, please?
Thank you very much
OscarHi, i can't post any code because i have no idea about posix and shared memory.
I came from web world and my company has send me to space department, two weeks ago, that use Unix as its operative system.
The first thing i have to do it's what i post but i don't know even how to start doing it, because this is almost the first time i hear about reading and writing shared memory.
Java is a high level and non-dependent platform (but this kind of things i think are dependent platform, in this case the opearative system) and it's few time since i am working with this operative system.
That's the trouble i don't know how to start working with this.
Thanks again
Maybe you are looking for
-
Duel displays Mac pro not working properly
I have a MacPro Tower that I bought 4 years ago that was running OS 10.5.x. I *just* finally got around to upgrading the OS (I've had Snow Leopard discs for over a year and never installed them), so that's what I upgraded to. I have two displays conn
-
What is the tcode for Invoice generation
I am having some confusion If i go to tcode VF01-Invoice document VF21-Invoice list among them which is tcode for invoice generation
-
Did custom install of iLife from Leopard disk, want to install the rest.
When I bought my macbookpro a couple of years ago, it was supposed to have Leopard but didn't, so the Apple Store gave me a Leopard install disk. I installed Leopard (not an upgrade, an actual fresh install) but I guess I did a custom installation an
-
I have downloaded Disks 1 & 2 for Oracle9iAS v1.0.2 for WinNT in 6 and 4 zipped files respectively. Though there are two links which speak of instructions for decompressing and installing the information does not seem too explicit or at least not to
-
Problems with both Flash/Shockwave
I'm experiencing problems with both Flash and Shockwave players. I've gone to the help pages for both of these players and I've followed every suggestion they had in there for players not playing even if they are installed. I have the ActiveX enabled