View Full Version : Set Printer Options From Access VBA


Tony1949
03-31-2008, 08:14 AM
I am developing an application in Access 2007 and wish to control various printer options from within VBA code. Specifically I want to control whether pages are printed first-to-last or last-to-first.

I am unable to find a suitable property within the the printer object and I'm not aware of any API I could use.

Can anybody please offer any suggestions as to how I may proceed.

Thanks, Tony.

KenHigg
03-31-2008, 08:18 AM
Do you want the end user to be able to decide this at the time they print or do you want to change the default?

RuralGuy
03-31-2008, 10:17 AM
Maybe this link (http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnaraccessdev/html/ODC_MicrosoftOfficeDeveloperForumControllingYourPr interinMicrosoftAccess.asp) will help.

Tony1949
03-31-2008, 11:59 AM
Do you want the end user to be able to decide this at the time they print or do you want to change the default?

I just want to change the default to be appropriate for the current report.

RuralGuy
03-31-2008, 12:07 PM
Then how about this link (http://allenbrowne.com/AppPrintMgt.html)?