ByteScout PDF Renderer SDK - VB.NET - Silent PDF Document Printing - ByteScout

ByteScout PDF Renderer SDK – VB.NET – Silent PDF Document Printing

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Renderer SDK – VB.NET – Silent PDF Document Printing

silent PDF document printing in VB.NET and ByteScout PDF Renderer SDK

How to use ByteScout PDF Renderer SDK for silent PDF document printing in VB.NET

Source code documentation samples provide quick and easy way to add a required functionality into your application. ByteScout PDF Renderer SDK helps with silent PDF document printing in VB.NET. ByteScout PDF Renderer SDK is the library that renders PDF into high quality images and thumbnails. Includes various functions like batch processing, PNG, TIFF output. Can be used from web and desktop applications.

This rich sample source code in VB.NET for ByteScout PDF Renderer SDK includes the number of functions and options you should do calling the API to implement silent PDF document printing. To do silent PDF document printing in your VB.NET project or application you may simply copy & paste the code and then run your app! VB.NET 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.

Free trial version of ByteScout PDF Renderer SDK is available on our website. Get it to try other samples for VB.NET.

Try ByteScout PDF Renderer SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

Program.vb
      
Imports Bytescout.PDFRenderer Class Program Friend Shared Sub Main(args As String()) Const PrinterName As String = "Microsoft Print to PDF" ' Create an instance of Bytescout.PDFRenderer.DocumentPrinter object and register it. Dim documentPrinter As New DocumentPrinter() documentPrinter.RegistrationName = "demo" documentPrinter.RegistrationKey = "demo" ' Load 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 the specified printer documentPrinter.PrintDocument(PrinterName) ' To print specific pages use overridden methods allowing to define pages to print: 'documentPrinter.PrintDocument(PrinterName, 2, 4) ' printer pages from 3 to 5 'documentPrinter.PrintDocument(PrinterName, New Integer() {0, 2, 3, 4, 6}) ' print specific pages 'documentPrinter.PrintDocument(PrinterName, "1,3-5,7-") documentPrinter.Dispose() End Sub End Class

Try ByteScout PDF Renderer SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout PDF Renderer SDK Home Page

Explore ByteScout PDF Renderer SDK Documentation

Get ByteScout PDF Renderer SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next