Sets the default printer to which all documents should be sent by ASP Printer.
Where object evaluates to an ASP Printer object.
The SetPrinter method has these arguments:
|PrinterName||String expression specifying the name of the printer to send documents to.|
This method sets / changes the printer to which all documents should be sent by ASP Printer. You can use the GetPrinters method to retrieve the names of all logical and physical printers installed / connected to the system, including network printers.
Note: This method does not change the Windows default system printer and has no effect when printing HTML files or HTML documents.
See also the GetPrinters method.