开发者

crystal report v8, vb6, command to print directly to printer without dialog box

开发者 https://www.devze.com 2023-01-06 17:58 出处:网络
I us开发者_开发知识库e Crystal Report 8 in VB6. From within a form, I want to send command to CR to print directly to printer and without showing a dialog asking to specify the start and end page.

I us开发者_开发知识库e Crystal Report 8 in VB6. From within a form, I want to send command to CR to print directly to printer and without showing a dialog asking to specify the start and end page.

With newer version of CR, there is a command call PrintToPrinter. I couldn't find this command with CR 8.5

Can somebody here show me how to do this?


I've found the solution.

set Report=crViewer.ReportSource report.printOut false

0

精彩评论

暂无评论...
验证码 换一张
取 消