i want to print the cheque info on the cheque.
i have created an xtrareport on that i have taken the image of cheque and i have set it's visible property to false.
i have also created the custom page size and all margins to zero.
but at the printing time it shows the message that
"One or margins are set outside the printable area of the page.Continue?"
My code is:-
in BeforePrint Event()
Me.DefaultPrinterSettingsUsing.UseMargins = False
Me.Landscape = True
Me.PaperKind = Printing.PaperKind.Custom
Me.PageHeader.Visible = False
Me.PageFooter.Visible = False
Me.BorderWidth = 0
Me.Margins.Left = 0
Me.Margins.Top = 0
Me.Margins.Right = 0
Me.Margins.Bottom = 0
Me.PageHeight = 355
Me.PageWidth = 800
I cant understand what's wrong with it?
Please Help Me. It's Urgent.....