ByteScout PDF Suite - VBScript - Silent pdf printing with pdf renderer sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

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

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

silent pdf printing with pdf renderer sdk in VBScript with ByteScout PDF Suite

Simple tutorial on how to do silent pdf printing with pdf renderer sdk in VBScript

These sample source codes given below will show you how to handle a complex task, for example, silent pdf printing with pdf renderer sdk in VBScript. ByteScout PDF Suite was made to help with silent pdf printing with pdf renderer sdk in VBScript. ByteScout PDF Suite is the set that includes 6 SDK products to work with PDF from generating rich PDF reports to extracting data from PDF documents and converting them to HTML. This bundle includes PDF (Generator) SDK, PDF Renderer SDK, PDF Extractor SDK, PDF to HTML SDK, PDF Viewer SDK and PDF Generator SDK for Javascript.

The below SDK samples describe how to quickly make your application do silent pdf printing with pdf renderer sdk in VBScript with the help of ByteScout PDF Suite. Just copy and paste this VBScript sample code to your VBScript application’s code editor, add a reference to ByteScout PDF Suite (if you haven’t added yet) and you are ready to go! Enjoy writing a code with ready-to-use sample VBScript codes to implement silent pdf printing with pdf renderer sdk using ByteScout PDF Suite.

Our website gives free trial version of ByteScout PDF Suite. It includes all these source code samples with the purpose to assist you with your VBScript application implementation.

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 PDF Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

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

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next