我们的 FI 交易应用程序生成交易确认,该确认以纯文本字母形式出现。 (.txt)
- 我需要这些以编程方式
覆盖(仅使用 Windows 脚本)
到抬头纸上,然后复印到
传真输出目录。
- 该脚本将每 n 分钟检查一次目录中是否有这些文件。
- 我想保留依赖项计数
随着脚本的运行而下降
服务器所以想避免
引用 Office 库,如果
可能的。
将文本文件覆盖到位图上的最佳方法是什么?
Our FI trading application generates trade confirms which come out as plain text letters. (.txt)
- I need these to be programatically
overlayed (using only Windows Script)
onto headed paper and then copied to
a fax out directory.
- The script will be checking a directory for these files every n minutes.
- I want to keep the dependency count
down as the script will be running on
a server so would like to avoid
referencing Office libraries if
possible.
What's the best way to overlay the text file onto the bitmap?
发布评论
评论(1)
我知道这并不能回答您的问题,但是,由于我怀疑您是否会获得基于纯脚本的图像覆盖解决方案,因此我建议使用 ImageMagick. 它具有功能强大、可编写脚本的命令行界面,并且处理文本到图像的转换。
I know this doesn't answer your question but, since I doubt you'll get a pure script based image overlay solution, I suggest the use of ImageMagick. It has a powerful, scriptable command line interface and handles text-to-image conversions.