ByteScout Premium Suite - VBScript - Silent pdf printing with pdf renderer sdk - ByteScout

ByteScout Premium Suite – VBScript – Silent pdf printing with pdf renderer sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – VBScript – Silent pdf printing with pdf renderer sdk

silent pdf printing with pdf renderer sdk in VBScript and ByteScout Premium Suite

Learn silent pdf printing with pdf renderer sdk in VBScript

Every ByteScout tool includes sampleVBScript source codes that you can find here or in the folder with installed ByteScout product. ByteScout Premium Suite was made to help with silent pdf printing with pdf renderer sdk in VBScript. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.

VBScript code snippet like this for ByteScout Premium Suite works best when you need to quickly implement silent pdf printing with pdf renderer sdk in your VBScript application. If you want to know how it works, then this VBScript sample code should be copied and pasted into your application’s code editor. Then just compile and run it. Use of ByteScout Premium Suite in VBScript is also described in the documentation included along with the product.

Trial version can be downloaded from our website for free. It contains this and other source code samples for VBScript.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Silent Printing.vbs
      
' Create Bytescout.PDFRenderer.DocumentPrinter object Set documentPrinter = CreateObject("Bytescout.PDFRenderer.DocumentPrinter") documentPrinter.RegistrationName = "demo" documentPrinter.RegistrationKey = "demo" ' Load sample PDF document documentPrinter.LoadDocumentFromFile "../../multipage.pdf" ' Change some printing options for demo purposes ' (note, some options might be not supported by the printer): ' Change paper orientation documentPrinter.Landscape = True ' Set number of copies documentPrinter.Copies = 2 ' Set collation documentPrinter.Collate = True ' Force black and white printing documentPrinter.Color = false ' Print all document pages to "Microsoft Print to PDF" documentPrinter.PrintDocument "Microsoft Print to PDF" ' To print specific pages use other procedures with parameters allowing to define pages to print: ' documentPrinter.PrintDocument_2 "Microsoft Print to PDF", "1,3-5,7-" ' documentPrinter.PrintDocument_3 "Microsoft Print to PDF", 2, 4

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite 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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next