Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsDeviceModeMBS class.

WindowsDeviceModeMBS.DMBIN_AUTO = 7

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Auto

WindowsDeviceModeMBS.DMBIN_CASSETTE = 14

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Cassette

WindowsDeviceModeMBS.DMBIN_ENVELOPE = 5

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Envelope

WindowsDeviceModeMBS.DMBIN_ENVMANUAL = 6

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Envelope Manual.

WindowsDeviceModeMBS.DMBIN_FORMSOURCE = 15

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Form Source.

WindowsDeviceModeMBS.DMBIN_LARGECAPACITY = 11

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Large Capacity

WindowsDeviceModeMBS.DMBIN_LARGEFMT = 10

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Large Format

WindowsDeviceModeMBS.DMBIN_LOWER = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Lower

WindowsDeviceModeMBS.DMBIN_MANUAL = 4

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Manual

WindowsDeviceModeMBS.DMBIN_MIDDLE = 3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Middle

WindowsDeviceModeMBS.DMBIN_ONLYONE = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Only One.

WindowsDeviceModeMBS.DMBIN_SMALLFMT = 9

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Small Format

WindowsDeviceModeMBS.DMBIN_TRACTOR = 8

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Tractor

WindowsDeviceModeMBS.DMBIN_UPPER = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

Upper

WindowsDeviceModeMBS.DMBIN_USER = 256

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the source bin constants.

User

WindowsDeviceModeMBS.DMCOLLATE_FALSE = 0

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the collate mode constants.

Do not collate when printing multiple copies.

WindowsDeviceModeMBS.DMCOLLATE_TRUE = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the collate mode constants.

Collate when printing multiple copies.

WindowsDeviceModeMBS.DMCOLOR_COLOR = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the color mode constants.

Color

WindowsDeviceModeMBS.DMCOLOR_MONOCHROME = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the color mode constants.

Monochrome.

WindowsDeviceModeMBS.DMDITHER_COARSE = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

Dithering with a coarse brush.

WindowsDeviceModeMBS.DMDITHER_ERRORDIFFUSION = 5

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

WindowsDeviceModeMBS.DMDITHER_FINE = 3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

Dithering with a fine brush.

WindowsDeviceModeMBS.DMDITHER_GRAYSCALE = 10

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

Device does gray scaling.

WindowsDeviceModeMBS.DMDITHER_LINEART = 4

Type Topic Plugin Version
const Printing MBS Win Plugin 10.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.

WindowsDeviceModeMBS.DMDITHER_NONE = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

No dithering.

WindowsDeviceModeMBS.DMDITHER_RESERVED6 = 6

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

WindowsDeviceModeMBS.DMDITHER_RESERVED7 = 7

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

WindowsDeviceModeMBS.DMDITHER_RESERVED8 = 8

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

WindowsDeviceModeMBS.DMDITHER_RESERVED9 = 9

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

WindowsDeviceModeMBS.DMDITHER_USER = 256

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the dither constants.

WindowsDeviceModeMBS.DMDUP_HORIZONTAL = 3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the duplex mode constants.

Horizontal duplex.

WindowsDeviceModeMBS.DMDUP_SIMPLEX = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the duplex mode constants.

No duplex = simplex.

WindowsDeviceModeMBS.DMDUP_VERTICAL = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the duplex mode constants.

Vertical duplex.

WindowsDeviceModeMBS.DMICMMETHOD_DEVICE = 4

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the ICM method constants.

Specifies that ICM is handled by the destination device.

WindowsDeviceModeMBS.DMICMMETHOD_DRIVER = 3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the ICM method constants.

Specifies that ICM is handled by the device driver.

WindowsDeviceModeMBS.DMICMMETHOD_NONE = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the ICM method constants.

Specifies that ICM is disabled.

WindowsDeviceModeMBS.DMICMMETHOD_SYSTEM = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the ICM method constants.

Specifies that ICM is handled by Windows.

WindowsDeviceModeMBS.DMICMMETHOD_USER = 256

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the ICM method constants.

WindowsDeviceModeMBS.DMICM_ABS_COLORIMETRIC = 4

Type Topic Plugin Version
const Printing MBS Win Plugin 10.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.

WindowsDeviceModeMBS.DMICM_COLORIMETRIC = 3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
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.

WindowsDeviceModeMBS.DMICM_CONTRAST = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
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.

WindowsDeviceModeMBS.DMICM_SATURATE = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
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.

WindowsDeviceModeMBS.DMICM_USER = 256

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the ICM intent constants.

WindowsDeviceModeMBS.DMMEDIA_GLOSSY = 3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the media type constants.

Glossy paper.

WindowsDeviceModeMBS.DMMEDIA_STANDARD = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the media type constants.

Plain paper.

WindowsDeviceModeMBS.DMMEDIA_TRANSPARENCY = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the media type constants.

Transparent film.

WindowsDeviceModeMBS.DMMEDIA_USER = 256

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the media type constants.

WindowsDeviceModeMBS.DMNUP_ONEUP = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the NUP constants.

The application does the NUP.

WindowsDeviceModeMBS.DMNUP_SYSTEM = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the NUP constants.

The print spooler does the NUP.

WindowsDeviceModeMBS.DMORIENT_LANDSCAPE = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the orientation constants.
Example
dim d as new WindowsDeviceModeMBS
dim name as string = "My printer"

// here we define which values we want to change
d.Fields = d.DM_ORIENTATION
// and change value
d.Orientation = d.DMORIENT_LANDSCAPE

dim w as WindowsPrinterMBS = WindowsPrinterMBS.OpenPrinter(name)
if w.ChangePrinterSettings(d, 2) then
MsgBox "OK"
else
MsgBox "Failed"
end if

Landscape mode.

WindowsDeviceModeMBS.DMORIENT_PORTRAIT = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the orientation constants.
Example
dim d as new WindowsDeviceModeMBS
dim name as string = "My printer"

// here we define which values we want to change
d.Fields = d.DM_ORIENTATION
// and change value
d.Orientation = d.DMORIENT_PORTRAIT

dim w as WindowsPrinterMBS = WindowsPrinterMBS.OpenPrinter(name)
if w.ChangePrinterSettings(d, 2) then
MsgBox "OK"
else
MsgBox "Failed"
end if

Portrait mode.

WindowsDeviceModeMBS.DMPAPER_10x11 = 45

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

10- by 11-inch sheet

WindowsDeviceModeMBS.DMPAPER_10x14 = 16

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

10- by 14-inch sheet

WindowsDeviceModeMBS.DMPAPER_11X17 = 17

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

11- by 17-inch sheet

WindowsDeviceModeMBS.DMPAPER_12X11 = 90

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

12- by 11-inch sheet

WindowsDeviceModeMBS.DMPAPER_15X11 = 46

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

15- by 11-inch sheet

WindowsDeviceModeMBS.DMPAPER_9X11 = 44

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

9- by 11-inch sheet

WindowsDeviceModeMBS.DMPAPER_A2 = 66

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A2 sheet, 420 x 594-millimeters

WindowsDeviceModeMBS.DMPAPER_A3 = 8

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A3 sheet, 297- by 420-millimeters

WindowsDeviceModeMBS.DMPAPER_A3_EXTRA = 63

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A3 Extra 322 x 445-millimeters

WindowsDeviceModeMBS.DMPAPER_A3_EXTRA_TRANSVERSE = 68

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A3 Extra Transverse 322 x 445-millimeters

WindowsDeviceModeMBS.DMPAPER_A3_ROTATED = 76

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A3 rotated sheet, 420- by 297-millimeters

WindowsDeviceModeMBS.DMPAPER_A3_TRANSVERSE = 67

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A3 Transverse 297 x 420-millimeters

WindowsDeviceModeMBS.DMPAPER_A4 = 9

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A4 sheet, 210- by 297-millimeters

WindowsDeviceModeMBS.DMPAPER_A4_EXTRA = 53

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A4 sheet, 9.27 x 12.69 inches

WindowsDeviceModeMBS.DMPAPER_A4_PLUS = 60

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A4 Plus 210 x 330-millimeters

WindowsDeviceModeMBS.DMPAPER_A4_ROTATED = 77

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A4 rotated sheet, 297- by 210-millimeters

WindowsDeviceModeMBS.DMPAPER_A4_SMALL = 10

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A4 small sheet, 210- by 297-millimeters

WindowsDeviceModeMBS.DMPAPER_A4_TRANSVERSE = 55

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A4 Transverse 210 x 297 millimeters

WindowsDeviceModeMBS.DMPAPER_A5 = 11

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A5 sheet, 148- by 210-millimeters

WindowsDeviceModeMBS.DMPAPER_A5_EXTRA = 64

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A5 Extra 174 x 235-millimeters

WindowsDeviceModeMBS.DMPAPER_A5_ROTATED = 78

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A5 rotated sheet, 210- by 148-millimeters

WindowsDeviceModeMBS.DMPAPER_A5_TRANSVERSE = 61

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A5 Transverse 148 x 210-millimeters

WindowsDeviceModeMBS.DMPAPER_A6 = 70

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A6 sheet, 105- by 148-millimeters

WindowsDeviceModeMBS.DMPAPER_A6_ROTATED = 83

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

A6 rotated sheet, 148- by 105-millimeters

WindowsDeviceModeMBS.DMPAPER_A_PLUS = 57

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

SuperA/A4 227 x 356 -millimeters

WindowsDeviceModeMBS.DMPAPER_B4 = 12

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B4 sheet, 250- by 354-millimeters

WindowsDeviceModeMBS.DMPAPER_B4_JIS_ROTATED = 79

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B4 (JIS) rotated sheet, 364- by 257-millimeters

WindowsDeviceModeMBS.DMPAPER_B5 = 13

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B5 sheet, 182- by 257-millimeter paper

WindowsDeviceModeMBS.DMPAPER_B5_EXTRA = 65

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B5 (ISO) Extra 201 x 276-millimeters

WindowsDeviceModeMBS.DMPAPER_B5_JIS_ROTATED = 80

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B5 (JIS) rotated sheet, 257- by 182-millimeters

WindowsDeviceModeMBS.DMPAPER_B5_TRANSVERSE = 62

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_B6_JIS = 88

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B6 (JIS) sheet, 128- by 182-millimeters

WindowsDeviceModeMBS.DMPAPER_B6_JIS_ROTATED = 89

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B6 (JIS) rotated sheet, 182- by 128-millimeters

WindowsDeviceModeMBS.DMPAPER_B_PLUS = 58

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

SuperB/A3 305 x 487-millimeters

WindowsDeviceModeMBS.DMPAPER_CSHEET = 24

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

C Sheet, 17- by 22-inches

WindowsDeviceModeMBS.DMPAPER_DBL_JAPANESE_POSTCARD = 69

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Double Japanese Postcard, 200- by 148-millimeters

WindowsDeviceModeMBS.DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED = 82

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Double Japanese Postcard Rotated, 148- by 200-millimeters

WindowsDeviceModeMBS.DMPAPER_DSHEET = 25

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

D Sheet, 22- by 34-inches

WindowsDeviceModeMBS.DMPAPER_ENV_10 = 20

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_ENV_11 = 21

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_ENV_12 = 22

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_ENV_14 = 23

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_ENV_9 = 19

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_ENV_B4 = 33

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B4 Envelope, 250- by 353-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_B5 = 34

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B5 Envelope, 176- by 250-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_B6 = 35

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B6 Envelope, 176- by 125-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_C3 = 29

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

C3 Envelope, 324- by 458-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_C4 = 30

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

C4 Envelope, 229- by 324-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_C5 = 28

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

C5 Envelope, 162- by 229-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_C6 = 31

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

C6 Envelope, 114- by 162-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_C65 = 32

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

C65 Envelope, 114- by 229-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_DL = 27

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

DL Envelope, 110- by 220-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_INVITE = 47

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Envelope Invite 220 x 220 mm

WindowsDeviceModeMBS.DMPAPER_ENV_ITALY = 36

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Italy Envelope, 110- by 230-millimeters

WindowsDeviceModeMBS.DMPAPER_ENV_MONARCH = 37

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Monarch Envelope, 3 7/8- by 7 1/2-inches

WindowsDeviceModeMBS.DMPAPER_ENV_PERSONAL = 38

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

6 3/4 Envelope, 3 5/8- by 6 1/2-inches

WindowsDeviceModeMBS.DMPAPER_ESHEET = 26

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

E Sheet, 34- by 44-inches

WindowsDeviceModeMBS.DMPAPER_EXECUTIVE = 7

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Executive, 7 1/4- by 10 1/2-inches

WindowsDeviceModeMBS.DMPAPER_FANFOLD_LGL_GERMAN = 41

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

German Legal Fanfold, 8 - by 13-inches

WindowsDeviceModeMBS.DMPAPER_FANFOLD_STD_GERMAN = 40

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

German Std Fanfold, 8 1/2- by 12-inches

WindowsDeviceModeMBS.DMPAPER_FANFOLD_US = 39

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

US Std Fanfold, 14 7/8- by 11-inches

WindowsDeviceModeMBS.DMPAPER_FOLIO = 14

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Folio, 8 1/2- by 13-inch paper

WindowsDeviceModeMBS.DMPAPER_ISO_B4 = 42

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

B4 (ISO) 250- by 353-millimeters paper

WindowsDeviceModeMBS.DMPAPER_JAPANESE_POSTCARD = 43

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Postcard, 100- by 148-millimeters

WindowsDeviceModeMBS.DMPAPER_JAPANESE_POSTCARD_ROTATED = 81

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Postcard Rotated, 148- by 100-millimeters

WindowsDeviceModeMBS.DMPAPER_JENV_CHOU3 = 73

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope Chou #3

WindowsDeviceModeMBS.DMPAPER_JENV_CHOU3_ROTATED = 86

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope Chou #3 Rotated

WindowsDeviceModeMBS.DMPAPER_JENV_CHOU4 = 74

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope Chou #4

WindowsDeviceModeMBS.DMPAPER_JENV_CHOU4_ROTATED = 87

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope Chou #4 Rotated

WindowsDeviceModeMBS.DMPAPER_JENV_KAKU2 = 71

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope Kaku #2

WindowsDeviceModeMBS.DMPAPER_JENV_KAKU2_ROTATED = 84

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope Kaku #2 Rotated

WindowsDeviceModeMBS.DMPAPER_JENV_KAKU3 = 72

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope Kaku #3

WindowsDeviceModeMBS.DMPAPER_JENV_KAKU3_ROTATED = 85

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope Kaku #3 Rotated

WindowsDeviceModeMBS.DMPAPER_JENV_YOU4 = 91

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope You #4

WindowsDeviceModeMBS.DMPAPER_JENV_YOU4_ROTATED = 92

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Japanese Envelope You #4 Rotated

WindowsDeviceModeMBS.DMPAPER_LEDGER = 4

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Ledger, 17- by 11-inches

WindowsDeviceModeMBS.DMPAPER_LEGAL = 5

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Legal, 8 1/2- by 14-inches

WindowsDeviceModeMBS.DMPAPER_LEGAL_EXTRA = 51

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Legal Extra 9 1/2 x 15 inches.

WindowsDeviceModeMBS.DMPAPER_LETTER = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Letter, 8 1/2- by 11-inches

WindowsDeviceModeMBS.DMPAPER_LETTERSMALL = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Letter Small, 8 1/2- by 11-inches

WindowsDeviceModeMBS.DMPAPER_LETTER_EXTRA = 50

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Letter Extra 9 1/2 x 12 inches.

WindowsDeviceModeMBS.DMPAPER_LETTER_EXTRA_TRANSVERSE = 56

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Letter Extra Transverse 9 1/2 x 12 inches.

WindowsDeviceModeMBS.DMPAPER_LETTER_PLUS = 59

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_LETTER_ROTATED = 75

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Letter Rotated 11 by 8 1/2 inches

WindowsDeviceModeMBS.DMPAPER_LETTER_TRANSVERSE = 54

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Letter Transverse 8 1/2 x 11-inches

WindowsDeviceModeMBS.DMPAPER_NOTE = 18

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Note, 8 1/2- by 11-inches

WindowsDeviceModeMBS.DMPAPER_P16K = 93

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC 16K, 146- by 215-millimeters

WindowsDeviceModeMBS.DMPAPER_P16K_ROTATED = 106

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC 16K Rotated, 215- by 146-millimeters

WindowsDeviceModeMBS.DMPAPER_P32K = 94

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC 32K, 97- by 151-millimeters

WindowsDeviceModeMBS.DMPAPER_P32KBIG = 95

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC 32K(Big) 97- by 151-millimeters

WindowsDeviceModeMBS.DMPAPER_P32KBIG_ROTATED = 108

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC 32K(Big) Rotated, 151- by 97-millimeters

WindowsDeviceModeMBS.DMPAPER_P32K_ROTATED = 107

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC 32K Rotated, 151- by 97-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_1 = 96

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #1, 102- by 165-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_10 = 105

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #10, 324- by 458-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_10_ROTATED = 118

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #10 Rotated, 458- by 324-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_1_ROTATED = 109

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #1 Rotated, 165- by 102-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_2 = 97

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #2, 102- by 176-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_2_ROTATED = 110

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #2 Rotated, 176- by 102-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_3 = 98

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #3, 125- by 176-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_3_ROTATED = 111

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #3 Rotated, 176- by 125-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_4 = 99

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #4, 110- by 208-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_4_ROTATED = 112

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #4 Rotated, 208- by 110-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_5 = 100

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #5, 110- by 220-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_5_ROTATED = 113

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #5 Rotated, 220- by 110-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_6 = 101

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #6, 120- by 230-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_6_ROTATED = 114

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #6 Rotated, 230- by 120-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_7 = 102

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #7, 160- by 230-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_7_ROTATED = 115

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #7 Rotated, 230- by 160-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_8 = 103

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #8, 120- by 309-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_8_ROTATED = 116

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #8 Rotated, 309- by 120-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_9 = 104

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #9, 229- by 324-millimeters

WindowsDeviceModeMBS.DMPAPER_PENV_9_ROTATED = 117

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

PRC Envelope #9 Rotated, 324- by 229-millimeters

WindowsDeviceModeMBS.DMPAPER_QUARTO = 15

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Quarto, 215- by 275-millimeter paper

WindowsDeviceModeMBS.DMPAPER_RESERVED_48 = 48

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_RESERVED_49 = 49

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

WindowsDeviceModeMBS.DMPAPER_STATEMENT = 6

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Statement, 5 1/2- by 8 1/2-inches

WindowsDeviceModeMBS.DMPAPER_TABLOID = 3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Tabloid, 11- by 17-inches

WindowsDeviceModeMBS.DMPAPER_TABLOID_EXTRA = 52

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the paper format constants.

Tabloid, 11.69 x 18-inches

WindowsDeviceModeMBS.DMPAPER_USER = 256

Type Topic Plugin Version
const Printing MBS Win Plugin 11.3
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.

WindowsDeviceModeMBS.DMRES_DRAFT = -1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the print quality constants.

Draft

WindowsDeviceModeMBS.DMRES_HIGH = -4

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the print quality constants.

High

WindowsDeviceModeMBS.DMRES_LOW = -2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the print quality constants.

Low

WindowsDeviceModeMBS.DMRES_MEDIUM = -3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the print quality constants.

Medium

WindowsDeviceModeMBS.DMTT_BITMAP = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the true type option mode constants.

Prints TrueType fonts as graphics. This is the default action for dot-matrix printers.

WindowsDeviceModeMBS.DMTT_DOWNLOAD = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
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).

WindowsDeviceModeMBS.DMTT_DOWNLOAD_OUTLINE = 4

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the true type option mode constants.

Downloads TrueType fonts as outline soft fonts.

WindowsDeviceModeMBS.DMTT_SUBDEV = 3

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the true type option mode constants.

Substitutes device fonts for TrueType fonts. This is the default action for PostScript printers.

WindowsDeviceModeMBS.DM_BITSPERPEL = &h00040000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the BitsperPel property.

WindowsDeviceModeMBS.DM_COLLATE = &h00008000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Collate property.

WindowsDeviceModeMBS.DM_COLOR = &h00000800

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Color property.

WindowsDeviceModeMBS.DM_COPIES = &h00000100

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Copies property.

WindowsDeviceModeMBS.DM_DEFAULTSOURCE = &h00000200

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the DefaultSource property.

WindowsDeviceModeMBS.DM_DISPLAYFLAGS = &h00200000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the DisplayFlags property.

WindowsDeviceModeMBS.DM_DISPLAYFREQUENCY = &h00400000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the DisplayFrequency property.

WindowsDeviceModeMBS.DM_DITHERTYPE = &h04000000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the DitherType property.

WindowsDeviceModeMBS.DM_DUPLEX = &h00001000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Duplex property.

WindowsDeviceModeMBS.DM_FORMNAME = &h00010000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Formname property.

WindowsDeviceModeMBS.DM_ICMINTENT = &h01000000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the ICMIntent property.

WindowsDeviceModeMBS.DM_ICMMETHOD = &h00800000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the ICMMethod property.

WindowsDeviceModeMBS.DM_LOGPIXELS = &h00020000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the LogPixels property.

WindowsDeviceModeMBS.DM_MEDIATYPE = &h02000000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the MediaType property.

WindowsDeviceModeMBS.DM_NUP = &h00000040

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the NUP property.

WindowsDeviceModeMBS.DM_ORIENTATION = &h00000001

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.
Example
dim d as new WindowsDeviceModeMBS
dim name as string = "My printer"

// here we define which values we want to change
d.Fields = d.DM_ORIENTATION
// and change value
d.Orientation = d.DMORIENT_PORTRAIT

dim w as WindowsPrinterMBS = WindowsPrinterMBS.OpenPrinter(name)
if w.ChangePrinterSettings(d, 2) then
MsgBox "OK"
else
MsgBox "Failed"
end if

This value is related to the Orientation property.

WindowsDeviceModeMBS.DM_PANNINGHEIGHT = &h10000000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Panningheight property.

WindowsDeviceModeMBS.DM_PANNINGWIDTH = &h08000000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Panningwidth property.

WindowsDeviceModeMBS.DM_PAPERLENGTH = &h00000004

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Paperlength property.

WindowsDeviceModeMBS.DM_PAPERSIZE = &h00000002

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Papersize property.

WindowsDeviceModeMBS.DM_PAPERWIDTH = &h00000008

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Paperwidth property.

WindowsDeviceModeMBS.DM_PELSHEIGHT = &h00100000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Pelsheight property.

WindowsDeviceModeMBS.DM_PELSWIDTH = &h00080000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Pelswidth property.

WindowsDeviceModeMBS.DM_POSITION = &h00000020

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Position property.

WindowsDeviceModeMBS.DM_PRINTQUALITY = &h00000400

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the PrintQuality property.

WindowsDeviceModeMBS.DM_SCALE = &h00000010

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the Scale property.

WindowsDeviceModeMBS.DM_TTOPTION = &h00004000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the TTOption property.

WindowsDeviceModeMBS.DM_YRESOLUTION = &h00002000

Type Topic Plugin Version
const Printing MBS Win Plugin 10.4
One of the flag constants to use with the fields property.

This value is related to the YResolution property.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...