HardMarginX和HardMarginY以及打印预览... [英] HardMarginX and HardMarginY and print preview...
问题描述
我一直在为我的应用程序使用打印预览,并通过创建其中包含Avery Label规格的数据库并从该数据调用坐标来成功地在任意位置查看我的绘图...
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!!!!
因此,我研究了打印机的hardmarginx和hardmarginy属性,现在在我的printdoc绘制过程中,我用这些值偏移了图形,并且可以完美打印!但是现在打印预览已关闭,其硬边距的价值......任何提示我也可以如何食用和食用它????
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??????
看来在此硬边距值上打印机也有所不同....我已经看过这些值根据所选的打印机而变化...就像我说过我现在可以进行完美打印,但是预览已关闭保证金的价值..... hmmmm ..........我是所有解决方案的耳朵.. !!!!
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..!!!!
谢谢.
推荐答案
敬请亲临……注意到了!!我该如何获得printpreview和打印机做相同的事情??
Awe come on pro's................SOMEONE must have noticed this!? How Can I get the printpreview and the printer to do the SAME thing????
它们偏离了harmarginx和harmarginy的区别.....也许这是一个错误?如果我画的是打印预览,则它在打印机上就关闭了……如果我画的是正确的打印机,则在打印机上的打印预览是在关闭..........
They are off the difference in harmarginx and harmarginy.....maybe this is a bug? If I draw so that the printpreview looks right it is off on the printer......If I draw so it is right on the printer the printpreview is off..........
这篇关于HardMarginX和HardMarginY以及打印预览...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!