lindell / JsBarcode

Barcode generation library written in JavaScript that works in both the browser and on Node.js
http://lindell.me/JsBarcode
MIT License
5.45k stars 1.1k forks source link

GTIN-14 #207

Closed shayneslitehouseinc closed 6 years ago

shayneslitehouseinc commented 6 years ago

Is there an option to have the spaces added in the human-readable numbers below the barcode for a GTIN-14?

https://www.gtin.info/

Format ITF14 isn't adding those spaces.

This number: 20017661004122 should read 2 0017661 0041 22.

Thanks!

lindell commented 6 years ago

Hi

You can easily format the text however you want with the text option.

https://codepen.io/lindell/pen/KyjKKr

On Thu, Dec 7, 2017 at 12:35 AM, shayneslitehouseinc < notifications@github.com> wrote:

Is there an option to have the spaces added in the human-readable numbers below the barcode for a GTIN-14?

https://www.gtin.info/

Format ITF14 isn't adding those spaces.

This number: 20017661004122 should read 2 0017661 0041 22.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lindell/JsBarcode/issues/207, or mute the thread https://github.com/notifications/unsubscribe-auth/AARYxHfV4pDaIC7L_9wN_o0ZtM7F9gwLks5s9yTIgaJpZM4Q4wvz .

shayneslitehouseinc commented 6 years ago

Thanks Johan,

I should have kept looking before I sent you an email ;)

Have a good one!

From: Johan Lindell [mailto:notifications@github.com] Sent: Thursday, December 7, 2017 4:42 AM To: lindell/JsBarcode JsBarcode@noreply.github.com Cc: Sean Haynes shaynes@litehouseinc.com; Author author@noreply.github.com Subject: Re: [lindell/JsBarcode] GTIN-14 (#207)

Hi

You can easily format the text however you want with the text option.

https://codepen.io/lindell/pen/KyjKKrhttps://codepen.io/lindell/pen/KyjKKr

On Thu, Dec 7, 2017 at 12:35 AM, shayneslitehouseinc < notifications@github.commailto:notifications@github.com> wrote:

Is there an option to have the spaces added in the human-readable numbers below the barcode for a GTIN-14?

https://www.gtin.info/https://www.gtin.info/

Format ITF14 isn't adding those spaces.

This number: 20017661004122 should read 2 0017661 0041 22.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lindell/JsBarcode/issues/207<https://github.com/lindell/JsBarcode/issues/207>, or mute the thread https://github.com/notifications/unsubscribe-auth/AARYxHfV4pDaIC7L_9wN_o0ZtM7F9gwLks5s9yTIgaJpZM4Q4wvz<https://github.com/notifications/unsubscribe-auth/AARYxHfV4pDaIC7L_9wN_o0ZtM7F9gwLks5s9yTIgaJpZM4Q4wvz> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/lindell/JsBarcode/issues/207#issuecomment-349956112, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARPcY05vvCVKQLwnGs49gtKmWbtTFK9hks5s990mgaJpZM4Q4wvz.

    Sean Haynes Web & Mobile Developer
    Litehouse, Inc. | O: 208-920-2140 
    Learn more about our employee owned company at: www.LitehouseFoods.com