Assign barcode to an included pdf

  • Posts: 40
  • Thank you received: 0
10 years 6 months ago #154415

Hi. I need to assign a barcode that is equivalent to the serial number I'm giving to my clients. That barcode has to be included in the pdf I attached to the confirmation email sent to the client. Is there a plugin related to that and how would you proceed towards implementing that. As an example, my serial number looks like this: 12345-12345-12345-12345-12345. Atttach is the barcode example.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 6 months ago #154434

Hi,

HikaSerial does not have a feature to create a PDF but it can create a image using the plugin "attach serial".
This plugin have a feature to create QRCodes and barcodes, I don't know the barcode format you want to use (the current format is "EAN13").
If you have more details about the format we can see if the barcode library support it.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 0
10 years 6 months ago #154485

Was able to get the attach serial plugin working however, the serial data for barcodes doesnt print anything. Only qr codes works. Is this a bug or is there a setting i need to fix?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 6 months ago #154486

Hi,

As I said, the format for barcodes in the plugin "attach serial" is "ean13".
To display an EAN13 barcode, you have to provide a compatible data, which fulfill the format requirements.
That's why I am asking you to tell me which barcode format you are using.

Nothing less, nothing more.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 0
10 years 6 months ago #154521

Oh ok, it is ean13. What compatible data do I need to provide? And where on the form do I put them. Thank you for your assistance.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 6 months ago #154539

Hi,

I do not understand.
You used some kind of software to generate your barcode in the first post of this thread, right ?
But you do not use the EAN13 format, it is just not possible because it does not follow the basics of the format specification (12 digits + 1 check digit).
en.wikipedia.org/wiki/European_Article_Number

So, which barcode format are you using ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 0
10 years 6 months ago #154589

Noo, the first image was just an illustration. I want to use the barcode functionality of the plugin. For some reason I can get it to work with qr-codes but not barcodes. So I requested you tell me the settings to get it right. :)

Last edit: 10 years 6 months ago by nibe. Reason: typo

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 6 months ago #154608

Hi,

Possible barcode formats are:

  • code39
  • int25
  • ean13
  • upca
  • upce
  • code128
  • ean8
  • postnet
But for each format, you have to provide a compatible serial data. Ean13 require 12 digits and another digit for the check, it means that this 13 digit can't be a random digit, it has to follow the specification of the EAN13 format.
Like this very use format, the other have specifications too.
You can't display a EAN13 barcode because the serial you are using is not compatible with this format and his specifications.
Please read the wikipedia page, it explains the basics of this common format.

The best will be to generate serial data compatible with the barcode format you want to use.
And you can understand, I can't choose for you for a lot of reasons. I don't know you workflow, I don't how you want to generate the serial, how you will use it, with what kind of hardware/software, etc.
I am trying to provide you as much information I can but the answers must be provided from you, I won't be able to give you the solution for the problem that I don't know.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.079 seconds
Powered by Kunena Forum