View Single Post
  #4 (permalink)  
Old 12-01-2009, 4:52 PM
InertiaM InertiaM is offline
VB.NET Forum Idol
.NET Framework: .NET 2.0
 
Join Date: Nov 2007
Location: Kent, UK
Age: 39
Posts: 538
Reputation: 169
InertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shameInertiaM puts e.f. hutton to shame
Default

Code:
        With pdPrinter
            .DefaultPageSettings.Margins.Left = Convert.ToInt32((3.0 / 25.4) * 100)
        End With
should work.

The main reason for using the Print Preview is to see what it's going to do. Once you have it done, just convert the code to print normally
__________________
Always parameterize your queries - read more here
Reply With Quote