开发者

xps document printed from wpf - too short, strange paper size?

开发者 https://www.devze.com 2023-02-11 06:21 出处:网络
I\'m testing a wpf application printing capabilities by just printing to an xps file.. stragely, even though the paper size settings are correct for the system, it seems to shorten my 8开发者_JAVA技巧

I'm testing a wpf application printing capabilities by just printing to an xps file.. stragely, even though the paper size settings are correct for the system, it seems to shorten my 8开发者_JAVA技巧.5x11" paper down to some odd side, almost approaching square instead of rectangular. This is messing up the layout of my report pretty badly. The same report printed to PDF seems to work fine, as well as printed to a physical printer.

Any strange XPS bugs or something I should look out for?


Are you using any Layout Transforms? I've had similar problems when using transforms and would need to clear them out prior to printing and then reset them.

0

精彩评论

暂无评论...
验证码 换一张
取 消