Sending Ctrl with a Symbol Ds6878 Barcode Scanner

Is there a way to program the scanner to send the CTRL key?. The CTRL key is used like a reset button on our systems, and we are constantly having to track down the keyboard to hit the CTRL key.

1

1 Answer

The answer appears to be no, but it depends entirely on your computer, scanner, and application.

The reason is that most scanners can only decode ASCII data, which precludes you from using keyboard control codes like ctrl or F1.

Ctrl is a bit of a special case since in ASCII, it only modifies other characters (note: there is no ASCII code for the key), rather than sending a character itself.

That said, per that first link, some scanners have special logic in them that can scan one character and replace it with another in the output, and Code 128, which your scanner supports, supports these enhancements. Try scanning a code that has a "Ctrl-something" key combo.. this may work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest