|
From what I can rememeber about working with these, look in the scanner manual and see how you set up a postamble, an implied keystroke if you will, that will occur after every barcode is successfully scanned.
Subject: RE: Auto advancing display screen> Date: Wed, 13 Aug 2008 14:44:05 -0400> From: pkestenbaum@xxxxxxxxxxx> To: rpg400-l@xxxxxxxxxxxx> > One thing I overlooked when I posted is the application is on Windows.> The data gets downloaded from the the i. > > -----Original Message-----> From: rpg400-l-bounces@xxxxxxxxxxxx> [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Shannon ODonnell> Sent: Wednesday, August 13, 2008 2:35 PM> To: 'RPG programming on the AS400 / iSeries'> Subject: RE: Auto advancing display screen> > As someone pointed out earlier, a bar code scanner, at least all the> ones I> ever wrote programs to interface with, automatically shot an enter key> escape character to the 5250 screen. Did you try this to see if yours> does> this or not? It's been a long long time since I did this last but I> seem to> remember using CHECK(ER) along with the scanner's own enter escape> character> that was automatically fed to my program(s).> > > As far as hitting enter to refresh the screen...You can have the 5250> screen> auto-update by letting it use a data queue (in addition to the keyboard)> to> implement an auto-refresh. Then you can avoid forcing them to hit the> Enter> key to refresh it.> > Look around on the web for examples. I remember doing this back in 1992> or> 1993 based on an article floating around in one of the magazines back> then.> I'm sure it's been "rediscovered" once or twice since then and hauled> back> out to be published as if it was a new idea. That sort of thing happens> constantly with the iSeries. I've seen it on this list more times than> I> can count.> > > > > > -----Original Message-----> From: rpg400-l-bounces@xxxxxxxxxxxx> [mailto:rpg400-l-bounces@xxxxxxxxxxxx]> On Behalf Of Phil Kestenbaum> Sent: Wednesday, August 13, 2008 1:07 PM> To: RPG programming on the AS400 / iSeries> Subject: RE: Auto advancing display screen> > I would like to do something along these lines for a field to take some> kind of bar code as if it is an enter key. This would save the shipper> from having to leave the packages area and go back to the screen for> each package, to just have to hit enter to continue to Refresh the> screen.> > Thank you,> Phil> > -----Original Message-----> From: rpg400-l-bounces@xxxxxxxxxxxx> [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Craig Jacobsen> Sent: Wednesday, August 13, 2008 1:58 PM> To: 'RPG programming on the AS400 / iSeries'> Subject: RE: Auto advancing display screen> > > > > Bar code readers(*) do it by simply by appending the control code for> enter> to the data stream.> > What is the control code (in hex)? This is what I want to concatenate> to> the end of the field!> > *At least those that are attached via an actual or emulated keyboard> wedge.> When the data hits the> hardware, it looks just like the data was typed in and enter pressed.> > Not sure what you are trying to do, how is the data getting into the> field?> > Charles Wilt > --> Software Engineer> CINTAS Corporation - IT 92B> 513.701.1307> > wiltc@xxxxxxxxxx> > > > -----Original Message-----> > From: rpg400-l-bounces@xxxxxxxxxxxx> [mailto:rpg400-l-bounces@xxxxxxxxxxxx]> > On Behalf Of Craig Jacobsen> > Sent: Wednesday, August 13, 2008 11:52 AM> > To: 'RPG programming on the AS400 / iSeries'> > Subject: Auto advancing display screen> > > > Does anyone know a hex code I can append at the end of a field to act> like> > enter?> > Barcode readers can usually be configured to auto enter a scan.> > How do they do it?> > > > TIA,> > > > Craig> > > > > > > > This e-mail transmission contains information that is intended to be> confidential and privileged. If you receive this e-mail and you are not> a> named addressee you are hereby notified that you are not authorized to> read,> print, retain, copy or disseminate this communication without the> consent of> the sender and that doing so is prohibited and may be unlawful. Please> reply to the message immediately by informing the sender that the> message> was misdirected. After replying, please delete and otherwise erase it> and> any attachments from your computer system. Your assistance in> correcting> this error is appreciated.> -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing> list> To post a message email: RPG400-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l> or email: RPG400-L-request@xxxxxxxxxxxx> Before posting, please take a moment to review the archives> at http://archive.midrange.com/rpg400-l.> > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing> list> To post a message email: RPG400-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l> or email: RPG400-L-request@xxxxxxxxxxxx> Before posting, please take a moment to review the archives> at http://archive.midrange.com/rpg400-l.> > > This message contains information proprietary to our company. It is> intended> to be read only by the individual or entity named above or their> designee.> Any distribution of this message or the information contained herein> without> written permission from our company is strictly prohibited. If the> reader of> this message is not the intended recipient or an agent responsible for> delivering it to the intended recipient, you are hereby notified that> you> have received this document in error and that any review, dissemination,> distribution, or copying of this message is strictly prohibited. If you> have> received this communication in error, please notify us immediately by> e-mail, and delete the original message.> > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing> list> To post a message email: RPG400-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l> or email: RPG400-L-request@xxxxxxxxxxxx> Before posting, please take a moment to review the archives> at http://archive.midrange.com/rpg400-l.> > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing> list> To post a message email: RPG400-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l> or email: RPG400-L-request@xxxxxxxxxxxx> Before posting, please take a moment to review the archives> at http://archive.midrange.com/rpg400-l.> > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list> To post a message email: RPG400-L@xxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l> or email: RPG400-L-request@xxxxxxxxxxxx> Before posting, please take a moment to review the archives> at http://archive.midrange.com/rpg400-l.>_________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.
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.