如何将纸张尺寸的长度设置为动态。 [英] How do I set the Length of the Paper Size to be Dynamic.

查看:99
本文介绍了如何将纸张尺寸的长度设置为动态。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用TVS MSP打印机,需要打印Continues纸张,然后生成销售报告。



现在我有了如何将纸张尺寸设置为宽度= 5并将长度设置为动态是很困难的。



含义如果销售报告的数据可以填满长度为25英寸,然后自定义纸张尺寸将为

5 X 25.如果销售报告的数据只能填充10英寸的长度,则自定义纸张尺寸将为

5 X 10.



因此,无论如何都可以将纸张尺寸的长度设置为动态。





i我正在使用水晶报告,visual Studio 2012

report.PrintToPrinter(1,false,0,3);

l am using a TVS MSP printer and need to print Continues paper, when ever I generate Sale Report.

Now I have a hard time on how to set my Paper Size to Width = 5 and the Length to be a dynamic.

Meaning If the Data of the Sale Report can fill up a Length 25 inches then the Custom paper size will be
5 X 25. and If the Data of the Sale Report can fill up only to the length of 10 inches then the Custom paper size will be
5 X 10.

So is there anyway possible to set the Length of the Paper Size to be Dynamic.


i am using crystal report's, visual Studio 2012
report.PrintToPrinter(1, false, 0, 3);

推荐答案

请看我过去的回答:如何按照Crystal Report中的选择设置页面 [ ^ ]
Please, see my past answer: How Do I Set Up A Page As Per My Choice In Crystal Report[^]


这篇关于如何将纸张尺寸的长度设置为动态。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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