如何设置datareport的纸张宽度和纸张类型

lxy_winner 2003-01-12 04:56:33
我知道用reportwidth属性可以设置报表的宽度,
可是我在程序run的时候就总是说报表宽度大于纸张宽度
可是我看我的报表也不宽呢?
是不是要设置纸张的类型呢?
如何设置呢?
...全文
122 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
jjxhy 2003-01-14
  • 打赏
  • 举报
回复
VS的Service Pack4可更正这个老问题!这是MS的support里Microsoft Knowledge Base Article - 253555 的原文:

FIX: Error Message "Report Width Is Larger Than the Paper Width" on Exporting Data Report

Report width is larger than the paper width.
This error usually occurs when the report you are trying to export is laid out for Landscape orientation printing.
CAUSE
The DataReport designer expects a page size of 8.5 x 11 inches laid out in a Portrait orientation. Exporting the report to a text file or an HTML file in Landscape orientation does not work properly because of this limitation.
RESOLUTION
There is currently no workaround for this problem in releases prior to Visual Studio 6.0 Service Pack 4.

This behavior no longer occurs with the version of the DataReport that ships with the latest service pack for Visual Studio 6.0.

programart_life 2003-01-13
  • 打赏
  • 举报
回复
这是DataReport的麻烦。DataReport似乎无法设置纸型和方向。
litterlobster 2003-01-13
  • 打赏
  • 举报
回复
设置打印字体的纸张宽度和纸张类型
z_yanjie 2003-01-13
  • 打赏
  • 举报
回复
纸张大小可能只有在打印机属性里设。
打印方向在装了sp5以后有datareport一个属性能设。
margins只是页边距。不行吧!!
lxy_winner 2003-01-13
  • 打赏
  • 举报
回复
这位大虾你可以说得具体一些吗?
我觉得可以用margins里的一些属性来设置你们觉得呢?
zhujiechang 2003-01-13
  • 打赏
  • 举报
回复
你必须改变打印机缺省值的paperwidth才能生效.
你可以使用打印对话框改变打印机的缺省值.
lxy_winner 2003-01-13
  • 打赏
  • 举报
回复
谢谢诸位了
Stiven_PFan 2003-01-13
  • 打赏
  • 举报
回复
你想都别想了,TMD,MS不知怎么搞的,我个人认为这是DATAREPORT的致命弱点,只能在打印机设置选项里调整默认值。
lxy_winner 2003-01-12
  • 打赏
  • 举报
回复
是吗?这位老兄我不明白
_131_ 2003-01-12
  • 打赏
  • 举报
回复
在控制面板里面设置打印机的纸张大小!
lxy_winner 2003-01-12
  • 打赏
  • 举报
回复
我一直在线等

7,763

社区成员

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

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