Hello, I'm having a problem with printing a report. I set the report to print in landscape but all the columns arent fitting on the page so I changed the page setup from design view to legal size paper but for some reason the last column is not printing even on legal size. I would be fine even if the last column printed on the second page by itself but its not even doing that it just cuts it off and when it prints its only printing one page and the report is multiple pages long.
The users will be printing from database view not design view, I have a print button on the reports page that is working fine the only issue is that the report is only printing the 1st page and the last column is not printing at all as mentioned before.
Is there a way using VBA that when the print button is hit from database view that will open a print dialog box or print preview so the options of number of pages and paper size can be chosen?
Here is the basic code I have set on the print button, everything I have tired has failed:
Private Sub cmdPrint_Click()
Forms("frmReports").Printer.Orientation = acPRORLandscape
DoCmd.PrintOut , 1, 1, acLow, 1, False
End Sub
The users will be printing from database view not design view, I have a print button on the reports page that is working fine the only issue is that the report is only printing the 1st page and the last column is not printing at all as mentioned before.
Is there a way using VBA that when the print button is hit from database view that will open a print dialog box or print preview so the options of number of pages and paper size can be chosen?
Here is the basic code I have set on the print button, everything I have tired has failed:
Private Sub cmdPrint_Click()
Forms("frmReports").Printer.Orientation = acPRORLandscape
DoCmd.PrintOut , 1, 1, acLow, 1, False
End Sub