printer driver and nonsquare pixels

Discussion in 'Windows Vista Drivers' started by Matt Kane, Feb 8, 2005.

  1. Matt Kane

    Matt Kane Guest

    Hello,

    I have a monolithic usermode printer driver under development and I have two
    questions:
    1.) Is there any way to inform GDI that the device has nonsquare pixels?
    2.) Will this make any difference for calls to EngTextOut()?

    Thanks.
     
    Matt Kane, Feb 8, 2005
    #1
    1. Advertisements

  2. --------------------
    Thread-Topic: printer driver and nonsquare pixels

    Hello,

    I have a monolithic usermode printer driver under development and I have
    two
    questions:
    1.) Is there any way to inform GDI that the device has nonsquare pixels?

    2.) Will this make any difference for calls to EngTextOut()?

    Thanks.

    --
    Matt Kane
    minus fruit

    Hi Matt,
    I don't see any way to specify a pixel type.

    You might want to take a look at ulDevicePelsDPI in GDIINFO to see whether
    that is something you can use for your case.


    Hope this helps.

    Thank you,
    Bobby Mattappally
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Bobby Mattappally [MS], Feb 8, 2005
    #2
    1. Advertisements

  3. Matt Kane

    Matt Kane Guest

    No difference. The only things I can change that have any effect on text
    rendering are resolution and spool format. I can't figure out why switching
    from EMF to RAW makes a difference.
     
    Matt Kane, Feb 9, 2005
    #3
    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.