I have a windows form that has the UltraPrintDocument and UltraPrintPrevewControl on it. The user selects an item from a list and it generates the print preview and everything looks just like it should. When I call the printdocument.print, the margins are out, everything is shifted right and down.
I have the UltraPrintDocument.OriginAtMargins property set to false, but it appears when the document is printed to the printer, it's treating this property as true. Is there a different property that needs to be set when sending to the printer and not the print preview?
On my document I have a report border drawn that is 0.25" inside from all edges. On the preview, it looks exactly like it should. When sent to the printer, my top border is 0.4" from the top edge of the paper and 0.4" from the left edge of the paper and and my bottom and right borders are cut off.
Hello korazy,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.