水晶报告纸尺寸变化. [英] Crystal report paper size variation .

查看:98
本文介绍了水晶报告纸尺寸变化.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,水晶报表显示在Crystal报表查看器中.并选择打印选项作为"card 148 * 105 mm",然后以精确的长度进行打印.

设置报告设计->纸张尺寸以上.
在预览中也正确.
但是我直接打印出来,纸张打印长度不是105,当90毫米时停止.代码如下

In my application a crystal report is appear in to a crystal report viewer . and select print option as "card 148 * 105 mm" , then printing in exact length.

Set the report design -> paper size is above .
It is also correct in preview .
But I print it direct then , paper printing length is not 105 , it stop when 90 mm . code as below

Dim crptReport As New rptrcash
crptReport.RecordSelectionFormula = "{Tbl_Receipts.RecBillNo}=" & txtRecepitno.Tag
crptReport.DataDefinition.FormulaFields("CmpyUser").Text = Chr(34) & Cmpyuser & Chr(34)
crptReport.Refresh()
crptReport.PrintToPrinter(1, False, 1, 1)




如何设置确切的纸张打印长度.




how to set exact paper printing length.

推荐答案

您是否设置了要在90mm处停止打印的边距?或者,也许您的报告中有一部分未被使用并且忘记了隐藏.如果不隐藏它,它将打印为空白.
Do you have margins set that stop the printing at 90mm? Or perhaps you have a section of your report that you are not using and forgot to suppress. If you don''t suppress it, it will print as white space.


这篇关于水晶报告纸尺寸变化.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆