Stretching the unidriver output

Discussion in 'Windows Vista Drivers' started by Ken, Feb 6, 2004.

  1. Ken

    Ken Guest

    Hi
    Is there any way to stretch the DIB generated by the unidriver in rendering plug-in so that the output going to the printer will be stretched one

    Regards
    Ken.
     
    Ken, Feb 6, 2004
    #1
    1. Advertisements

  2. Ken

    Ashwin [MS] Guest

    You can implement a rendering plug-in and stretch the DIB there. A good
    place to do this would be IPrintOemUni::ImageProcessing.

    --
    - Ashwin

    Microsoft Printing, Imaging and Fax Team
    This posting is provided "AS IS" with no warranties, and confers no rights.

    rendering plug-in so that the output going to the printer will be stretched
    one?
     
    Ashwin [MS], Feb 6, 2004
    #2
    1. Advertisements

  3. Ken

    Ken Guest

    My problem is that I am doing with 1-bit DIB while ImageProcessing will do with 24-bit DIBs which have not been halftoned.
     
    Ken, Feb 9, 2004
    #3
  4. Ken

    Ashwin [MS] Guest

    You can get called in ImageProcessing for 1bpp as well...it doesn't have to
    be 24bpp. You just have to specify the correct options in the GPD's 1bpp
    Colormode option.

    --
    - Ashwin

    Microsoft Printing, Imaging and Fax Team
    This posting is provided "AS IS" with no warranties, and confers no rights.

    with 24-bit DIBs which have not been halftoned.
     
    Ashwin [MS], Feb 9, 2004
    #4
  5. Ken

    naresh Guest

    Since the Unidrv does not expect you to change the pBitmapInfoHeader structure in IOemUni::ImageProcessing(), one can't stretch the DIB if you are to send the DIB back to unidrv for spooling
     
    naresh, Feb 12, 2004
    #5
  6. Ken

    Ashwin [MS] Guest

    You can get called in ImageProcessing for 1bpp as well...it doesn't have to
    be 24bpp. You just have to specify the correct options in the GPD's 1bpp
    Colormode option.


    --
    - Ashwin

    Microsoft Printing, Imaging and Fax Team
    This posting is provided "AS IS" with no warranties, and confers no rights.

    with 24-bit DIBs which have not been halftoned.
     
    Ashwin [MS], Feb 19, 2004
    #6
    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.