从批处理文件打印记事本? [英] print notepad from batch file?

查看:90
本文介绍了从批处理文件打印记事本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从批处理文件打印到USB打印机?

我的代码是:

 cd\ 
复制E:\PrintReport.txt USB001
退出



但它确实是不工作

解决方案

在此处阅读:从批处理文件打印文件 [ ^ ]。



问候,



- Manfred


从记事本打印文件添加以下批处理文件中的行

 NOTEPAD / P filename.txt 





或者

 PRINT filename.txt / D:USB001 


http://www.robvanderwoude.com/printfiles.php [ ^ ]

How can I print to a USB printer from the batch file?
my code is:

cd\
Copy E:\PrintReport.txt USB001
exit


But it''s Does not work

解决方案

Read here: Print Files from Batch Files[^].

Regards,

— Manfred


Printing file from notepad add following line in batch file

NOTEPAD /P filename.txt



Or

PRINT filename.txt /D:USB001


http://www.robvanderwoude.com/printfiles.php[^]


这篇关于从批处理文件打印记事本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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