ByteScout BarCode Generator SDK - VBScript - Add Barcodes To New PDF - ByteScout

ByteScout BarCode Generator SDK – VBScript – Add Barcodes To New PDF

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – VBScript – Add Barcodes To New PDF

How to add barcodes to new PDF in VBScript with ByteScout Barcode SDK

Tutorial on how to add barcodes to new PDF in VBScript

Learn how to add barcodes to new PDF in VBScript with this source code sample. Want to add barcodes to new PDF in your VBScript app? ByteScout Barcode SDK is designed for it. ByteScout Barcode SDK 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.

You will save a lot of time on writing and testing code as you may just take the VBScript code from ByteScout Barcode SDK for add barcodes to new PDF below and use it in your application. In your VBScript project or application you may simply copy & paste the code and then run your app! This basic programming language sample code for VBScript will do the whole work for you to add barcodes to new PDF.

ByteScout Barcode SDK free trial version is available on our website. VBScript 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)

AddBarcodeToPdfDocument.vbs
      
' Create barcode object and register it Set barcode = CreateObject("Bytescout.BarCode.Barcode") barcode.RegistrationName = "demo" barcode.RegistrationKey = "demo" ' set symbology to DataMatrix barcode.Symbology = 15 ' 15 = DataMatrix symbology type ' set barcode value to encode barcode.Value = "Sample barcode" ' Place barcode at top-right corner of every document page barcode.DrawToNewPDF "barcode.pdf", 595,842, 500, 50 ' Open the output file in default PDF viewer. Set shell = CreateObject("WScript.Shell") shell.Run "barcode.pdf", 1, false Set shell = Nothing Set barcode = 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