Prod.: Engine, ver.: 6009, ID: 60000302, Wish : A property to get the DEVMODE structure properties of a Printerexport

Wish : A property to get the DEVMODE structure properties of a Printerexport

Article60000302
TypeWish
ProductEngine
Version6009
Date Added11/1/2007
FixedYes [11/1/2007]
Submitted byPaul Sajecki
Keywords

Subject

A property to get the DEVMODE structure properties of a Printerexport

Summary

A property to get the DEVMODE structure  properties of a Printerexport

Solution


In version 6010 the property Mode was added in vdrawi5.vdprinter wrapper object.

Get/Set an array of printer properties.

Represents a Varaint array of 32bit integer values used with DEVMODE WIN32 structure in the following order.

DEVMODE.dmSpecVersion,
DEVMODE.dmDriverVersion,
DEVMODE.dmSize,
DEVMODE.dmDriverExtra,
DEVMODE.dmFields,
DEVMODE.dmOrientation,
DEVMODE.dmPaperSize,
DEVMODE.dmPaperLength,
DEVMODE.dmPaperWidth,
DEVMODE.dmScale,
DEVMODE.dmCopies,
DEVMODE.dmDefaultSource,
DEVMODE.dmPrintQuality,
DEVMODE.dmColor,
DEVMODE.dmDuplex,
DEVMODE.dmYResolution,
DEVMODE.dmTTOption,
DEVMODE.dmCollate,
DEVMODE.dmLogPixels,
DEVMODE.dmBitsPerPel,
DEVMODE.dmPelsWidth,
DEVMODE.dmPelsHeight,
DEVMODE.dmDisplayFlags,
DEVMODE.dmDisplayFrequency

 

see MSDN help for WIN32 DEVMODE  structure for usage of each item in the Mode array.