UniDriver -- plugins -- Public Devmode Init/Conversion

Discussion in 'Windows Vista Drivers' started by Rudy, Jan 6, 2006.

  1. Rudy

    Rudy Guest

    UniDriver -- plugins -- Public Devmode Init/Conversion

    Currently my printer UniDriver allows 'DEVMODE' members like dmCopies to be
    changed via the "printer preferences" property sheets. However, when
    printing, the application (MS Word) on my Win2000 machine, cannot "override"
    the "dmCopies" value.

    For some strange reason, the "dmOrientation" value can be overridden by the
    application when printing; I thought this might be a "DEVMODE" version issue
    as identified in the WDK documentation.

    I believe one spot I need to investigate further includes the following
    IPrintOemUI::DevMode, IPrintOemUni::DevMode
    Looking at the sample plugins, it appeared that the functions were just for
    the "private DEVMODE" data members, but now it seems they are for both
    "public" and "private" DEVMODE members. I do initialize the "public" and
    "private" DEVMODE in these functions at the point where dwMode =

    Looking for some confirmation of these ideas.
    I just thought I would post this, before spending further time on this item.

    Rudy, Jan 6, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.