× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Booth the bar code reader is just a keyboard device.

Therefore you have to have an input capable field long enough to accept
the scanned bar code.

Otherwise it is like trying to type in an output field and you will get
something like: Cursor in protected area of display.



Don Brown




From: "Booth Martin" <booth@xxxxxxxxxxxx>
To: "RPG programming on the IBM i (AS/400 and iSeries)"
<rpg400-l@xxxxxxxxxxxx>
Date: 26/10/2017 12:33 PM
Subject: Re: Bar Code reader reading long bar code
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx>



What I'd like to do but can't figure out how, is to have a DSPF with one
of the input fields being a 1-char field. When the cursor is in that
field and the bar code reader scans the long bar code successfully have
the full input value populate a 100+ char field in the program. I want
a 14-char portion of the long field and do want to display that value in
an output-only field on the DSPF


On 10/25/2017 8:57 PM, Mark Murphy wrote:
Usually a bar code reader is a keyboard wedge. But, I suppose you could
set
it up as an input to a windows program or a browser and send it to IBM i
via a web service. Then RPG could be called via CGI with the barcode
data
in a POST, or some other mechanism like a data queue.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.