[Overview][Types][Classes][Variables][Index] | Reference for unit 'Printers' (#lcl)

# TPrinter.DefaultBinName

Name for the default Paper Bin on the print device.

## Declaration

Source position: printers.pas line 346

`public property TPrinter.DefaultBinName : string read GetDefaultBinName;`

## Description

DefaultBinName is a read-only String property which contains the name for the default Paper Bin on the selected print device. The value for the property is retrieved using the DoGetDefaultBinName method.

DefaultBinName is used in the implementation of the RestoreDefaultBin method.

Use BinName to read or write the value for the selected paper bin on the print device.

Remark: | The property value is always an empty string ('') in TPrinter. The DoGetDefaultBinName method must be overridden in a descendent class to provide a property value using the facilities available in the operating system / widgetset / printer-related technology.

## See also

TPrinter.DoGetDefaultBinName |  | Performs actions needed to get the name for the default bin on the selected printer.
TPrinter.RestoreDefaultBin |  | Restores the selected Bin for the device to the default value.
TPrinter.BinName |  | Name of the Paper Bin currently selected for the print device.