Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27346

VS 2012 printing form to pdf

$
0
0
I'm in the process of writing my first program to be used for quoting multiple lines. I need to have a print and save feature into a pdf format but cannot wrap my head around how to make it work. I've used a printform command but all I can get it to do is print the form to a standard printer.

Private Sub Print()

PrintForm1.PrinterSettings.DefaultPageSettings.Margins = New System.Drawing.Printing.Margins(100, 100, 100, 100)
PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable)



End Sub

Any help you could give would be fantastic.

Viewing all articles
Browse latest Browse all 27346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>