Share via


AdvancedPrintOptions.InksToPrint Property

Publisher Developer Reference

Returns or sets a PbInksToPrint constant that represents which inks to print as separate plates. Read/write.

Syntax

expression.InksToPrint

expression   A variable that represents an AdvancedPrintOptions object.

Return Value
PbInksToPrint

Remarks

This property is only accessible if separations are being printed. Use the PrintMode property of the AdvancedPrintOptions object to specifiy that separations are to be printed. Returns "Permission Denied" if any other print mode is specified.

The InksToPrint property is equivalent to the These Plates control on the Separations tab of the Advanced Print Settings dialog box.

The InksToPRint property value can be one of the PbInksToPrint constants declared in the Microsoft Office Publisher type library.

Example

The following example tests to determine if the active publication has been set to print as separations. If it has, it is set to print only plates for the inks actually used in the publication, and to not print plates for any pages where a color is not used.

Visual Basic for Applications
  Sub PrintOnlyInksUsed
	With ActiveDocument.AdvancedPrintOptions
		If .PrintMode = pbPrintModeSeparations Then
			.InksToPrint = pbInksToPrintUsed
			.PrintBlankPlates = False
		End If
	End With
End Sub

See Also