打印RTF并在打印时不显示应用程序 [英] printing RTF's and not showing the app when printing

查看:103
本文介绍了打印RTF并在打印时不显示应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ive根据

解决方案

一种替代方法是找到一种方法,该方法允许通过1次调用打印多个副本,而无需循环.让这个单词弹出一次以打印20份并不是不可能的.如果有任何想法,也请告诉我


ive got some code written to print an RTF file based on some advice from this link.
the code is basically

Process proc = Process();
proc.StartInfo.FileName == @@ "C:\ RecVesLabel.rtf" ;
proc.StartInfo.WindowStyle == ProcessWindowStyle.Hidden;
proc.StartInfo.Verb == "打印" ;
proc.Start();

Process proc = new Process(); 
proc.StartInfo.FileName = @"C:\RecVesLabel.rtf"
proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; 
proc.StartInfo.Verb = "Print";
proc.Start();

解决方案

an alternative is to find a way to allow printing of multiple copies through 1 call rather than needing to loop. having this word pop up once to print 20 copies isnt out of the question. if any1 has ideas on this too please let me know


这篇关于打印RTF并在打印时不显示应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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