How to Print a PDF Using VB Net

Written by ray padgett
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Print a PDF Using VB Net
Printing a PDF in VB NET requires first opening the PDF. (printer cartridge image by hugy from

When you try to print PDF files in Visual Basic (VB) NET, the printing itself does not make it difficult. The problem lies in reading the PDF in the first place. VB NET does not come with PDF compatibility. However, the company offers an add-on to enable PDF reading. Once you have installed it, you can open any PDF. From there, you can print right from the main VB window.

Skill level:

Other People Are Reading


  1. 1

    Navigate your browser to the Visual Basic website (see link in References section).

  2. 2

    Click "VB PDF tutorial source code" link to download the VB PDF source code from the website.

  3. 3

    Open the ZIP file that downloads.

  4. 4

    Drag and drop the files in the window that pops up onto any folder on your hard drive; keep them all in the same folder.

  5. 5

    Open VB NET.

  6. 6

    Click "Add File" from the "Project" menu.

  7. 7

    Open the files you saved in Step 4.

  8. 8

    Click "mjwPDF.cls." Click "Open."

  9. 9

    Select "Open" from the "File" menu.

  10. 10

    Select the PDF you wish to print, and click "Open."

  11. 11

    Select "Print" from the "File" menu.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.