Crysta报告问题 [英] Crysta report problem

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

问题描述

亲爱的朋友们





我正在开发销售的Windows应用程序。直到今天我正在使用水晶报告。但所有报告都来了我A4尺寸..现在我的客户要求打印小优惠券尺寸的发票,现在用于晚餐市场一天。我不知道如何实现它。



使用

Dear Friends


I am Developing a Windows Application for Sales. till today i am using crystal report.but all report coming i A4 Size.. now my client is asking to print invoice in small coupon size which used in supper market now a days. i don't know how to achieve it.

Using

TVS-E RP-45
80mm width
Auto Cutter







请给我任何参考链接或任何代码....




Please give me any reference links for it or any code....

推荐答案

You need to Create Custom page size first as follows
Go to Printers and Faxes
Select Printer
Go To File / Server Properties
Go To Click New Form
Go To New Form -- > Write a Name of PaperSize
Go To New Form -- > Write a Name of PaperSize
Go To measurements Unit -- > Set Paper Size Wdith and Hight , Margin
Click OK

Then write following code ...










crpt.PrintOptions.PrinterName = "PRINTERNAME";
 
crpt.PrintOptions.PaperSize = crpt2.PrintOptions.PaperSize;
 
crpt.PrintToPrinter(1,false,0,0);





完成代码和打印机设置后,您需要通过打印样本格式来设置打印机,这需要一段时间,您需要在打印机上多次检查,然后您将获得准确的输出,如打印出一般商店账单,票据打印铁路,巴士服务等。



您可以查看以下链接



http://www.win2pdf.com/doc/index.html?pdf-custom-paper -size-vista.htm [ ^ ]





http://www.win2pdf.com/doc/inde x.html?pdf-custom-paper-windows-7.htm [ ^ ]





And also after complete code and printer settings, you need to setting printer by printing sample format that will take some time you need to check multiple time on the printer, then you will achieve exact output, Like print out of general store bill, ticket print out of rail, bus service etc.

You can check following links

http://www.win2pdf.com/doc/index.html?pdf-custom-paper-size-vista.htm[^]


http://www.win2pdf.com/doc/index.html?pdf-custom-paper-windows-7.htm[^]

In above two link I want to show the screen view of Custom page creation.





在打印时设置Crystal Reports的自定义纸张大小 [ ^ ]


相似的问题我过去已经回答过,请查看

Roll Prit in crystalreport [ ^ ]

如何以编程方式打印带有dat矩阵打印机页面大小的crystel报告页面。 [< a href =http://www.codeproject.com/Answers/678019/how-can-i-print-my-crystel-report-page-with-dat-matarget =_ blanktitle =新窗口> ^ ]

Asp.net crystal report [ ^ ]
Similar questions I have answered in past, check it out
Roll Prit In crystalreport[^]
how can i print my crystel report page with dat matrix printer page size with programatically.[^]
Asp.net crystal report[^]


TVS-E RP-45

80mm宽

Auto Cutter
TVS-E RP-45
80mm width
Auto Cutter


这篇关于Crysta报告问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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