PrintCropMarks Property

Microsoft Publisher Visual Basic

PrintCropMarks Property

True to print crop marks for the specified publication. The default is True. Read/write Boolean.

expression.PrintCropMarks()

expression    Required. An expression that returns an AdvancedPrintOptions object.

Remarks

This property corresponds to the Crop marks control on the Page Settings tab of the Advanced Print Settings dialog box.

Crop marks are used as guides when a printed publication is trimmed to its intended size.

These printer's marks print outside of the publication and can only be printed if the size of the sheet being printed to is larger than the publication page size.

Example

The following example sets crop marks and job information to print with the publication. If the publication is printed as separations, the additional types of printer's marks are also set to print. This example assumes that the size of the paper being printed to is larger than the publication page size.

    Sub SetPrintersMarksToPrint()
	With ActiveDocument.AdvancedPrintOptions
		.PrintCropMarks = True
		.PrintJobInformation = True
			If PrintMode = pbPrintModeSeparations Then
				.PrintRegistrationMarks = True
				.PrintDensityBars = True
				.PrintColorBars = True
			End If
		End With
End Sub