Problems scanning RadBarcode39

4 posts, 0 answers
  1. Aniruddha
    Aniruddha avatar
    3 posts
    Member since:
    Apr 2012

    Posted 15 May 2013 Link to this post

    I am using RadBarcode39 in my Windows Phone 8 App but it is not being scanned correctly. So was wondering if there are recommendations for Height and Width properties to get it to scan properly. Also the bars don't appear to match a printed paper bar code. Below is what I am doing. Should I be doing something more/different ?

                <telerikDataViz:RadBarcode39 Name="BarCodeControl"
                                             Height="120"
                                             Width="425"
                                             Margin="5"
                                             VerticalAlignment="Center"
                                             HorizontalAlignment="Center"
                                             Text="90321331" 
                                             ShowChecksum="False"/>


  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 20 May 2013 Link to this post

    Hello,

    The given dimensions should be enough to render the code properly.
    Can you let me know what the printed/rendered versions differences are.

    Greetings,
    Yavor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Aniruddha
    Aniruddha avatar
    3 posts
    Member since:
    Apr 2012

    Posted 21 May 2013 Link to this post

    Thanks Yavor for your reply. I can't spot the visual differences and the scanner is able to scan the bar code on the phone, but the outcome is different compared to scanning the paper bar code. The paper bar code shows the balance as expected where as the phone one says invalid.

    I tried with grey and white backgrounds using borders. Does the margin make a difference ?

            <Border Grid.Row="3" Background="White" VerticalAlignment="Top">
                <telerikDataViz:RadBarcode39 Name="BarCodeControl"
                                             Height="120"
                                             Width="425"
                                             Margin="5"
                                             VerticalAlignment="Center"
                                             HorizontalAlignment="Center"
                                             Text="90321330"
                                             ShowChecksum="False"/>
            </Border>

    Thanks,
    Ani
  5. Aniruddha
    Aniruddha avatar
    3 posts
    Member since:
    Apr 2012

    Posted 22 May 2013 Link to this post

    I used the following Dimensions and also set RenderCheckSum = "False" and that fixed the issue.

    <Border Grid.Row="5" Background="White" VerticalAlignment="Top" >

                <telerikDataViz:RadBarcode39 Name="BarCodeControl1"

                                             Height="100"

                                             Width="350"

                                             Margin="45"

                                             VerticalAlignment="Center"

                                             HorizontalAlignment="Center"

                                             Text="90321330"

                                             RenderChecksum="False"

                                             ShowChecksum="False"

                                              />

            </Border>

Back to Top