ByteScout Barcode Suite - JavaScript - Generate Barcode with BarCode SDK - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Barcode Suite – JavaScript – Generate Barcode with BarCode SDK

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – JavaScript – Generate Barcode with BarCode SDK

How to generate barcode with barcode SDK in JavaScript with ByteScout Barcode Suite

How to write a robust code in JavaScript to generate barcode with barcode SDK with this step-by-step tutorial

An easy to understand sample source code to learn how to generate barcode with barcode SDK in JavaScript What is ByteScout Barcode Suite? It is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK). It can help you to generate barcode with barcode SDK in your JavaScript application.

Want to save time? You will save a lot of time on writing and testing code as you may just take the JavaScript code from ByteScout Barcode Suite for generate barcode with barcode SDK below and use it in your application. This JavaScript sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Enjoy writing a code with ready-to-use sample codes in JavaScript.

Trial version of ByteScout Barcode Suite is available for free. Source code samples are included to help you with your JavaScript app.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

HelloWorld.js
      
var bc = WScript.CreateObject('Bytescout.BarCode.Barcode'); // set symbology to Code39 bc.Symbology = 1; // 1 = Code39 symbology type // set barcode value to encode bc.Value = "012345"; // Saving Code39 barcode to 'Code39.png' bc.SaveImage ("Code39.png"); // Encoding '012345' using Aztec symbology // set symbology to Aztec (2D) bc.Symbology = 17; // 17 = Aztec // set barcode value to encode bc.Value = "012345"; // Encoding '012345' using Aztec symbology" & vbCRLF & bc.GetValueRestrictions(17), where 17 = Code39 symbology bc.SaveImage ("Aztec.png"); bc = null

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next