Print

Print()

Prints the whole presentation to the default printer.

public void Print()

Examples

The following example shows how to set print options Dynamically for a PowerPoint Presentation.

[C#]
using (Presentation pres = new Presentation())
{
	PrinterSettings printerSettings = new PrinterSettings();
	printerSettings.Copies = 2;
	printerSettings.DefaultPageSettings.Landscape = true;
	printerSettings.DefaultPageSettings.Margins.Left = 10;
	   //...etc
	pres.Print(printerSettings);
}

See Also


Prints the presentation according to the specified printer settings, using the standard (no User Interface) print controller.

public void Print(PrinterSettings printerSettings)
ParameterTypeDescription
printerSettingsPrinterSettingsThe .NET printer settings to use.

See Also


Print the whole presentation to the specified printer, using the standard (no User Interface) print controller.

public void Print(string printerName)
ParameterTypeDescription
printerNameStringThe name of the printer.

See Also


Prints the document according to the specified printer settings, using the standard (no User Interface) print controller and a presentation name.

public void Print(PrinterSettings printerSettings, string presName)
ParameterTypeDescription
printerSettingsPrinterSettingsThe .NET printer settings to use.
presNameStringThe presentation name to display (for example, in a print status dialog box or printer queue) while printing the presentation.

See Also