60000302 A property to get the DEVMODE structure properties of a Printerexport

Article 60000302
Type Wish
Product Engine
Date Added 11/1/2007 12:00:00 AM
Fixed (11/1/2007 12:00:00 AM)
Submitted by Paul Sajecki

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.


 

Send comments on this topic.