Printer Object
 
Syntax
 
Printer.Bins(vsPaperBinSettings)
 
Description
Returns whether a given paper bin is available on the current printer.
 
Use this property to make sure a specific paper bin is available before selecting it with the PaperBin property, or to build a list of available bins for selection by the user.
 
For example, the code below shows which bins are available on the current device.
 
See Also
Example
 
Sub Main
Dim i As Integer
 
'Printer object activeren:
If Not Printer.Init() Then End
 
For i = 1 To 15
If vp.PaperBins(i) Then
Debug.Print " bin "; i; " available"
End If
Next
 
'niets afdrukken, object afsluiten
End
 
End Sub