_Application.PrintCommunication property

Office 2013 and later

Gets or sets whether communication with the printer is turned on.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

bool PrintCommunication { get; set; }

Property value

Type: System.Boolean
true if communication with the printer is turned on; otherwise, false.

boolean Read/write.

Set the PrintCommunication property to false to speed up the execution of code that sets PageSetup properties. Set the PrintCommunication property to true after setting properties to commit all cached PageSetup commands.

Show: