PB8打印报表方向设置

powerbulider2009 2011-02-24 10:04:26
方向设置看了很多,但没有解决问题
帮助里Print.property DataWindow object property

Duplex
An integer indicating the orientation of the printed output. Values are:
1-Simplex (none)
2-Horizontal
3-Vertical
The user can specify the value in the system's Print dialog box if the printer driver supports it

Orientation
An integer indicating the print orientation. Values are:
0-The default orientation for your printer
1-Landscape
2-PortraitPainter
Paper Orientation option
发现Duplex属性不支持所有打印机
而Orientation是设置打印景象类型的,并不是方向。
向大家请教
...全文
130 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
永生天地 2011-02-24
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 powerbulider2009 的回复:]
我试过很过便了,怎么不行啊
[/Quote]
如果不行,可能问题出在其他环节
powerbulider2009 2011-02-24
  • 打赏
  • 举报
回复
Painter: Paper Orientation option 这句什么意思,是指打印机必须要有这个设置么
powerbulider2009 2011-02-24
  • 打赏
  • 举报
回复
我试过很过便了,怎么不行啊
风_雨_晴 2011-02-24
  • 打赏
  • 举报
回复
上面反了,1是横向,2是纵向
风_雨_晴 2011-02-24
  • 打赏
  • 举报
回复
Orientation就是设置打印方向的。
0 - The default orientation for your printer 默认
1 - Landscape 纵向
2 - Portrait 横向
powerbulider2009 2011-02-24
  • 打赏
  • 举报
回复
请问你使用过没有啊,真是的效果可以实现吗
永生天地 2011-02-24
  • 打赏
  • 举报
回复
我只知道 用 Landscape是横向
是在不行可以改变打印机的设置

611

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder DataWindow
社区管理员
  • DataWindow社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧