default printer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like access to remember the printer it used last and reuse it by default,
but can't figure out how. There are 2 cumbersome ways I can think of - change
the system default printer or write a printer dialog form for the user. but
since every other office application remebers the last printer used and uses
it by default, I imagine access might. But can't find out how to switch it on.

Any ideas anyone? Thank you.
 
With your report in design view, click on file & then page setup. You can
then make all your printer selections of margins, printer, page size,
orientation etc.
When you save your report, this printer information will also be stored so
that every time you use this report it will use those printer settings. Each
report in your DB can have its own individual printer and settings in this
way.
 
In Access 2002 or 2003, you can set the Printer object before you
OpenReport, without needing to set the default printer for all Windows
programs.

For your report to remember the last used printer, you could create a custom
property for the report, and assign it in Report_Close if it did not exist
or if it was changed. Then set the Printer before you OpenReport.

There's a downloadable sample database to demonstrate that technique here:
Printer Selection Utility
at:
http://allenbrowne.com/AppPrintMgt.html
 
Back
Top