捕获并转换 ESC/P2 打印机输出
旧时代正在迎头赶上,旧的东西不如新的好。在仅支持打印到 ESC/P2 打印机语言的系统中存储大量数据,即使并非完全不支持,我也希望能够转换打印输出。
数据存储是一个专有文件。我已经解码了一些文件格式,但仍然有太多空白,无法成功重新创建存储的数据。
该软件是用 Forth 编写的。尝试对其进行调试,但如果没有更好的反编译器,这太耗时了。有什么指点吗...?
最后,简单的方法是获取打印输出流并将其解码为位图,然后创建 PDF 或其他内容。即使 ESC/P2 较旧,我也没有找到一个好的库。有什么指点吗?
如果有人对走哪条路有建议,我会很高兴。哦,我为解决这个问题而编写的任何软件都将用 C# 编写。 :)
Old days are catching up and old stuff isn't as good as new. Have tons of data stored in a system that only supports printing to ESC/P2 printer language, and even if that isn't completely unsupported, I want to be able to convert the printouts.
The datastorage is a properitary file. I have decoded some of the fileformat, but still there is too many blanks to successfully recreating the stored data.
The software is written in Forth. Tried to debug it, but it's too timeconsuming without a better decompiler. Any pointers...?
At last, the easy way out is to grab the printout stream and decode it into bitmaps and then create a PDF or something. Even if ESC/P2 is older I havent found a good library for it. Any pointers?
If anyone has suggestions to what path to walk I'd be very happy. Oh, and any software I write to solve this will be written in C#. :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论