X-Google-Thread: f996b,6038a625542aa987 X-Google-Attributes: gidf996b,public X-Google-Language: ENGLISH,ASCII-7-bit Subject: Re: somewhat OT: Barcodes and keyboard strokes From: "Annie" Date: Thu, 15 Feb 2007 16:25:02 -0600 Message-ID: <1171578302_2523@sp6iad.superfeed.net> References: <53gnbsF1sch7gU1@mid.individual.net> Lines: 75 Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!local!sp6iad.superfeed.net!not-for-mail Newsgroups: alt.ascii-art X-Report: Please report illegal or inappropriate use to . Forward a copy of ALL headers INCLUDING the body. (DO NOT SEND ATTACHMENTS) X-Comments2: IMPORTANT: Newsfeeds.com does not condone,support,nor tolerate spam or any illegal or copyrighted postings. X-Comments: This message was posted through Newsfeeds.com Organization: Superfeed.net Xref: g2news2.google.com alt.ascii-art:3013 On 2007-02-14 drax1313@spamsandwichhotmail.com said: > Hello, I'm a lurker on this group. I have no artistic ability, but > I like to see the art, and the art farts are occasionally humorous. > > Anyway, where I work we do a lot of bar-coding and scanning to help > prevent typos in the inventory system. We are implementing a new > system and have a need to be able scan a code that would be the > equivalent of pressing the down arrow. In the past we've been able > to barcode spaces and tabs and Carriage returns, but I'm stumped on > down arrow. Is it a real character (I know it's probably not > ASCII)? We are currently using a 3 of 9 barcode font to print the > barcodes. > > I realize this is off topic and I apologize if it is too far off. > This was one of the places I thought might be good to ask. If > anyone can help or point me to a better place that would be much > appreciated. > > Also, please keep posting art, I really enjoy it. > > drax The "down arrow" key doesn't generate a character. It generates an ASCII code of 00h, and a keyboard scan code of 50h. The only way to simulate a "down arrow" keypress is to stuff the appropriate codes into the keyboard buffer, followed by a carriage return. If your staff programmers don't know how to do this, they should probably be fired for incompetence. Since yours is essentially a low-level programming question, try a programming newsgroup. alt.lang.asm would be a good choice. And be sure to specify what programming language you're using. \ _____ ((( `\ _ _`\ ) _____________ (^ ) ) //////` | ~-( ) _|____ ` | _'((,,,)) |:::::||` | ,-' \_/ `\ |_____||` | ( , | |_____|_______/ `-.-'`-.-'/|_| ___/____|___\___ \ / | | | _ <<<:|---------- /'.'---. |_________)___o_o| __ /'/' \ / (________/----(__//) \ (________________________________________) )_(| / /\ \----` |)_( | || / .'||\ | || || | | |) / ( || \( || (| | | | / /' () \`. () | | |_| `-' \ \ |_| (_) \/ aa (_) ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =----