Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.FilePrintSetup Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Specifies the active printer.

Syntax

expression. FilePrintSetup( ** Printer** )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
PrinterOptionalStringThe full name or port name of the active printer.

Return Value

Boolean

Example

The following example sets the active printer to the printer on the LPT1 port.

Sub SetActivePrinterToLPT1() 
 FilePrintSetup "LPT1:" 
End Sub
© 2018 Microsoft