My users are connecting to my Access database utilizing terminal server (please don't ask me why-- it's just the container I was given to work with). They are effectively locked out of all other functions on the terminal server except for Access.
My problem is this: I tried to program the report print controls to select the appropriate size/margins/orientation each time they print-- according to Microsoft's recommended specifications-- however, Access 2000's restrictions regarding object design prevent the programatic changes from sticking. (The procedure calls for the report to be opened in design view and altered immediately prior to re-opening and printing.) This worked great in development, however, once the database became shared again, the settings were overridden.
My question is this: How do I either: (1) Force the printer settings in the same call that the report is printed, rather than open the report in design mode and then reopen it to print, or (2) Program (in VBA) a command button to call the printer control panel module so that the end user can alter the printer settings themselves? This would also allow them to convert reports to PDF by selecting the PDF writer should they decide to do so.
Any help you can offer would be greatly appreciated.
My problem is this: I tried to program the report print controls to select the appropriate size/margins/orientation each time they print-- according to Microsoft's recommended specifications-- however, Access 2000's restrictions regarding object design prevent the programatic changes from sticking. (The procedure calls for the report to be opened in design view and altered immediately prior to re-opening and printing.) This worked great in development, however, once the database became shared again, the settings were overridden.
My question is this: How do I either: (1) Force the printer settings in the same call that the report is printed, rather than open the report in design mode and then reopen it to print, or (2) Program (in VBA) a command button to call the printer control panel module so that the end user can alter the printer settings themselves? This would also allow them to convert reports to PDF by selecting the PDF writer should they decide to do so.
Any help you can offer would be greatly appreciated.