Method XbpPrinter():paperBins() Foundation

Retrieves the paper bins installed in the printer device.

:paperBins() --> aPaperBins | NIL

The method returns a 2-dimensional array having 2 columns. The left column contains the numeric IDs of the available paper bins while the right column contains their names as strings:

{ {<nBinId>, <cBinName>}, ; 
  { <...>   , <...>    }  } 

If a printer driver does not support paper bin selection, the method returns NIL.


<nBinId> can be passed to the :setPaperBin() method to select a paper bin. It corresponds with the #define constants XBPPRN_PAPERBIN_* listed in the XBPDEV.CH file. <cBinName> is platform- and/or language-dependent and is useful for building a customized printer-properties dialog.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.