AdvancedPrintOptions Property

Microsoft Publisher Visual Basic

AdvancedPrintOptions Property

Returns an AdvancedPrintOptions object that represents the advanced print settings for a publication. Read-only.

expression.AdvancedPrintOptions()

expression    Required. An expression that returns a Document object.

Remarks

The properties of the AdvancedPrintOptions object correspond to the options in 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