Like most barcode scanners, the PecuMecu TM-10C scanner is configurable by scanning magic barcodes. A manual and quick-reference card are included with the scanner, but seemingly not posted online. Below is a table containing the data and an image of all barcodes in the manual. The data of all barcodes starts with a 0x80 byte, followed by the string "WSM", followed by 8 ASCII digits, followed by a period character. The images in this table were generated with qrencode. They are not identical to the barcodes in the manual, but they represent the same data.
| Action | Data | Barcode |
|---|---|---|
| Restore factory settings | <U+80>WSM00020001. | ![]() |
| USB keyboard mode (USB descriptors from lsusb) (USB HID report descriptor) |
<U+80>WSM01000001. | ![]() |
| USB CDC ACM (serial/COM) mode (USB descriptors from lsusb) |
<U+80>WSM01000002. | ![]() |
| Enable sound | <U+80>WSM04000001. | ![]() |
| Disable sound | <U+80>WSM04000000. | ![]() |
| Manual/trigger scanning mode | <U+80>WSM02000000. | ![]() |
| Continuous/auto-sense scanning mode | <U+80>WSM02000002. | ![]() |
| Inductive scanning mode | <U+80>WSM02000003. | ![]() |
| Terminate scan data with CR | <U+80>WSM05040001. | ![]() |
| Terminate scan data with Tab | <U+80>WSM05040002. | ![]() |
| Terminate scan data with CRLF | <U+80>WSM05040003. | ![]() |
| Don't terminate scan data | <U+80>WSM05040000. | ![]() |
| English (U.S.) keyboard mode [1] | <U+80>WSM04060000. | ![]() |
| Italian keyboard mode [1] | <U+80>WSM04060005. | ![]() |
| French keyboard mode [1] | <U+80>WSM04060002. | ![]() |
| German keyboard mode [1] | <U+80>WSM04060003. | ![]() |
| Recognize all symbologies [2] | <U+80>WSM07000000. | ![]() |
| Recognize default symbologies [3] | <U+80>WSM07000002. | ![]() |
[1]: The keyboard language mode changes the simulated keypresses sent when scanning in keyboard mode. The scanner's USB descriptors (including the HID report descriptor) do not vary with keyboard language mode. The keyboard language mode has no effect in CDC ACM (serial/COM) mode.
[2]: The manual warns that enabling all symbologies results in slower scanning.
[3]: The manual does not define the default set of symbologies, but I have successfully scanned the following symbologies with the default setting: Code 11, Code 32, Code 39, Code 93, Code 128, Codabar, EAN-2, EAN-5, EAN-8, EAN-13, GS1-128, JAN, UPC-A, UPC-E, DataMatrix, PDF417, Micro PDF417, QR, Micro QR.

















