Hi,


ich try to read out printing informations.

i read out the informations with "documentproperties" and "getprinter"
these are the standard informations, right ?

what about with the specific informations ?
(spec. driver informations)
i see in the devmode struct the field "dmFields" and "dmDriverExtra".
This means that a second struct follows the devmode struct, right ?

is it possible to read out these informations ?
and how ?

Or do i need something about the driver interface ?


I want to read out spec. driver informations like
- document name
- printer name
- count of copies
..
and spec. things:
- quality
- layout
- finishing
..

greetings
Martin

Re: Printing Driver - Devmode by Maxim

Maxim
Mon Jul 16 14:01:42 CDT 2007

> i see in the devmode struct the field "dmFields" and "dmDriverExtra".

I think that only the UI DLL from the printer driver's package - and the
printer driver DLL itself - can interpret the devmode's extra bytes. Windows
generic code cannot do this.

This was so from Windows 3.0 I think.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com