PrintJobInformation Property

Microsoft Publisher Visual Basic

PrintJobInformation Property

True to print information about the print job on each plate. The default is True. Read/write Boolean.

expression.PrintJobInformation()

expression    Required. An expression that returns an AdvancedPrintOptions object.

Remarks

The PrintJobInformation property can be set regardless of the print mode selected for the publication. However, it is ignored (and no job information is printed) when the print mode is set as composite RGB. Use the PrintMode property of the AdvancedPrintOptions object to specifiy the print mode for a publication.

Job information comprises the file name of the printed publication, the date it was printed, the page number, and which color ink the plate is for (cyan, magenta, yellow, black, or a spot color).

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

These printer's marks print outside of the publication and can only be printed if the size of the paper 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