How to get the print(paper) of a txt file using matlab command?
3 次查看(过去 30 天)
显示 更早的评论
I am developing a smart scale system which detects the object(fruits), measures its weight and calculates the price. I am writing these details to a text file. I want to take the printout of these details either from the text file or directly(with out making the text file) with HP laserjet 1015 printer.
0 个评论
回答(2 个)
Walter Roberson
2012-12-8
Try
system('copy YourFileNameHere.txt lpt1:')
This will probably not work directly if the printer is a networked printer rather a local printer.
0 个评论
Jan
2012-12-8
You can create a HTML page by adding the small header and footer. Then FEX: Print with Internet Explorer helps to send the contents to the printer. Even a nice(r) formatting is possible.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String Parsing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!