简体   繁体   English

Ghostscript:Linux和Windows变体之间有什么区别?

[英]Ghostscript: What are the differences between Linux and Windows variants?

I am working with Ghostscript for Linux. 我正在使用Linux的Ghostscript。 What are the differences? 有什么区别?

If you want to know difference from Linux to MS Windows (you didn't specify)... from the top of my head: 如果您想知道从Linux到MS Windows的区别(您未指定)...从我的头开始:

  • On Windows you have two executables, gswin32c.exe and gswin32.exe instead of gs only. 在Windows上,您有两个可执行文件gswin32c.exegswin32.exe而不是仅gs The first one is to run Ghostscript on the commandline ("DOS box"), the second one will open two GUI windows: one to render the output, another one which is console-like and shows GS stdout/stderr or takes your command input if you run GS in interactive mode. 第一个是在命令行(“ DOS框”)上运行Ghostscript,第二个将打开两个GUI窗口:一个渲染输出,另一个类似于控制台,显示GS stdout / stderr或接受您的命令输入如果您以交互方式运行GS。

  • On Windows you'll see a few less "devices" if you type "gswin32c.exe -h" compared to "gs -h" . 在Windows上,如果键入"gswin32c.exe -h"则显示的“设备”要少于"gs -h" Most noteably you'll not have any of the x11* devices (like x11, x11alpha, x11cmyk, x11mono etc). 最值得注意的是,您将没有任何x11*设备(例如x11,x11alpha,x11cmyk,x11mono等)。 You'll also not have the cups device, nor the OpenPrinting Raster/Vector devices ( oprp and opvp ). 您也将没有cups设备,也没有OpenPrinting Raster / Vector设备( oprpopvp )。

  • On Windows you'll have two additional devices called mswindll and mswinpr2 . 在Windows上,您将拥有两个名为mswindllmswinpr2的附加设备。

  • It is recommended to use forward slashes for path/directory separation also on Windows (otherwise you'd possibly need to use a double backslash \\\\ to escape the single one). 建议在Windows上也使用正斜杠来分隔路径/目录(否则,您可能需要使用双反斜杠\\\\来转义单个斜杠)。

  • Printing to a real printer is handled differently on Windows. 在Windows上,打印到真实打印机的处理方式有所不同。 Use -sOutputFile= to print to your default printer. 使用-sOutputFile=打印到默认打印机。 Use -sOutputFile="%printer%My Nice Ricoh Printer" to print to the named printer. 使用-sOutputFile="%printer%My Nice Ricoh Printer"打印到指定的打印机。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM