Query on Difference in driver behavior when printing directly toprinter compared to when printed to

Discussion in 'Windows Vista Drivers' started by ayshwaryamohandas, Jun 30, 2008.

  1. Hi Ben ,


    I have been observing a very peculiar behavior for some Genoa
    applications while printing from our monolithic printer driver.

    If you could spare some time to give your valuable suggestions, it
    would be very helpful to us.

    Please find the details of the buggy behavior below:



    Difference in driver behavior when printing directly to printer
    compared to when printed to file



    A document formed using the application called LivePix Soho(from Genoa
    Test Suite) is printing in an erroneous way(extra lines are printed in
    a bitmap) when printed directly to the printer

    But it is printing properly when it is printed to file (choose FILE as
    the port and specify the file name “test.prn”) and the prn is fired to
    the printer.



    The document contains a 24bits per pixel (8bits each for red, blue and
    green) bitmap and some extra lines are printed on the right edge of
    the bitmap. I debugged and found that DrvStretchBlt is being called in
    our driver and the parameter from GDI having the source image data,
    psoSrc->pvScan0, has different and erroneous data when job is given to
    printer when compared to the data it has when job is given to file.

    Because of this erroneous data the extra lines are getting printed.



    Any inputs on the same would be greatly helpful.





    Thanks and Regards,

    Ayshwarya Mohandas
     
    ayshwaryamohandas, Jun 30, 2008
    #1
    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.