Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsDeviceModeMBS class.

Previous items Next items

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

Previous items Next items

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


💬 Ask a question or report a problem
The biggest plugin in space...