Announcement

Collapse
No announcement yet.

Print barcode in pdf

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Print barcode in pdf

    I created a Template (PDF) for an entity. I need to insert a barcode based on the value of the NAME field. I do not know how to do.

  • #2
    Hi,
    maybe with this :
    https://github.com/picqer/php-barcode-generator

    and then create on hook the barcode and save it somewhere
    and in the pdf, include the image.

    Regards

    Comment


    • #3

      I do it with Google Graph

      1- insert image with google qrcode url
      2- adjust setting
      3- put data in handlebar bracket {{data}}

      https://chart.googleapis.com/chart?c...L|1&choe=UTF-8

      https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl={{name}}&chld=L|1&cho e=UTF-8

      Comment

      Working...
      X