InksToPrint Property

Microsoft Publisher Visual Basic

Show All Show All

InksToPrint Property

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

PbInksToPrint can be one of these PbInksToPrint constants.
pbInksToPrintAll Default. Print a separate plate for every ink defined for the publication, whether or not it is used.
pbInksToPrintConvertSpotToProcess Convert any spot color used in the publication to their equivalent CMYK values and print these objects as part of the process color separations.
pbInksToPrintused Print separate plates for only those inks used in the publication.

expression.InksToPrint()

expression    Required. An expression that returns an AdvancedPrintOptions object.

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.

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.

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