Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsDeviceModeMBS class.

Previous items

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.

Previous 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...