How to generate barcodes on Intermec PB20 using LinePrinter interface

I’m working on a Windows CE application and need help with barcode printing. My team is trying to send barcode data to an Intermec PB20 wireless printer through the LinePrinter interface. We can print regular text without issues, but we’re stuck when it comes to barcode generation. The printer connects fine via Bluetooth and basic printing works. However, we haven’t figured out the correct commands or formatting needed for barcode output. Has anyone successfully implemented barcode printing with this specific printer model? Any code examples or documentation references would be really helpful. We’re using the standard Intermec LinePrinter API calls but might be missing some specific barcode formatting requirements.

I’ve used the PB20 on several projects and usually the problem comes down to data formatting. The LinePrinter interface wants specific byte sequences for barcode commands, and people mess up by not terminating the barcode data properly or missing checksum calculations. You need to send the barcode start command, your data, then the end sequence - in that order. Also check your Bluetooth settings. Make sure it’s set to raw data transmission, not text mode, or you’ll get command corruption. The PB20’s picky about timing too - add small delays between the barcode setup and actual data. If you’re still stuck, capture the raw bytes you’re sending and verify the command structure matches what the printer wants.

had the same prob with pb20 last year. skip lineprinter calls and use intermec lang commands instead. prefix barcode data with IPL cmds - L starts label, then add barcode field cmds. fixed it for me when regular text printing failed on barcodes.

The PB20 requires specific escape sequences for barcodes when using the LinePrinter interface. It is important not to treat barcodes as standard text; instead, utilize the printer’s native command language. From my experience with similar Intermec models, you should wrap your barcode data in control codes such as *c#d, where # represents your barcode type. For instance, Code 128 is effective for alphanumeric characters. Ensure to send these as raw bytes rather than formatted text strings. Refer to your printer manual’s command reference section for precise syntax. If you lack this documentation, consider reaching out to Intermec support; they often provide developer documentation upon request. Additionally, verify that your barcode data is free from any invalid characters that may conflict with the chosen symbology.