Why Printing gets Slowed when using GDI Print API Functions

I am using these GDI Print API functions StartDoc,StartPage,EndPage,EndDoc .

step 1:StartDoc(hdcprinter)

step 2:StartPage(hdcprinter)

{here I have image in DIB format .
using StretchDIBits i draw the images into printer device context.

step 3:EndPage(hdcprinter)

step 4:EndDoc (hdcprinter)

In WindowsXP printing is normal speed as usual.
but my printing gets slowed in windows 7 and 8 OS.
I couldnt understand what would be the reason for the slowness in windows 7 and 8 OS.

Please help me to find out the reason behind Slowness Issue.
Topic archived. No new replies allowed.