Just need to check - are you aware of:
Quote:


SetDefaultPrinter( )
Action: Sets the default printer to which applications send print jobs.

Syntax: SETDEFAULTPRINTER ("printer name")

Parameters: Printer name

String that specifies the fully qualified name of the printer to set as the default printer. Note that if the printer involved was connected to using AddPrinterConnection, you must include both the servername and the sharename.

Returns:
0 Default printer set
Error code Function failed





Edited by ewook (2006-04-19 04:43 PM)
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!