The sample source codes on this page shows how to command line use with barcode sdk in VBScript. ByteScout Barcode Suite: 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 command line use with barcode sdk in VBScript.
This prolific sample source code in VBScript for ByteScout Barcode Suite contains various functions and other necessary options you should do calling the API to command line use with barcode sdk. IF you want to implement the functionality, just copy and paste this code for VBScript below into your code editor with your app, compile and run your application. Want to see how it works with your data then code testing will allow the function to be tested and work properly.
ByteScout Barcode Suite free trial version is available on our website. VBScript and other programming languages are supported.
if WScript.Arguments.Count < 1 Then WScript.Echo "Set barcode value as command line parameter: " & vbCRLF & vbCRLF & "GenerateQRCode.vbs <value>" WScript.Quit 0 End If ' Create and activate QRCode instance Set barcode = CreateObject("Bytescout.BarCode.Barcode") barcode.RegistrationName = "demo" barcode.RegistrationKey = "demo" ' Set barcode type barcode.Symbology = 16 ' 16 = QRCode symbology ' Set barcode value from the command line parameter barcode.Value = WScript.Arguments(0) ' Save barcode image to file barcode.SaveImage("result.png") Set barcode = Nothing
REM running from the command line cscript.exe GenerateQRCode.vbs "ABCDEFGHIJKLMNOP1234567890" pause