XDoc.PDF
Features
Tech Specs
How-to VB.NET
Pricing
How to Start Convert PDF Work with PDF Modules PDF Document PDF Pages Text Image Graph & Path Annotation, Markup & Drawing Redaction Security Digital Signature Forms Watermark Bookmark Link File Attachment File Metadata Printing Work with Other SDKs Barcode read Barcode create OCR Twain

VB.NET PDF - Print PDF Document in VB.NET


VB.NET PDF Document SDK for PDF Printing in Visual Basic .NET Program





Look for HTML5 PDF Editor?

EdgePDF: ASP.NET PDF Editor is the best HTML5 PDF Editor and ASP.NET PDF Viewer based on XDoc.PDF, JQuery, HTML5. It supports ASP.NET MVC and WebForms projects.



Standalone VB.NET PDF document printer SDK that is programmed in 100% managed VB.NET code


Robust VB.NET document printing solution that can be used in .NET Framework 2.0, 3.0, 3.5, 4.0 & 4.5


Quickly print all target PDF document pages or one specified PDF page by VB.NET code




PDF Printer Library DLLs in VB.NET



Make sure you have installed Visual Studio 2005 (or above versions) and .NET Framework 2.0 (or greater versions);


Add following dlls from VB.NET PDF document printer SDK to your VB.NET project references;


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.XDoc.Raster.dll


  RasterEdge.XDoc.Raster.Core.dll


  RasterEdge.XDoc.PDF.dll


Then you can print PDF document using following demo code.




How to Print PDF Pages Using VB.NET Programming Code



This sample code explains how to print pdf pages in VB.NET Application.




' connect physical/visual printer to print pdf file
Dim stream As FileStream = File.Open("C:\1.pdf", FileMode.Open)
Dim options As PDFPrinterOption = New PDFPrinterOption()
PDFPrinter.Print(stream, options)