ByteScout BarCode Generator SDK - ASP Classic - Create PDF With Datamatrix Barcode - 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 Generator SDK – ASP Classic – Create PDF With Datamatrix Barcode

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – ASP Classic – Create PDF With Datamatrix Barcode

How to create PDF with datamatrix barcode in ASP Classic using ByteScout Barcode SDK

This tutorial will show how to create PDF with datamatrix barcode in ASP Classic

This sample source code below will demonstrate you how to create PDF with datamatrix barcode in ASP Classic. What is ByteScout Barcode SDK? It is the fully featured library to generate barcodes. Supports QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix and many other barcode types. Includes various options for barcode generation to ensure output quality, add barcodes to new or existing pdf files and images. It can help you to create PDF with datamatrix barcode in your ASP Classic application.

Fast application programming interfaces of ByteScout Barcode SDK for ASP Classic plus the instruction and the code below will help you quickly learn how to create PDF with datamatrix barcode. Follow the instructions from the scratch to work and copy the ASP Classic code. Test ASP Classic sample code examples whether they respond your needs and requirements for the project.

Download free trial version of ByteScout Barcode SDK from our website with this and other source code samples for ASP Classic.

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

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

CreatePDFWithBarcode.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") ' set symbology to Datamatrix bc.Symbology = 15 ' 15 = DataMatrix symbology type ' set barcode value to encode bc.Value = "https://www.bytescout.com" ' Place barcode at top-left corner of every document page barcode.DrawToPDF "..\wikipedia.pdf", -1, 10, 10, "result.pdf" PDFImage = bc.BinaryImage response.ContentType = "application/pdf" ' add content type header response.AddHeader "Content-Type", "application/pdf" ' set the content disposition response.AddHeader "Content-Disposition", "inline;filename=HelloWorld.pdf" ' write the binary image to the Response output stream response.BinaryWrite PDFImage response.End ' disconnect from libraries Set bc = Nothing %>

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK 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 SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next