Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.67 KB

Weighted-Barcodes.md

File metadata and controls

39 lines (23 loc) · 1.67 KB

How to use scales as an input device

OSPOS also can be used for businesses that are based on weighted items, example: Dairy Markets, Grocery Shops, Roasteries, Veggies & Fruits Market, etc...

The idea is that you configure the scale to readout the variables in a fixed string format. Most scales are regular USB devices that can be configured to send keys as if they were a keyboard. One thing you need to do is setup the format in OSPOS so it knows which data goes where.

Where to configure

The feature allows you to use a specific barcode format to parse the barcode set in configuration panel as below:

Input Field

As you can see, the input field should be filled with the barcode format you are printing using the weighing scale.

Below is a filled in example:

Input Filled

The format before 3.3.2

02(\d{5})(\w{6})

  • 2 first characters represent the department code
  • 5 following digits represent the item weight
  • last 6 characters represent the item barcode

The format in 3.3.2 and beyond

The format adheres to the token formatting used also in (invoices, quotes and work orders).

02{W:5}{I:6}

  • 2 first characters represent the department code
  • 5 following digits represent the item weight
  • last 6 characters represent the item barcode
  • One can also use price as {P:3} as a last variable

Please set the quantity decimals to 2 in order to make the system parse the quantities correctly. For further info, we are just a click away!