>..
>* Set the printer to the new options
>DocumentProperties(hWindow, hPrinter, cPrinter, @cModifiedDevmode, @cModifiedDevmode, DM_IN_BUFFER+DM_OUT_BUFFER)
>
>* try changing the above to:
>DocumentProperties(hWindow, hPrinter, cPrinter, @cModifiedDevmode, @cOrigDevmode, DM_IN_BUFFER+DM_OUT_BUFFER)
>
>i think the devmodes structures have to be unequal so the printer gets updated ..
>