Help Center

CPrint.Trayproperty

Specifies the paper source.

PrintingpropertyCPrint.incdocumented

Syntax

PROPERTY Tray () AS LONG
PROPERTY Tray (BYVAL nTray AS LONG)

Parameters

NameDescription
nTrayLONG. The paper source. Can be one of the following values, or it can be a device-specific value greater than or equal to DMBIN_USER (256).
DMBIN_UPPER = Select the upper paper bin. This value is also used for the paper source for printers that only have one paper bin.
DMBIN_LOWER = Select the lower bin.
DMBIN_MIDDLE = Select the middle paper bin.
DMBIN_MANUAL = Manually select the paper bin.
DMBIN_ENVELOPE = Select the auto envelope bin.
DMBIN_ENVMANUAL = Select the manual envelope bin.
DMBIN_AUTO = Auto-select the bin.
DMBIN_TRACTOR = Select the bin with the tractor paper.
DMBIN_SMALLFMT = Select the bin with the smaller paper format.
DMBIN_LARGEFMT = Select the bin with the larger paper format.
DMBIN_LARGECAPACITY = Select the bin with large capacity.
DMBIN_CASSETTE = Select the cassette bin.
DMBIN_FORMSOURCE = Select the bin with the required form.

Return value

LONG. The paper source.

Description

Gets/sets the paper source.

Reference

  • Include file CPrint.inc
  • Defined in AfxNova/CPrint.inc:818
  • Documented in Printing/CPrint Class.md
  • Topic: CPrint Class