SetPrinter API - or if yopu want to use a wrapped up in .NET style way download the PrintQueueWatch code and use the PrinterInformation class...