Results 1 to 8 of 8

Thread: [RESOLVED] pdf417 barcode

  1. #1

    Thread Starter
    Addicted Member Davor Geci's Avatar
    Join Date
    Sep 2009
    Posts
    222

    Resolved [RESOLVED] pdf417 barcode

    Hello guys,
    does anyone have a free solution how to generate pdf417 barcodes in a picturebox or in a label?

    For days now I'm traying with this code:
    https://github.com/fwahyui/VB6/tree/master/BARCODE

    It generates the pdf417 barcode, but when I want to scan it (on my screen or on printed document) the scanner just doesn't want to recognize it.
    Does anyone here have some other method that I could try?

    Thanks,
    Davor
    My projects:
    Virtual Forms
    VBA Telemetry

  2. #2
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: pdf417 barcode

    Have you tried to scan other PDF417 barcodes with the scanner to insure it will scan them?
    I have some stuff here that prints PDF417 but sadly neither were freely available to the general public, the best one came from Symbol and was a free download but only for developers registered with them, they have since been bought out and the policies have changed. I have no idea if the files are even available anymore.

    The required files from symbol are
    PDF32.Bas PDFENC32.DLL
    It's been over 20 years since I downloaded them so have no idea if they were a separate download or if they were part of a symbol developers kit. I downloaded many of those over the years as I did a lot of development for symbol devices.

  3. #3
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,068

    Re: pdf417 barcode

    what is the md5 of PDF32.Bas and PDFENC32.DLL? they might be on the web somewhere

  4. #4

    Thread Starter
    Addicted Member Davor Geci's Avatar
    Join Date
    Sep 2009
    Posts
    222

    Re: pdf417 barcode

    Thanks DataMiser for your response.
    Yes, I did test with other PDF417 barcodes and it works.
    Not sure what it is. The barcodes look almost the same, but the scanner can't recognize this mine.
    Hm.
    My projects:
    Virtual Forms
    VBA Telemetry

  5. #5

    Thread Starter
    Addicted Member Davor Geci's Avatar
    Join Date
    Sep 2009
    Posts
    222

    Re: pdf417 barcode

    Thank you all guys.

    I have found the solution or where the problem was.

    Now it works :-)

    On all the places where you can download this code it is an older version of the code. But on the authors homepage there is a newer version.
    We can see it by the version number that the author has put in the code.

    The main function is:

    Code:
    Private Function pdf417$(Chaine$, Optional ByRef sécu%, Optional ByRef nbcol%, Optional ByRef CodeErr%)
    and there is a line with the version. In my case it was 'V 1.2.0

    But after downloading the code from the authors homepage, this function is having version number 'V 1.5.0

    There are a lot's of code lines changed between this 2 version, and I don't speak Franch so I'm not sure what was the problem (all the comments are on french)

    If anyone will have the same problem or will be in need for PDF417 barcodes in VB6 or VBA here is that authors homepage and the latest code:

    http://grandzebu.net/informatique/codbar-en/pdf417.htm

    Once again thank you all for your help and posts.

    Davor
    My projects:
    Virtual Forms
    VBA Telemetry

  6. #6
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: pdf417 barcode

    Quote Originally Posted by dz32 View Post
    what is the md5 of PDF32.Bas and PDFENC32.DLL? they might be on the web somewhere
    I have no idea though I doubt they were ever in that format, likely a zip or msi file and may have been part of one of the many development kits issued by symbol back in the day.

  7. #7
    Registered User
    Join Date
    May 2021
    Posts
    1

    Re: pdf417 barcode

    Can I ask for you to post the latest code of pdf417.bas ,I can't open the author's homepage in china,Thank you very much

  8. #8

    Thread Starter
    Addicted Member Davor Geci's Avatar
    Join Date
    Sep 2009
    Posts
    222

    Re: [RESOLVED] pdf417 barcode

    Hello,
    I could not paste the code because it is too long for a forum post.

    Here is the module in att and also the font.
    The font is in a zip archive because the forum doesn't allow to insert ttf files.

    The first function in this module is my function and how I'm using it.

    modPDF417.bas

    pdf417.zip

    Hope this helps.
    Davor
    My projects:
    Virtual Forms
    VBA Telemetry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width