Platforms to show: All Mac Windows Linux Cross-Platform
WindowsDeviceModeMBS constants
Constants
Constant | Value | Description |
---|---|---|
DMBIN_AUTO | 7 |
One of the source bin constants.
Auto |
DMBIN_CASSETTE | 14 |
One of the source bin constants.
Cassette |
DMBIN_ENVELOPE | 5 |
One of the source bin constants.
Envelope |
DMBIN_ENVMANUAL | 6 |
One of the source bin constants.
Envelope Manual. |
DMBIN_FORMSOURCE | 15 |
One of the source bin constants.
Form Source. |
DMBIN_LARGECAPACITY | 11 |
One of the source bin constants.
Large Capacity |
DMBIN_LARGEFMT | 10 |
One of the source bin constants.
Large Format |
DMBIN_LOWER | 2 |
One of the source bin constants.
Lower |
DMBIN_MANUAL | 4 |
One of the source bin constants.
Manual |
DMBIN_MIDDLE | 3 |
One of the source bin constants.
Middle |
DMBIN_ONLYONE | 1 |
One of the source bin constants.
Only One. |
DMBIN_SMALLFMT | 9 |
One of the source bin constants.
Small Format |
DMBIN_TRACTOR | 8 |
One of the source bin constants.
Tractor |
DMBIN_UPPER | 1 |
One of the source bin constants.
Upper |
DMBIN_USER | 256 |
One of the source bin constants.
User |
DMCOLLATE_FALSE | 0 |
One of the collate mode constants.
Do not collate when printing multiple copies. |
DMCOLLATE_TRUE | 1 |
One of the collate mode constants.
Collate when printing multiple copies. |
DMCOLOR_COLOR | 2 |
One of the color mode constants.
Color |
DMCOLOR_MONOCHROME | 1 |
One of the color mode constants.
Monochrome. |
DMDITHER_COARSE | 2 |
One of the dither constants.
Dithering with a coarse brush. |
DMDITHER_ERRORDIFFUSION | 5 | One of the dither constants. |
DMDITHER_FINE | 3 |
One of the dither constants.
Dithering with a fine brush. |
DMDITHER_GRAYSCALE | 10 |
One of the dither constants.
Device does gray scaling. |
DMDITHER_LINEART | 4 |
One of the dither constants.
Line art dithering, a special dithering method that produces well defined borders between black, white, and gray scaling. It is not suitable for images that include continuous graduations in intensity and hue, such as scanned photographs. |
DMDITHER_NONE | 1 |
One of the dither constants.
No dithering. |
DMDITHER_RESERVED6 | 6 | One of the dither constants. |
DMDITHER_RESERVED7 | 7 | One of the dither constants. |
DMDITHER_RESERVED8 | 8 | One of the dither constants. |
DMDITHER_RESERVED9 | 9 | One of the dither constants. |
DMDITHER_USER | 256 | One of the dither constants. |
DMDUP_HORIZONTAL | 3 |
One of the duplex mode constants.
Horizontal duplex. |
DMDUP_SIMPLEX | 1 |
One of the duplex mode constants.
No duplex = simplex. |
DMDUP_VERTICAL | 2 |
One of the duplex mode constants.
Vertical duplex. |
DMICMMETHOD_DEVICE | 4 |
One of the ICM method constants.
Specifies that ICM is handled by the destination device. |
DMICMMETHOD_DRIVER | 3 |
One of the ICM method constants.
Specifies that ICM is handled by the device driver. |
DMICMMETHOD_NONE | 1 |
One of the ICM method constants.
Specifies that ICM is disabled. |
DMICMMETHOD_SYSTEM | 2 |
One of the ICM method constants.
Specifies that ICM is handled by Windows. |
DMICMMETHOD_USER | 256 | One of the ICM method constants. |
DMICM_ABS_COLORIMETRIC | 4 |
One of the ICM intent constants.
Color matching should optimize to match the exact color requested without white point mapping. This value is most appropriate for use with proofing. |
DMICM_COLORIMETRIC | 3 |
One of the ICM intent constants.
Color matching should optimize to match the exact color requested. This value is most appropriate for use with business logos or other images when an exact color match is desired. |
DMICM_CONTRAST | 2 |
One of the ICM intent constants.
Color matching should optimize for color contrast. This value is the most appropriate choice for scanned or photographic images when dithering is desired. |
DMICM_SATURATE | 1 |
One of the ICM intent constants.
Color matching should optimize for color saturation. This value is the most appropriate choice for business graphs when dithering is not desired. |
DMICM_USER | 256 | One of the ICM intent constants. |
DMMEDIA_GLOSSY | 3 |
One of the media type constants.
Glossy paper. |
DMMEDIA_STANDARD | 1 |
One of the media type constants.
Plain paper. |
DMMEDIA_TRANSPARENCY | 2 |
One of the media type constants.
Transparent film. |
DMMEDIA_USER | 256 | One of the media type constants. |
DMNUP_ONEUP | 2 |
One of the NUP constants.
The application does the NUP. |
DMNUP_SYSTEM | 1 |
One of the NUP constants.
The print spooler does the NUP. |
DMORIENT_LANDSCAPE | 2 |
One of the orientation constants.
Landscape mode. Example |
DMORIENT_PORTRAIT | 1 |
One of the orientation constants.
Portrait mode. Example |
DMPAPER_10x11 | 45 |
One of the paper format constants.
10- by 11-inch sheet |
DMPAPER_10x14 | 16 |
One of the paper format constants.
10- by 14-inch sheet |
DMPAPER_11X17 | 17 |
One of the paper format constants.
11- by 17-inch sheet |
DMPAPER_12X11 | 90 |
One of the paper format constants.
12- by 11-inch sheet |
DMPAPER_15X11 | 46 |
One of the paper format constants.
15- by 11-inch sheet |
DMPAPER_9X11 | 44 |
One of the paper format constants.
9- by 11-inch sheet |
DMPAPER_A2 | 66 |
One of the paper format constants.
A2 sheet, 420 x 594-millimeters |
DMPAPER_A3 | 8 |
One of the paper format constants.
A3 sheet, 297- by 420-millimeters |
DMPAPER_A3_EXTRA | 63 |
One of the paper format constants.
A3 Extra 322 x 445-millimeters |
DMPAPER_A3_EXTRA_TRANSVERSE | 68 |
One of the paper format constants.
A3 Extra Transverse 322 x 445-millimeters |
DMPAPER_A3_ROTATED | 76 |
One of the paper format constants.
A3 rotated sheet, 420- by 297-millimeters |
DMPAPER_A3_TRANSVERSE | 67 |
One of the paper format constants.
A3 Transverse 297 x 420-millimeters |
DMPAPER_A4 | 9 |
One of the paper format constants.
A4 sheet, 210- by 297-millimeters |
DMPAPER_A4_EXTRA | 53 |
One of the paper format constants.
A4 sheet, 9.27 x 12.69 inches |
DMPAPER_A4_PLUS | 60 |
One of the paper format constants.
A4 Plus 210 x 330-millimeters |
DMPAPER_A4_ROTATED | 77 |
One of the paper format constants.
A4 rotated sheet, 297- by 210-millimeters |
DMPAPER_A4_SMALL | 10 |
One of the paper format constants.
A4 small sheet, 210- by 297-millimeters |
DMPAPER_A4_TRANSVERSE | 55 |
One of the paper format constants.
A4 Transverse 210 x 297 millimeters |
DMPAPER_A5 | 11 |
One of the paper format constants.
A5 sheet, 148- by 210-millimeters |
DMPAPER_A5_EXTRA | 64 |
One of the paper format constants.
A5 Extra 174 x 235-millimeters |
DMPAPER_A5_ROTATED | 78 |
One of the paper format constants.
A5 rotated sheet, 210- by 148-millimeters |
DMPAPER_A5_TRANSVERSE | 61 |
One of the paper format constants.
A5 Transverse 148 x 210-millimeters |
DMPAPER_A6 | 70 |
One of the paper format constants.
A6 sheet, 105- by 148-millimeters |
DMPAPER_A6_ROTATED | 83 |
One of the paper format constants.
A6 rotated sheet, 148- by 105-millimeters |
DMPAPER_A_PLUS | 57 |
One of the paper format constants.
SuperA/A4 227 x 356 -millimeters |
DMPAPER_B4 | 12 |
One of the paper format constants.
B4 sheet, 250- by 354-millimeters |
DMPAPER_B4_JIS_ROTATED | 79 |
One of the paper format constants.
B4 (JIS) rotated sheet, 364- by 257-millimeters |
DMPAPER_B5 | 13 |
One of the paper format constants.
B5 sheet, 182- by 257-millimeter paper |
DMPAPER_B5_EXTRA | 65 |
One of the paper format constants.
B5 (ISO) Extra 201 x 276-millimeters |
DMPAPER_B5_JIS_ROTATED | 80 |
One of the paper format constants.
B5 (JIS) rotated sheet, 257- by 182-millimeters |
DMPAPER_B5_TRANSVERSE | 62 | One of the paper format constants. |
DMPAPER_B6_JIS | 88 |
One of the paper format constants.
B6 (JIS) sheet, 128- by 182-millimeters |
DMPAPER_B6_JIS_ROTATED | 89 |
One of the paper format constants.
B6 (JIS) rotated sheet, 182- by 128-millimeters |
DMPAPER_B_PLUS | 58 |
One of the paper format constants.
SuperB/A3 305 x 487-millimeters |
DMPAPER_CSHEET | 24 |
One of the paper format constants.
C Sheet, 17- by 22-inches |
DMPAPER_DBL_JAPANESE_POSTCARD | 69 |
One of the paper format constants.
Double Japanese Postcard, 200- by 148-millimeters |
DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED | 82 |
One of the paper format constants.
Double Japanese Postcard Rotated, 148- by 200-millimeters |
DMPAPER_DSHEET | 25 |
One of the paper format constants.
D Sheet, 22- by 34-inches |
DMPAPER_ENV_10 | 20 | One of the paper format constants. |
DMPAPER_ENV_11 | 21 | One of the paper format constants. |
DMPAPER_ENV_12 | 22 | One of the paper format constants. |
DMPAPER_ENV_14 | 23 | One of the paper format constants. |
DMPAPER_ENV_9 | 19 | One of the paper format constants. |
DMPAPER_ENV_B4 | 33 |
One of the paper format constants.
B4 Envelope, 250- by 353-millimeters |
DMPAPER_ENV_B5 | 34 |
One of the paper format constants.
B5 Envelope, 176- by 250-millimeters |
DMPAPER_ENV_B6 | 35 |
One of the paper format constants.
B6 Envelope, 176- by 125-millimeters |
DMPAPER_ENV_C3 | 29 |
One of the paper format constants.
C3 Envelope, 324- by 458-millimeters |
DMPAPER_ENV_C4 | 30 |
One of the paper format constants.
C4 Envelope, 229- by 324-millimeters |
DMPAPER_ENV_C5 | 28 |
One of the paper format constants.
C5 Envelope, 162- by 229-millimeters |
DMPAPER_ENV_C6 | 31 |
One of the paper format constants.
C6 Envelope, 114- by 162-millimeters |
DMPAPER_ENV_C65 | 32 |
One of the paper format constants.
C65 Envelope, 114- by 229-millimeters |
DMPAPER_ENV_DL | 27 |
One of the paper format constants.
DL Envelope, 110- by 220-millimeters |
DMPAPER_ENV_INVITE | 47 |
One of the paper format constants.
Envelope Invite 220 x 220 mm |
DMPAPER_ENV_ITALY | 36 |
One of the paper format constants.
Italy Envelope, 110- by 230-millimeters |
DMPAPER_ENV_MONARCH | 37 |
One of the paper format constants.
Monarch Envelope, 3 7/8- by 7 1/2-inches |
DMPAPER_ENV_PERSONAL | 38 |
One of the paper format constants.
6 3/4 Envelope, 3 5/8- by 6 1/2-inches |
DMPAPER_ESHEET | 26 |
One of the paper format constants.
E Sheet, 34- by 44-inches |
DMPAPER_EXECUTIVE | 7 |
One of the paper format constants.
Executive, 7 1/4- by 10 1/2-inches |
DMPAPER_FANFOLD_LGL_GERMAN | 41 |
One of the paper format constants.
German Legal Fanfold, 8 - by 13-inches |
DMPAPER_FANFOLD_STD_GERMAN | 40 |
One of the paper format constants.
German Std Fanfold, 8 1/2- by 12-inches |
DMPAPER_FANFOLD_US | 39 |
One of the paper format constants.
US Std Fanfold, 14 7/8- by 11-inches |
DMPAPER_FOLIO | 14 |
One of the paper format constants.
Folio, 8 1/2- by 13-inch paper |
DMPAPER_ISO_B4 | 42 |
One of the paper format constants.
B4 (ISO) 250- by 353-millimeters paper |
DMPAPER_JAPANESE_POSTCARD | 43 |
One of the paper format constants.
Japanese Postcard, 100- by 148-millimeters |
DMPAPER_JAPANESE_POSTCARD_ROTATED | 81 |
One of the paper format constants.
Japanese Postcard Rotated, 148- by 100-millimeters |
DMPAPER_JENV_CHOU3 | 73 |
One of the paper format constants.
Japanese Envelope Chou #3 |
DMPAPER_JENV_CHOU3_ROTATED | 86 |
One of the paper format constants.
Japanese Envelope Chou #3 Rotated |
DMPAPER_JENV_CHOU4 | 74 |
One of the paper format constants.
Japanese Envelope Chou #4 |
DMPAPER_JENV_CHOU4_ROTATED | 87 |
One of the paper format constants.
Japanese Envelope Chou #4 Rotated |
DMPAPER_JENV_KAKU2 | 71 |
One of the paper format constants.
Japanese Envelope Kaku #2 |
DMPAPER_JENV_KAKU2_ROTATED | 84 |
One of the paper format constants.
Japanese Envelope Kaku #2 Rotated |
DMPAPER_JENV_KAKU3 | 72 |
One of the paper format constants.
Japanese Envelope Kaku #3 |
DMPAPER_JENV_KAKU3_ROTATED | 85 |
One of the paper format constants.
Japanese Envelope Kaku #3 Rotated |
DMPAPER_JENV_YOU4 | 91 |
One of the paper format constants.
Japanese Envelope You #4 |
DMPAPER_JENV_YOU4_ROTATED | 92 |
One of the paper format constants.
Japanese Envelope You #4 Rotated |
DMPAPER_LEDGER | 4 |
One of the paper format constants.
Ledger, 17- by 11-inches |
DMPAPER_LEGAL | 5 |
One of the paper format constants.
Legal, 8 1/2- by 14-inches |
DMPAPER_LEGAL_EXTRA | 51 |
One of the paper format constants.
Legal Extra 9 1/2 x 15 inches. |
DMPAPER_LETTER | 1 |
One of the paper format constants.
Letter, 8 1/2- by 11-inches |
DMPAPER_LETTERSMALL | 2 |
One of the paper format constants.
Letter Small, 8 1/2- by 11-inches |
DMPAPER_LETTER_EXTRA | 50 |
One of the paper format constants.
Letter Extra 9 1/2 x 12 inches. |
DMPAPER_LETTER_EXTRA_TRANSVERSE | 56 |
One of the paper format constants.
Letter Extra Transverse 9 1/2 x 12 inches. |
DMPAPER_LETTER_PLUS | 59 | One of the paper format constants. |
DMPAPER_LETTER_ROTATED | 75 |
One of the paper format constants.
Letter Rotated 11 by 8 1/2 inches |
DMPAPER_LETTER_TRANSVERSE | 54 |
One of the paper format constants.
Letter Transverse 8 1/2 x 11-inches |
DMPAPER_NOTE | 18 |
One of the paper format constants.
Note, 8 1/2- by 11-inches |
DMPAPER_P16K | 93 |
One of the paper format constants.
PRC 16K, 146- by 215-millimeters |
DMPAPER_P16K_ROTATED | 106 |
One of the paper format constants.
PRC 16K Rotated, 215- by 146-millimeters |
DMPAPER_P32K | 94 |
One of the paper format constants.
PRC 32K, 97- by 151-millimeters |
DMPAPER_P32KBIG | 95 |
One of the paper format constants.
PRC 32K(Big) 97- by 151-millimeters |
DMPAPER_P32KBIG_ROTATED | 108 |
One of the paper format constants.
PRC 32K(Big) Rotated, 151- by 97-millimeters |
DMPAPER_P32K_ROTATED | 107 |
One of the paper format constants.
PRC 32K Rotated, 151- by 97-millimeters |
DMPAPER_PENV_1 | 96 |
One of the paper format constants.
PRC Envelope #1, 102- by 165-millimeters |
DMPAPER_PENV_10 | 105 |
One of the paper format constants.
PRC Envelope #10, 324- by 458-millimeters |
DMPAPER_PENV_10_ROTATED | 118 |
One of the paper format constants.
PRC Envelope #10 Rotated, 458- by 324-millimeters |
DMPAPER_PENV_1_ROTATED | 109 |
One of the paper format constants.
PRC Envelope #1 Rotated, 165- by 102-millimeters |
DMPAPER_PENV_2 | 97 |
One of the paper format constants.
PRC Envelope #2, 102- by 176-millimeters |
DMPAPER_PENV_2_ROTATED | 110 |
One of the paper format constants.
PRC Envelope #2 Rotated, 176- by 102-millimeters |
DMPAPER_PENV_3 | 98 |
One of the paper format constants.
PRC Envelope #3, 125- by 176-millimeters |
DMPAPER_PENV_3_ROTATED | 111 |
One of the paper format constants.
PRC Envelope #3 Rotated, 176- by 125-millimeters |
DMPAPER_PENV_4 | 99 |
One of the paper format constants.
PRC Envelope #4, 110- by 208-millimeters |
DMPAPER_PENV_4_ROTATED | 112 |
One of the paper format constants.
PRC Envelope #4 Rotated, 208- by 110-millimeters |
DMPAPER_PENV_5 | 100 |
One of the paper format constants.
PRC Envelope #5, 110- by 220-millimeters |
DMPAPER_PENV_5_ROTATED | 113 |
One of the paper format constants.
PRC Envelope #5 Rotated, 220- by 110-millimeters |
DMPAPER_PENV_6 | 101 |
One of the paper format constants.
PRC Envelope #6, 120- by 230-millimeters |
DMPAPER_PENV_6_ROTATED | 114 |
One of the paper format constants.
PRC Envelope #6 Rotated, 230- by 120-millimeters |
DMPAPER_PENV_7 | 102 |
One of the paper format constants.
PRC Envelope #7, 160- by 230-millimeters |
DMPAPER_PENV_7_ROTATED | 115 |
One of the paper format constants.
PRC Envelope #7 Rotated, 230- by 160-millimeters |
DMPAPER_PENV_8 | 103 |
One of the paper format constants.
PRC Envelope #8, 120- by 309-millimeters |
DMPAPER_PENV_8_ROTATED | 116 |
One of the paper format constants.
PRC Envelope #8 Rotated, 309- by 120-millimeters |
DMPAPER_PENV_9 | 104 |
One of the paper format constants.
PRC Envelope #9, 229- by 324-millimeters |
DMPAPER_PENV_9_ROTATED | 117 |
One of the paper format constants.
PRC Envelope #9 Rotated, 324- by 229-millimeters |
DMPAPER_QUARTO | 15 |
One of the paper format constants.
Quarto, 215- by 275-millimeter paper |
DMPAPER_RESERVED_48 | 48 | One of the paper format constants. |
DMPAPER_RESERVED_49 | 49 | One of the paper format constants. |
DMPAPER_STATEMENT | 6 |
One of the paper format constants.
Statement, 5 1/2- by 8 1/2-inches |
DMPAPER_TABLOID | 3 |
One of the paper format constants.
Tabloid, 11- by 17-inches |
DMPAPER_TABLOID_EXTRA | 52 |
One of the paper format constants.
Tabloid, 11.69 x 18-inches |
DMPAPER_USER | 256 |
One of the paper format constants.
user defined size. Set PaperWidth and PaperLength fields. Use all flags DM_PAPERLENGTH, DM_PAPERWIDTH and DM_PAPERSIZE combined for Fields property. |
DMRES_DRAFT | -1 |
One of the print quality constants.
Draft |
DMRES_HIGH | -4 |
One of the print quality constants.
High |
DMRES_LOW | -2 |
One of the print quality constants.
Low |
DMRES_MEDIUM | -3 |
One of the print quality constants.
Medium |
DMTT_BITMAP | 1 |
One of the true type option mode constants.
Prints TrueType fonts as graphics. This is the default action for dot-matrix printers. |
DMTT_DOWNLOAD | 2 |
One of the true type option mode constants.
Downloads TrueType fonts as soft fonts. This is the default action for Hewlett-Packard printers that use Printer Control Language (PCL). |
DMTT_DOWNLOAD_OUTLINE | 4 |
One of the true type option mode constants.
Downloads TrueType fonts as outline soft fonts. |
DMTT_SUBDEV | 3 |
One of the true type option mode constants.
Substitutes device fonts for TrueType fonts. This is the default action for PostScript printers. |
DM_BITSPERPEL | &h00040000 |
One of the flag constants to use with the fields property.
This value is related to the BitsperPel property. |
DM_COLLATE | &h00008000 |
One of the flag constants to use with the fields property.
This value is related to the Collate property. |
DM_COLOR | &h00000800 |
One of the flag constants to use with the fields property.
This value is related to the Color property. |
DM_COPIES | &h00000100 |
One of the flag constants to use with the fields property.
This value is related to the Copies property. |
DM_DEFAULTSOURCE | &h00000200 |
One of the flag constants to use with the fields property.
This value is related to the DefaultSource property. |
DM_DISPLAYFLAGS | &h00200000 |
One of the flag constants to use with the fields property.
This value is related to the DisplayFlags property. |
DM_DISPLAYFREQUENCY | &h00400000 |
One of the flag constants to use with the fields property.
This value is related to the DisplayFrequency property. |
DM_DITHERTYPE | &h04000000 |
One of the flag constants to use with the fields property.
This value is related to the DitherType property. |
DM_DUPLEX | &h00001000 |
One of the flag constants to use with the fields property.
This value is related to the Duplex property. |
DM_FORMNAME | &h00010000 |
One of the flag constants to use with the fields property.
This value is related to the Formname property. |
DM_ICMINTENT | &h01000000 |
One of the flag constants to use with the fields property.
This value is related to the ICMIntent property. |
DM_ICMMETHOD | &h00800000 |
One of the flag constants to use with the fields property.
This value is related to the ICMMethod property. |
DM_LOGPIXELS | &h00020000 |
One of the flag constants to use with the fields property.
This value is related to the LogPixels property. |
DM_MEDIATYPE | &h02000000 |
One of the flag constants to use with the fields property.
This value is related to the MediaType property. |
DM_NUP | &h00000040 |
One of the flag constants to use with the fields property.
This value is related to the NUP property. |
DM_ORIENTATION | &h00000001 |
One of the flag constants to use with the fields property.
This value is related to the Orientation property. Example |
DM_PANNINGHEIGHT | &h10000000 |
One of the flag constants to use with the fields property.
This value is related to the Panningheight property. |
DM_PANNINGWIDTH | &h08000000 |
One of the flag constants to use with the fields property.
This value is related to the Panningwidth property. |
DM_PAPERLENGTH | &h00000004 |
One of the flag constants to use with the fields property.
This value is related to the Paperlength property. |
DM_PAPERSIZE | &h00000002 |
One of the flag constants to use with the fields property.
This value is related to the Papersize property. |
DM_PAPERWIDTH | &h00000008 |
One of the flag constants to use with the fields property.
This value is related to the Paperwidth property. |
DM_PELSHEIGHT | &h00100000 |
One of the flag constants to use with the fields property.
This value is related to the Pelsheight property. |
DM_PELSWIDTH | &h00080000 |
One of the flag constants to use with the fields property.
This value is related to the Pelswidth property. |
DM_POSITION | &h00000020 |
One of the flag constants to use with the fields property.
This value is related to the Position property. |
DM_PRINTQUALITY | &h00000400 |
One of the flag constants to use with the fields property.
This value is related to the PrintQuality property. |
DM_SCALE | &h00000010 |
One of the flag constants to use with the fields property.
This value is related to the Scale property. |
DM_TTOPTION | &h00004000 |
One of the flag constants to use with the fields property.
This value is related to the TTOption property. |
DM_YRESOLUTION | &h00002000 |
One of the flag constants to use with the fields property.
This value is related to the YResolution property. |