Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Crystal Reports Viewer Scale Report Page to Fit Printer Page Disabled

$
0
0

Need help with determining how to disable Scale Report Page to Fit Printer Page for VB.NET because all my crystal reports print outs are smaller than how they use to print after upgrading to Crystal Reports XI SP4.  I have coded the program to not scale during run-time but nothing seems to make a difference in terms of disabling the Scale Report Page to Fit Printer Page.

 

Dim printPrompt As New Windows.Forms.PrintDialog

printPrompt.PrinterSettings = New System.Drawing.Printing.PrinterSettings

printPrompt.AllowSomePages = True

 

Dim oLayout As New CrystalDecisions.Shared.PrintLayoutSettings

oLayout.Centered = False

oLayout.Scaling = PrintLayoutSettings.PrintScaling.DoNotScale

 

Dim margins As PageMargins

margins = rpt.PrintOptions.PageMargins

margins.bottomMargin = 0

margins.leftMargin = 0

margins.rightMargin = 0

margins.topMargin = 0

rpt.PrintOptions.ApplyPageMargins(margins)

 

rpt.PrintToPrinter(printPrompt.PrinterSettings, printPrompt.PrinterSettings.DefaultPageSettings, False, oLayout)


Viewing all articles
Browse latest Browse all 3636

Trending Articles



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