我可以重新打印假脱机文件吗? [英] Can I reprint a spool file?
问题描述
是否可以重新打印假脱机文件?
Is there a way to reprint a spool file?
我找不到任何示例或文章来说明是否有办法.
I can't find any example or article to say if there is a way or not.
当我说重印时,我是指同一台打印机
edit: when i say reprint it, i mean to the same printer
推荐答案
可以. 将完整的SPL文件读入字节数组,然后看看本文:
Yes you can. Read the complete SPL file into a byte array and have a look at this article:
http://support.microsoft.com/kb/322090/zh-CN
它显示了如何将原始数据发送到打印机.使用它可以将字节数组发送到打印机.注意:SPL文件实际上可以包含各种数据类型,例如EMF,PCL,ESC-P等.您必须确保所拥有的SPL文件的格式适合您的特定打印机.
It shows you how to send raw data to a printer. Use that to send your byte array to the printer. Beware: a SPL file can actually contain various data types, such as EMF, PCL, ESC-P etc. Your must make sure that the format of the SPL file you have is appropriate for your specific printer.
这篇关于我可以重新打印假脱机文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!