AdvancedPrintOptions.IsPostscriptPrinter property (Publisher)

Returns True if the active printer is a PostScript printer. Read-only Boolean.

Syntax

expression.IsPostscriptPrinter

expression A variable that represents an AdvancedPrintOptions object.

Return value

Boolean

Remarks

The following properties of the AdvancedPrintOptions object are only accessible if the active printer is a Postscript printer: HorizontalFlip, VerticalFlip, and NegativeImage.

Use the Printer.IsActivePrinter property to specify the active printer for a publication.

Example

The following example determines if the active printer is a PostScript printer. If it is, the active publication is set to print as a horizontally and vertically mirrored negative image of itself.

Sub PrepToPrintToFilmOnImagesetter() 
 
With ActiveDocument.AdvancedPrintOptions 
 If .IsPostscriptPrinter = True Then 
 .HorizontalFlip = True 
 .VerticalFlip = True 
 .NegativeImage = 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.