我怎么能修改PRN文件? [英] How I can modify a PRN file ?

查看:133
本文介绍了我怎么能修改PRN文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!



我必须在打印前修改PRN文件。

我使用的是VB.net。

你有什么想法吗?



谢谢



我尝试过:



还没有...

我发表了一个想法;)

Hello !

I must modify a PRN file before printing it.
I use VB.net.
Do you have an idea ?

Thanks

What I have tried:

Nothing yet...
I seach an idea ;)

推荐答案

这将取决于你正在谈论什么样的PRN文件:我知道至少两种不同的格式:Lotus 1-2-3创建的PRN文件,它们是电子表格的文本版本;和PRN文件由打印机驱动程序生成,作为打印假脱机文件,包含指示打印机打印的数据。



前者相当容易使用,后者......不是这样,因为每个PRN文件都是由特定的打印机驱动程序生成的,并且包含特定于打印机的内容:交换机打印机,您可以为保存打印作业获得完全不同的PRN文件内容! br />


老实说,如果你打算修改PRN文件,你可能会让自己陷入痛苦的整个世界 - 我会想到为什么很久很难在继续之前,这可能是完全错误的做事方式......
That's going to depend on what kind of PRN file you are talking: I know of at least two different formats: There are PRN files created by Lotus 1-2-3, which are a text version of a spreadsheet; and PRN files which are generated by a printer driver as a print spool file containing the data to instruct the printer to print.

The former is fairly easy to work with, the latter ... not so, because each PRN file is generated by a specific printer driver, and contains content which is specific to the printer: switch printers, and you can get a totally different PRN file content for the save print job!

To be honest, if you are planning on modifying PRN files, you are probably opening yourself up to a whole world of pain - I'd think long and hard about why this before proceeding as it might well be totally the wrong way to do things...


这篇关于我怎么能修改PRN文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆