## Printer Device Driver

[prev][next][parent][TOC]

### Tray Definition Tables

Fill in table for all paper trays supported by all printer models supported in this module. This table is comprised from TRAYINFO structures in the device.h file.

The following is an example of a tray definition table with an "automatic" tray entry:

        TRAYINFO SAMPLE_pTrays[] =
        {
          {
             TRAY_ID_AUTO,         // ulTrayID;
             TRAY_SHEET_FEEDER,    // ulTrayCapability
             DJP_TRY_AUTO,         // ulDJPid; Dynamic Job Property
             TRAY_STRING_AUTO,     // ulNameID;
             "",                   // pszTrayName;
             TRAY_TYPE_AUTO,       // ulTrayType;
             5,                    // ulCmdSelectTray;
             _ESC_ "&l1H",         // szCmdSelectTray;
             0,                    // reserved1
             (PULONG)NULL          // reserved2
          } /* end tray auto */
        } /* end tray table */