HardMarginX and HardMarginY and print preview...
I have been working on using print preview for my app and have successfully been able to view my drawings wherever I want by creating a database with the Avery Label specs in it and calling the coordinates from that data....
Here is the problem.....I draw the rectange of the label onto the print doc literally and it shows in print preview perfect......so I hit print and it is off!!!!
So I researched the hardmarginx and hardmarginy properties of the printer and now in my printdoc paint procedure I offset the drawing with THESE values and it prints perfect! BUT the print preview is off now the value of the hardmargins...... ANY CLUE how I can have my cake and eat it too?
It appears that printeres are different also in this hardmargin value....I have watched the values change based on the printer I have selected......like I said I now have PERFECT printing but the preview is off the value of the hardmargin..... hmmmm.......... I am ALL ears for a solution..!!!!
Thanks in advance.

