次の方法で共有


Options.EnvelopeFeederInstalled Property (Word)

True if the current printer has a special feeder for envelopes. Read-only Boolean.

Syntax

expression .EnvelopeFeederInstalled

expression A variable that represents a Options object.

Example

This example prints the active document as an envelope, provided that there is an envelope feeder installed.

If Options.EnvelopeFeederInstalled = True Then 
 ActiveDocument.Envelope.PrintOut _ 
 AddressFromLeft:=InchesToPoints(3), _ 
 AddressFromTop:=InchesToPoints(1.5) 
Else 
 Msgbox "No envelope feeder available." 
End If

See Also

Concepts

Options Object Members

Options Object