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

# TPrinter.BinName

Name of the Paper Bin currently selected for the print device.

## Declaration

Source position: printers.pas line 347

`public property TPrinter.BinName : string read GetBinName write SetBinName;`

## Description

BinName is a String property with the name for the Paper Bin selected for the print device. BinName contains one of the values found in the SupportedBins property.

The value for the property is retrieved using the DoGetBinName method. Setting a new value for the property requires Printing to be set to False; an exception is raised in CheckPrinting when Printing contains True. The property value is applied using the DoSetBinName method.

## See also

TPrinter.Printing |  | True if the document is currently being printed.
TPrinter.DoGetBinName |  | Performs actions needed to get the current paper bin selected for the print device.
TPrinter.DoSetBinName |  | Performs actions needed to set the selected paper bin for the current printer.
TPrinter.SupportedBins |  | Names for the Paper Bins supported on the print device.