If your Delphi application needs to operate on various types of files, one of the tasks you might have for your application is to allow the user of the application to print a file, whatever the file type is.
如果您的Delphi应用程序需要处理各种类型的文件,则对于应用程序,您可能要执行的任务之一是允许应用程序的用户打印文件,无论文件类型是什么。
Most document-oriented applications, like MS Word, MS Excel or Adobe can easily print documents created in that program. For example, Microsoft Word saves the text you write in documents with DOC extension. Since Word determines what is the "raw" contents of a .DOC file it knows how to print .DOC files. The same applies for any "known" file type holding some printable information.
大多数面向文档的应用程序,例如MS Word,MS Excel或Adobe,都可以轻松打印在该程序中创建的文档。 例如, Microsoft Word将您编写的文本保存在带有DOC扩展名的文档中。 由于Word确定.DOC文件的“原始”内容是什么,因