FilePrintSetup Method
Specifies the active printer.
Syntax
expression**.FilePrintSetup(Printer)**
*expression * Optional. An expression that returns an Application object.
Printer Optional String. The full name or port name of the active printer.
Example
The following example sets the active printer to the printer on the LPT1 port.
Sub SetActivePrinterToLPT1()
FilePrintSetup "LPT1:"
End Sub
Applies to | Application Object
See Also | FileOpen Method | FilePageSetup Method | FilePrint Method | FilePrintPreview Method | FileSaveAs Method