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.

Try it today: Get 60 Day Free Trial or sign up for Web API

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

Try it today: Get 60 Day Free Trial or sign up for Web API

MORE INFORMATION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation

WEB API VERSION

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next