Skip to content

DFGetPrinterBin - cWinReport2

Determines the bin source for a report

Type: Function
Return Data Type: Integer

Syntax

Function DFGetPrinterBin Returns Integer

Call Example

Get DFGetPrinterBin to IntegerVariable

Description

DFGetPrinterBin returns the bin source used by the current report. It will return one of the following values: | Col 1 | Col 2 | |---|---| | DF_BIN_AUTO | DF_BIN_LOWER | | DF_BIN_CASSETTE | DF_BIN_MANUAL | | DF_BIN_ENVELOPE | DF_BIN_MIDDLE | | DF_BIN_ENVMANUAL | DF_BIN_ONLYONE | | DF_BIN_FIRST | DF_BIN_SMALLFMT | | DF_BIN_LARGECAPACITY | DF_BIN_TRACTOR | | DF_BIN_LARGEFMT | DF_BIN_UPPER |

The DFGet and DFSet messages and the WinPrint2 global object.

All of the cWinReport2 DFGet... and DFSet... messages set the state of the global WinPrint2 report object (the WinPrint2 report engine). It is not setting the state of the report object (i.e., these methods are not setting report object properties). Since many reports in an application will use the global WinPrint2 object, you must set and get the state of this object when your report object has control of it. The best place to do this is inside of the Starting_main_report event.

See Also

DFSetPrinterBin

Return Value

Returns bin source for report