Have you looked at SetDefaultPrinter()?

If you have NT or higher you can use ADDPRINTERCONNECTION().
_________________________
Home page: http://www.kixhelp.com/hb/