Kur*_*fle 20
通常,当您在任何可以打印其内容的程序中使用“打印到文件”选项时,.prn 是 Windows 上建议的文件扩展名。用于生成 .prn 文件的打印机驱动程序取决于您在打印时选择的打印机(或默认打印机)。
通常,.prn 扩展名背后的真实内容因此可能会因可用的打印机驱动程序类型而变化很大:PostScript(级别 1、2、3)、PCL(半打类型)、ESC/P、ESC/P2、HP /GL,Prescribe,RPCS,.... 随便你说。
如果您的 *.prn 确实是 PostScript,您可以使用 Ghostscript(或 Acrobat Distiller)轻松将其转换为 PDF。
如果您的 *.prn 确实是一个 PCL,您也可以使用来自 Ghostscript 稳定版的另一个名为 GhostPCL 的程序来转换它。
下面是两个示例命令行:
gswin32c.exe ^
-dBATCH ^
-dNOPAUSE ^
-sDEVICE=pdfwrite ^
-sOutputFile=output.pdf ^
[...more Ghostscript CLI options as needed...] ^
c:/path/to/input-which-is-postscript.prn
pspcl6.exe ^
-dBATCH ^
-dNOPAUSE ^
-sDEVICE=pdfwrite ^
-sOutputFile=output.pdf ^
[...more Ghostscript CLI options as needed...] ^
c:/path/to/input-which-is-pcl.prn
Run Code Online (Sandbox Code Playgroud)
要下载 GhostPCL,请参见此处:https ://www.ghostscript.com/download/gpcldnld.html 。
归档时间: |
|
查看次数: |
179404 次 |
最近记录: |