Düzenle

Aracılığıyla paylaş


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

Options Object

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.