Printer Object
 
Syntax
 
Printer.PaerSizes(vsPaperSizeSettings)
 
Description
Returns whether a given paper size is available on the current printer.
 
Use this property to make sure a specific paper bin is available before selecting it with the PaperSize property, or to build a list of available paper sizes for selection by the user.
 
For example, the code below shows which sizes 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 256
      If vp.PaperSizes(i) Then
         Debug.Print " Size "; i; " available"
      End If
   Next
 
   'niets afdrukken, object afsluiten
   End
 
End Sub