default printer module

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

Guest

I need to create a function that will grab and hold the current default
printer. I got code from Albert Kallal that does this, but I need to hold
this value. WHat will happen, when I open a specific report in the on open
event I will call the function that will grab the current default printer.
Then I will change the printer to another printer so that the report prints
to a specific printer, then in the on close event I can recall the original
default printer. I hope this makes sense.

TIA
 
Store the default printer in a module-level variable, or in a table, or in
an INI file, or in the Registry, or...
 
Back
Top