PostScript与PDF作为输出格式 [英] PostScript versus PDF as an output format

查看:307
本文介绍了PostScript与PDF作为输出格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前正在编写一个排版应用程序,并且我使用 PSG 作为后端产生后记文件.我现在想知道这种选择是否有意义.看来 ReportLab工具包提供了PSG提供的所有功能,以及更多功能.但是,ReportLab输出PDF.

I'm currently writing a typesetting application and I'm using PSG as the backend for producing postscript files. I'm now wondering whether that choice makes sense. It seems the ReportLab Toolkit offers all the features PSG offers, and more. ReportLab outputs PDF however.

优势PDF提供:

  • 透明度
  • 更好地支持字符编码(例如, Unicode )
  • 嵌入TrueType甚至OpenType字体的能力
  • 超链接和书签
  • transparancy
  • better support for character encodings (Unicode, for example)
  • ability to embed TrueType and even OpenType fonts
  • hyperlinks and bookmarks

是否有任何理由使用Postscript而不是直接输出为PDF?尽管Postscript是一种完整的编程语言,而不是PDF,但它是文档的基本输出格式,但似乎没有任何优势.我认为可以将PDF轻松转换为PostScript进行打印吗?

Is there any reason to use Postscript instead of directly outputting to PDF? While Postscript is a full programming language as opposed to PDF, as a basic output format for documents, that doesn't seem to offer any advantage. I assume a PDF can be readily converted to PostScript for printing?

一些有用的链接:

  • Wikipedia: PDF
  • Adobe: PostScript vs. PDF

推荐答案

如果您打算仅输出到PostScript打印机,请使用PostScript.否则,请使用PDF.

If you're planning on only outputting to a PostScript printer, then use PostScript. Otherwise, use PDF.

PDF被非打印机设备广泛支持.并且出于您的目的,PS与PDF相比没有任何技术优势(除了无法将文件直接转储到打印机之外).

PDF is more widely supported by non-printer devices. And for your purposes, there aren't any technical advantages of PS over PDF (other than not being able to dump the file directly to a printer).

这篇关于PostScript与PDF作为输出格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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