Change Default Printer in Access 97/2000

  • Thread starter Thread starter Leo Mansi
  • Start date Start date
L

Leo Mansi

I am creating a database to print different documents. When going to print
I would like it to do 3 things:

1. Record what the current default printer is.
2. Change the default printer to a specific printer.
3. When finished printing, change the default printer back to what it
originally was.

If anyone could provide code to change the default printer and find out what
the current default printer is, I would appreciate it.

Leo Mansi
 
Jeff,

The Albert Kallal solution worked! Thanks!

It works perfectly on a Windows 98 machine. On a Windows XP machine, it
sets the chosen printer as the default printer, but does not dsplay the
checkmark on the printer icon. I can live with that.

Thanks again,

Leo
 
Back
Top