Dealing with unnecessary characters in barcodes can be frustrating, especially when your software expects a specific format. If your Zebra DataWedge scanner adds leading zeros, don’t worry—this quick guide will help you fix it effortlessly.

If you prefer you can also watch the tutorial in video form on YouTube here:

Zebra DataWedge - How to remove leading 0

 

Step 1: Test the Barcode

  • Start by scanning a barcode with your Zebra scanner.

  • Look at the output—if it begins with leading zeros (e.g., 0189096), it needs adjustment.

Step 2: Open DataWedge

  • Launch the DataWedge app on your device.

  • Navigate to Profile 0 (default).

Step 3: Access Keystroke Output Settings

  • Scroll down and select Keystroke Output.

  • Go to Advanced Data Formatting.

Step 4: Create a New Rule

  • Click on Rule 0 and navigate to Actions.

  • Add a New Action.

Step 5: Configure the Action

  • Choose Remove Leading Zeros as the new action.

  • Ensure this action is the first option in the list.

Step 6: Save and Exit

  • Exit by clicking Back until you return to the main screen.

  • Your changes are now saved.

Step 7: Test the Configuration

  • Go back to your Product Management app.

  • Scan the same barcode again.

  • Verify that the leading zeros have been successfully removed (e.g., 189096).

Conclusion

Getting rid of leading zeros on your Zebra DataWedge scanner is simple when you know the right steps. Now your barcodes will scan exactly as your software expects!If you’d like to see a visual walkthrough, check out this video tutorial:

Zebra DataWedge - How to remove leading 0

 

Back to blog