How to send a Quantity parameter

Last updated: Oct 2nd 2020

As already explained in the Keyboard emulation article, Barcode to PC is able to type the barcodes for you, but in addition to that, there is the opportunity to send a Quantity parameter along with the scanned barcodes.

For example, in the video you can see an example where it is able to type the scan date/time, the barcode, and the quantity:

 

Every time that you scan a barcode the app will also ask you to insert a “quantity” value, that will be sent to the server along with the barcode.

To enable the Quantity parameter:

  1. Open the server Settings by clicking on the gear icon
  2. Drag and drop a TAB component from the Available components field to the Output template field (it is used to move the focus forward)
  3. Drag and drop a NUMBER component from the Available components field to the Output template field
  4. Click Save & Apply

 

Like this:
 

 

Note: the order matters! Barcode to PC server will type the components in the exact same order in which you put them in the Output template field.

That’s it! Now you should be able to scan and send the quantity parameter.

 

Bonus tip 1: you can change the type of keyboard that pops out when you have to insert the quantity from numeric to alphanumeric by using the TEXT component instead.

Bonus tip 2: you may also need to type the quantity parameter inside a field that is located farther away from the barcode field, so in order to move the cursor inside it, a single TAB may not be enough.
To fix that you can use multiple TAB components to move the focus of the UI elements of your software.


Filippo

Did this article help you?

Yes
Please, describe your problem at [email protected] and we'll be glad to help you

Related posts