Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Barcodes

Barcodes

Scheduled Pinned Locked Moved The Lounge
question
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MatthysDT
    wrote on last edited by
    #1

    I have an application which generates a report. This report is then converted to PDF and sent out into the world. Recently a barcode was added to add to the reports functionality but the PDF creator totally stuffs this up and the barcode comes out looking very different from the original one, and the scanner also doesn't pick it up. How can I ensure that the barcode wont change when the document is printed/converted to PDF?

    you can't forget something you never knew...

    M L M J 4 Replies Last reply
    0
    • M MatthysDT

      I have an application which generates a report. This report is then converted to PDF and sent out into the world. Recently a barcode was added to add to the reports functionality but the PDF creator totally stuffs this up and the barcode comes out looking very different from the original one, and the scanner also doesn't pick it up. How can I ensure that the barcode wont change when the document is printed/converted to PDF?

      you can't forget something you never knew...

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      It's probably rendered as a bitmap and the PDF creator converts it to an embedded JPEG with very poor resolution and quality (high compression). If you can get it to convert graphics to a lossless format, e.g. PNG, and keep the resolution at 300dpi, it will probably work a lot better, but your file will be significantly larger. If you can get the original barcode rendered as a metafile instead of as a bitmap, and your convertor can convert that metafile into PDF-compatible vector graphics, that would probably be even better. (working with barcodes since 2001)

      Stability. What an interesting concept. -- Chris Maunder

      1 Reply Last reply
      0
      • M MatthysDT

        I have an application which generates a report. This report is then converted to PDF and sent out into the world. Recently a barcode was added to add to the reports functionality but the PDF creator totally stuffs this up and the barcode comes out looking very different from the original one, and the scanner also doesn't pick it up. How can I ensure that the barcode wont change when the document is printed/converted to PDF?

        you can't forget something you never knew...

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        What PDF creator application are you using? I use the Amyuni driver and create barcodes using the DLSoft barcode toolkit with no problems. I have also used Win2PDF and PDF995 with no issues like this...

        M 1 Reply Last reply
        0
        • L Lost User

          What PDF creator application are you using? I use the Amyuni driver and create barcodes using the DLSoft barcode toolkit with no problems. I have also used Win2PDF and PDF995 with no issues like this...

          M Offline
          M Offline
          MatthysDT
          wrote on last edited by
          #4

          Still using Acrobat, haven't tried the ones youv'e mentioned, but will, thanks!

          you can't forget something you never knew...

          L 1 Reply Last reply
          0
          • M MatthysDT

            I have an application which generates a report. This report is then converted to PDF and sent out into the world. Recently a barcode was added to add to the reports functionality but the PDF creator totally stuffs this up and the barcode comes out looking very different from the original one, and the scanner also doesn't pick it up. How can I ensure that the barcode wont change when the document is printed/converted to PDF?

            you can't forget something you never knew...

            M Offline
            M Offline
            Matt Keeble
            wrote on last edited by
            #5

            I have just finished a barcode related software development for the company I work for. While we don't utilise PDF's (and I do understand it's the conversion into PDF that is the issue) I found that simply using a barcode font provided the consistency I needed rather than trying to generate images all over the place. The font I have used is Abri Barcode39[[^](http://Abri Barcode39)] but I can't see why your PDF converter wouldn't convert this as accurately as Verdana or Arial... :~

            L 1 Reply Last reply
            0
            • M Matt Keeble

              I have just finished a barcode related software development for the company I work for. While we don't utilise PDF's (and I do understand it's the conversion into PDF that is the issue) I found that simply using a barcode font provided the consistency I needed rather than trying to generate images all over the place. The font I have used is Abri Barcode39[[^](http://Abri Barcode39)] but I can't see why your PDF converter wouldn't convert this as accurately as Verdana or Arial... :~

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              It depends on the PDF driver. Some of them don't handle "non standard" fonts very well, embedding them as graphics, which doesn't always look right. I had a lot of problems with Win2PDF regarding fonts.

              1 Reply Last reply
              0
              • M MatthysDT

                Still using Acrobat, haven't tried the ones youv'e mentioned, but will, thanks!

                you can't forget something you never knew...

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                The Amyuni driver is by far the best. You have full control over the quality of JPEG images, embedded fonts, etc. Very easy to use. Not free though... but you can distribute it with your apps once you have a copy (I *think* it costs about $500). http://www.amyuni.com[^]

                1 Reply Last reply
                0
                • M MatthysDT

                  I have an application which generates a report. This report is then converted to PDF and sent out into the world. Recently a barcode was added to add to the reports functionality but the PDF creator totally stuffs this up and the barcode comes out looking very different from the original one, and the scanner also doesn't pick it up. How can I ensure that the barcode wont change when the document is printed/converted to PDF?

                  you can't forget something you never knew...

                  J Offline
                  J Offline
                  JoeSox
                  wrote on last edited by
                  #8

                  evilnoodle wrote:

                  How can I ensure that the barcode wont change when the document is printed/converted to PDF?

                  Change the Adobe settings to "Scan as Image"

                  Later, JoeSox "Football is a game of cliches, and I believe in every one of them." -Vincent Lombardi CPMCv1.0 ↔ humanaiproject.org ↔ Last.fm

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups