How to send a Quantity parameter

Posted on

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.

Comments

  1. Thanks for this nice tool. I have one more question. Can we use more than one barcode in the same form? For example one Code_128 for the part number and one QR code for the storage location?

    1. Yes, the app by default scans any barcode format. However to improve the scan speeds you should disable the formats that you do not use from the app settings.

  2. The tool looks nice and stabile.
    But we have a specific need:
    We need to start with scanning or typing an ID, then scan a number of barcodes and each time send the combination of the ID and the barcode.
    Is it possible to do this with your tool?

    1. No, at the moment it’s not possible, but since it may be a useful feature it’ll be added with the next updates

  3. Your method of describing everything in this paragraph is in fact fastidious, all be capable of without difficulty understand it,
    Thanks a lot.

Your email address will not be published. Required fields are marked *

Related posts