AdvancedPrintOptions.PrintDensityBars property (Publisher)

True to print a density bar for the specified publication. The default is True. Read/write Boolean.

Syntax

expression.PrintDensityBars

expression A variable that represents an AdvancedPrintOptions object.

Return value

Boolean

Remarks

Returns "Permission Denied" if any print mode other than separations is selected for the specified publication.

The density bar printed is graded from a 10 percent screen to a 100 percent fill. A commercial printer can use this bar to determine proper exposure time for plate burning, and to test dot gain in the printed pages.

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

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.