ByteScout Barcode Suite - ASP Classic - Generate barcode image 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 – ASP Classic – Generate barcode image with BarCode SDK

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – ASP Classic – Generate barcode image with BarCode SDK

How to generate barcode image with barcode SDK in ASP Classic and ByteScout Barcode Suite

Learn to generate barcode image with barcode SDK in ASP Classic

An easy to understand guide on how to generate barcode image with barcode SDK in ASP Classic with this source code sample. ByteScout Barcode Suite: 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 generate barcode image with barcode SDK in ASP Classic.

Want to quickly learn? This fast application programming interfaces of ByteScout Barcode Suite for ASP Classic plus the guidelines and the code below will help you quickly learn how to generate barcode image with barcode SDK. Just copy and paste the code into your ASP Classic application’s code and follow the instructions. Check ASP Classic sample code samples to see if they respond to your needs and requirements for the project.

ByteScout provides the free trial version of ByteScout Barcode Suite along with the documentation and source code samples.

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

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

GenerateBarcode.asp
      
<% ' In case of "Server.CreateObject Failed", "Server object error "ASP 0177 : 8000ffff" or similar errors: ' Please try the following: ' - Open IIS ' - Find application pools (DefaultAppPool is used by default) ' - Open its properties and check .NET CLR version selected: ' - if you have .NET 1.1 then change to .NET CLR 2.00 ' - if you have .NET CLR 2.00 then try to change to .NET CLR 4.0 Set bc = Server.CreateObject("Bytescout.BarCode.Barcode") bc.RegistrationName="demo" bc.RegistrationKey="demo" ' set barcode type to Datamatrix bc.Symbology = 15 ' 15 = DataMatrix ' set barcode value to encode bc.Value = "https://www.bytescout.com" ' generate and get barcode image as PNG image array of bytes BarCodeImage = bc.GetImageBytesPNG response.ContentType = "image/png" ' add content type header response.AddHeader "Content-Type", "image/png" ' set the content disposition response.AddHeader "Content-Disposition", "inline;filename=BarCode.png" ' write the binary image to the Response output stream response.BinaryWrite BarCodeImage response.End ' disconnect from libraries Set bc = Nothing %>

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