The coding tutorials are designed to help you test the features without need to write your own code. ByteScout Barcode SDK helps with caption font in VBScript. ByteScout Barcode SDK is the robost library (Software Development Kit) that is designed for automatic generation of high-quality barcodes for printing, electronic documents and pdf. All popular barcode types are supported from Code 39 and Code 129 to QR Code, UPC, GS1, GS-128, Datamatrix, PDF417, Maxicode and many others. Provides support for full customization of fonts, colors, output and printing sizes. Special tools are included to verify output quality and printing quality. Can add generated barcode into new or existing documents, images and PDF.
You will save a lot of time on writing and testing code as you may just take the code below and use it in your application. This VBScript sample code should be copied and pasted into your application’s code editor. Then just compile and run it to see how it works. VBScript application implementation typically includes multiple stages of the software development so even if the functionality works please test it with your data and the production environment.
Visit our website provides for free trial version of ByteScout Barcode SDK. Free trial includes lots of source code samples to help you with your VBScript project.
' Create Barcode object Set bc = CreateObject("Bytescout.BarCode.Barcode") ' Set barcode type to Code39 bc.Symbology = 1 ' 1 = Code39 symbology type ' Set barcode value bc.Value = "012345" ' Change caption font bc.SetCaptionFont "Times New Roman", 24 ' Save barcode bc.SaveImage "Code39.png" ' Open the output file in default app Set shell = CreateObject("WScript.Shell") shell.Run "code39.png", 1, false