This sample source code below will demonstrate you how to add barcodes to TIFF in VBScript. ByteScout Barcode SDK is the robost SDK that generates high quality barcode images and pdf. Can generate all popular types of barcodes from QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix to more exotic barcode types. Fully customizable fonts, colors, print sizes. Includes special functions to ensure output quality, and tools for adding barcodes to new or existing pdf files and images and you can use it to add barcodes to TIFF with VBScript.
VBScript code samples for VBScript developers help to speed up coding of your application when using ByteScout Barcode SDK. In order to implement the functionality, you should copy and paste this code for VBScript below into your code editor with your app, compile and run your application. Implementing VBScript application typically includes multiple stages of the software development so even if the functionality works please test it with your data and the production environment.
Trial version of ByteScout Barcode SDK is available for free. Source code samples are included to help you with your VBScript app.
' Create barcode object and register it Set barcode = CreateObject("Bytescout.BarCode.Barcode") barcode.RegistrationName = "demo" barcode.RegistrationKey = "demo" ' set symbology to PDF417 barcode.Symbology = 13 ' 13 = PDF417 symbology type ' set barcode value to encode barcode.Value = "Sample barcode" ' Place barcode at bottom-right corner of the the first TIFF page barcode.DrawToImage "..\wikipedia.tif", 0, 550, 1100, "result.tif" ' Open the output file in default image viewer. Set shell = CreateObject("WScript.Shell") shell.Run "result.tif", 1, false Set shell = Nothing Set barcode = Nothing