ByteScout Barcode Suite - ASP Classic - Create PDF With Datamatrix Barcode with BarCode SDK - ByteScout

ByteScout Barcode Suite – ASP Classic – Create PDF With Datamatrix Barcode with BarCode SDK

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

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

Learn to create PDF with datamatrix barcode with barcode SDK in ASP Classic

Sample source code below will display you how to manage a complex task like create PDF with datamatrix barcode with barcode SDK in ASP Classic. ByteScout Barcode Suite 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 create PDF with datamatrix barcode with barcode SDK in ASP Classic.

The SDK samples given below describe how to quickly make your application do create PDF with datamatrix barcode with barcode SDK in ASP Classic with the help of ByteScout Barcode Suite. This ASP Classic 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! Further improvement of the code will make it more robust.

ByteScout Barcode Suite free trial version is available on our website. ASP Classic and other programming languages are supported.

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 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