This DLL is designed to allow you to change the default printer
from within Access without having to go to control panel and
change it there. It also allows you to open the printer setup
dialog box for any installed printer (something you can't do
with Access Basic).

If you like this DLL and use it, please register it, the cost is
only $20 (see the file License.txt). I will then send you a
version without the message box that reminds you to register
your copy. If you are an application developer and want to
distribute this DLL with your applications, please contact me
for more information.

I wrote this DLL because I did not like the several methods that
exist to change the printer setup from within Access. Using this
DLL makes the behavior of the application more like Word 6.0,
and is easier to implement than using Access Basic.

To use it, simply paste the code below into a new Module and
place the Printset.DLL into the WINDOWS\SYSTEM directory. Then
call the Sub PrintSetup from anywhere in your code. Note: a
function is also included here in case you want to call the dll
from a macro, since macro's can only call Functions, not Sub's.

If you have any comments about this DLL, please e-mail them to
me at 72113,2411


'================================================================
'DLL declaration
Declare Sub PrintSetup Lib "PrintSet.DLL" ()


Function PrinterSetup ()

'This function is just a cover to the PrintSetup Sub
'in the dll PrintSet.DLL

'call the sub to open the Printer Setup Dialog Box.
PrintSetup

End Function

'================================================================


