## Printer Device Driver

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

### Media Definition Tables

Fill in table for all Media Types supported by all printer models supported in this module. This table is comprised from MEDIAINFO structures in the device.h file.

The following is an example of a media definition table with a "plain" media-type entry:

         MEDIAINFO SAMPLE_pMedias[] =
         {
           {
             MEDIA_ID_PLAIN,               // ulMediaID;
             MEDIA_TYPE_PLAIN,             // ulMediaCap;
             DJP_MED_PLAIN,                // ulDJPid;
             MEDIA_STRING_PLAIN,           // ulNameID;
             "",                           // szMediaName[LEN_MEDIANAME];
             5,                            // ulCmdSelectMedia
             _ESC_ "&l0M",                 // szMediaTypeCmd;
             FALSE,                        // ulColorAdjustRequired
             HEAVY_ABSORPTION,             // ulAbsorptionAdjust
           }, /* end Plain media */
         } /*end media table */