我可以使用Powershell来打印图像吗? [英] Can I use powershell to print images?
本文介绍了我可以使用Powershell来打印图像吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人知道是否可以使用Powershell进行图像打印吗? (即打印png或jpg文件之类的文件)
does anyone know if it is possible to use powershell for image printing? (i.e. print files such as png or jpg files)
Out-printer似乎对文本很有用,但对其他方面却没什么作用
Out-printer seems to be good for text but not much else
谢谢
推荐答案
您需要使用.NET类(例如System.Drawing)来执行此操作.请查看以下链接,以获取有关此示例的简短示例.
You need to use .NET classes such as System.Drawing to do this. Check the following link for a quick example on this.
http://monadblog.blogspot.in/2006/02/msh-print-image.html
这篇关于我可以使用Powershell来打印图像吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文