IsPostscriptPrinter Property

Microsoft Publisher Visual Basic

IsPostscriptPrinter Property

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

expression.IsPostscriptPrinter

expression    Required. An expression that returns a AdvancedPrintOptions object.

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 ActivePrinter 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