如何在 C# 中将 HP LaserJet 5 生成的 PCL 转换为 PDF?

发布于 2024-07-21 01:39:43 字数 150 浏览 4 评论 0原文

我需要淘汰已有 15 年历史的系统并保留所有数据。 它只能将文档打印到特定打印机 HP LaserJet 5。我可以将文档打印到 PCL 文件中,并寻找以编程方式将所有这些文件转换为 PDF 的方法。 最好是 C# 语言。 有人可以推荐好的库或命令行工具吗? 最好是免费的;-)

I need to retire 15 years old system and preserve all data. It can only print documents into specific printer HP LaserJet 5. I can print documents into PCL files and looking for ways to convert all this files into PDFs programmatically. Preferably in C#. Can anybody recommend good library or command line tool? Preferably free ;-)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

柠栀 2024-07-28 01:39:43

命令行工具 GhostPCL(GhostPDL 的一部分)由与 Ghostscript 相同的开发人员开发,可以将 PCL 转换为PDF。 最近对其公共源代码存储库所做的更改提供了包含 Ghostscript、GhostPCL 和 GhostXPS 的完全集成的源代码树。 这包括用于构建全部或部分产品的 MS Visual Studio *.sln 和 *.vcproj 文件。 许可证是 GPL 或商业许可证(商业许可证可从 Artifex 获取):

The commandline tool GhostPCL (part of GhostPDL), by the same developers as Ghostscript, can convert PCL to PDF. Recent changes in their public source code repository provide a fully integrated source tree encompassing Ghostscript, GhostPCL and GhostXPS. This includes MS Visual Studio *.sln and *.vcproj files to build all or part of their products. License is GPL or commercial (commercial licenses to be obtained from Artifex):

终遇你 2024-07-28 01:39:43

我发现的最简单的解决方案是 VeryPDF PCL Converter http://www.verypdf.com/pcltools/index.html。 它具有命令行模式、GUI(用于命令行)、批处理模式,并且仅需 125 美元。 我的公司已经为此付出了代价。 希望这也会对某人有所帮助。

The simplest solution I found is VeryPDF PCL Converter http://www.verypdf.com/pcltools/index.html. It has command line mode, GUI (for command line), batch mode and only cost $125. My company has been pay for it. Hope this will help somebody too.

隱形的亼 2024-07-28 01:39:43

我在几个项目中使用了Visual Softwares pcl2pdf,它对我来说效果很好。

I've used Visual Softwares pcl2pdf on several projects, it worked well for me.

停滞 2024-07-28 01:39:43

我们目前正在使用 Lincoln 的 PCL 到 PDF 转换器。 它调用起来很简单,并且可以嵌入到我们的 C# 应用程序中。 它还在页面转换等事件方面提供良好的反馈,因此您甚至可以添加进度条等。

林肯 PCL 到 PDF 转换器

We are currently using Lincoln's PCL to PDF converter. It was simple to call and provides embed into our C# application. It also provides good feedback in terms of Events when a page has been converted etc so you can even add progress bars etc.

Lincoln PCL to PDF Converter

好多鱼好多余 2024-07-28 01:39:43

我使用过PCL to PDF for Windows and OS X,它基于GhostPCL。

I've used PCL to PDF for Windows and OS X which is based on GhostPCL.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文