[fixed] xnview will not recognize ghostscript installation
Содержание:
- Introduction
- Where to get them
- Overview of how to install Ghostscript
- Document roadmap by theme
- Installing Ghostscript on Unix
- Installing Ghostscript on MS Windows
- Возможности [ править | править код ]
- Document roadmap by theme
- Интерфейс XnView
- URW Font Information
- Document roadmap by theme
- Presence on the World Wide Web
- Бесплатные шрифты
- Which document contains what?
- URW Font Information
- Printers:
- Installing Ghostscript on OS/2 2.x
- GhostPDL
- Installing Ghostscript on DOS
- Adding your own fonts
Introduction
Ghostscript can use the character rasterizer provided by the underlying
operating system and window system; specifically, Adobe Type Manager (ATM)
or a TrueType rasterizer under MS Windows, or the facilities provided by X
Windows. This ability augments, but does not replace, Ghostscript’s own
Type 1 rasterizer: Ghostscript may still use its own rasterizer for very
large characters, characters that are clipped or transformed in unusual
ways, and for output to devices other than the screen.
Ghostscript connects to these platform facilities through a driver-like
interface called the xfont (external font) interface. Current xfont
implementations are associated directly with device drivers; in a future
release, Ghostscript may separate them, so that (for example) it will be
possible to use the platform rasterizer when writing to a file.
Please note that from this point, this file is likely to be useful only
to a small number of Ghostscript porters and implementors.
Where to get them
ftp.acornusers.orgpub/utils/postscript
Ghostscript 7.03 is split in five parts:
-
The RISC OS application and support files: GSapp703.zip
(835 KB) — New 10-January-2002 -
Required ghostscript support files: GSsup703.zip
(1074 KB) — New 10-January-2002 -
Ghostscript documentation: GSdoc703.zip
(903 KB) — New 10-January-2002 -
Standard ghostscript fonts: GSfnt65a.zip
(1311 KB) -
and: GSfnt65b.zip
(518 KB)
To build Ghostscript for yourself you will need:
ROSsrcGS.zip
(77 KB) — New 10-January-2002
and probably a fair amount of patience. This includes the RISC OS specific source code and makefiles.
It also includes the few code changes I made to the Ghostscript code itself. Finally it includes the
scripts used to automate the job of building Ghostscript. Some small parts of the code are borrowed directly from UnixLib.
If you have the stomach for it, download, try to follow the instructions, see how you get on, improve it if you dare …..
PSUtils is available in a single file: PSUtils16.zip
(354 KB) (current version 1.16).
Overview of how to install Ghostscript
You must have three things to run Ghostscript:
- The Ghostscript executable file; on some operating
systems, more than one file is required. These are entirely
platform-specific. See below for details. - Initialization files that Ghostscript reads in when it
starts up; these are the same on all platforms.
-
* unless Ghostscript was compiled
using the «compiled initialization files» option. See the documentation of
PostScript files distributed with Ghostscript. -
* if Ghostscript was compiled
with the ability to interpret Adobe Portable Document Format (PDF) files,
that is, was included in
when Ghostscript was built. -
and (or the
appropriate xxx for your platform), unless
you plan always to invoke Ghostscript with the .
Fonts, for rendering text. These are platform-independent,
but if you already have fonts of the right kind on your platform,
you may be able to use those. See below for details. Also see the
documentation on fonts.
The usage documentation describes the search
algorithms used to find initialization files and font files. The
per-platform descriptions that follow tell you where to install these
files.
Document roadmap by theme
What should I read if I’m a new user?
- how to use Ghostscript. This includes both
a quickstart introduction to the commandline version and more extensive
reference material. - detailed information about specific
devices that Ghostscript can use for output - more detailed information about how to use Ghostscript under
Unix with as a filter
for printing - for information about known problems or to report a new one,
please visit bugs.ghostscript.com
but remember that free versions of Ghostscript come with with
NO WARRANTY and NO SUPPORT
GPL and commercial Ghostscript
GPL Ghostscript, Artifex Ghostscript and AFPL Ghostscript are different releases.
additional information about GPL Ghostscript
releases that is not relevant to commercial versions.
If you run into any questions, or if you are going to be using Ghostscript
extensively, you should at least skim, and probably eventually read:
- about the fonts distributed with
Ghostscript, including how to add or replace fonts - a description of the Ghostscript language,
and its differences from the documented PostScript language - about the postscript files distributed with
Ghostscript (other than fonts)
Before building Ghostscript
If you are going to compile Ghostscript from source, rather than just use an executable
you got from somewhere, you may want to read:
how to build Ghostscript and
install it
Installing Ghostscript on Unix
Ghostscript uses the common configure, build and install method common
to many modern software packages. In general the following with suffice
to build ghostscript:
This last command may need to be performed with super user privileges.
You can set the installation directory by adding
to the configure invocation in the first step. The default prefix is ,
which is to say the gs executable is installed as .
A list of similar configuration options is available via
For more detailed information on building Ghostscript see
in
the documentation on building Ghostscript, especially regarding information
on using the older
approach. Whatever configuration method you use, execute «» to install the executable and all the required and
ancillary files after the build is complete.
Fonts
The makefile installs all the files except fonts under the directory
defined in the makefile as . Fonts need to be
installed separately. The fonts should be installed in
.
(That is, if you used the default
configuration above.)
If you have Adobe Acrobat installed, you can use the Acrobat fonts
in place of the ones distributed with with Ghostscript by adding the
Acrobat fonts directory to
and removing these fonts from
:
Similarly, you can have ghostscript use other fonts on your system by adding
entries to the fontmap or adding the directories to the GS_FONTMAP environment
variable. See the for more
information.
For example, many linux distributions place fonts under .
Additional notes on Linux
For Linux, you may be able to install or upgrade Ghostscript from
precompiled RPM files using:
However, please note that we do not create RPMs for Ghostscript, and we take
no responsibility for RPMs created by others.
Installing Ghostscript on MS Windows
We usually distribute Ghostscript releases for Windows as self-extracting
archive files, since this is the most convenient form for users. These
files can also be unpacked as if they were plain zip files.
The self-extracting archive is normally named
gs###w32.exe,
where ### is the release number (e.g., 650 for Ghostscript 6.50,
700 for Ghostscript 7.00).
Windows 95/98 and NT 4
To install a self-extracting Ghostscript archive on Windows 95/98 or
Windows NT4/2000, you need just this self-extracting archive file.
Run this file to install Ghostscript.
Alternatively, if you have the zip file, unzip it to a temporary
directory then run the included setupgs.exe.
After the setup program has finished, remove the temporary files.
After installing Ghostscript, it is strongly recommended that you
install the ,
which provides an easier to use graphical interface for Ghostscript.
Information on GSview is available from:
General Windows configuration
The archive includes files in these subdirectories:
The actual executable files, in the gs#.##\bin
subdirectory, are:
See «» below for
information about using Adobe Type Manager, Adobe Type Basics, or Adobe
Acrobat fonts. If your system uses TrueType fonts, you can get them
converted to a Ghostscript-compatible format at the time you select your
«printer» by doing the following:
That’s it! Your TrueType fonts will automatically be downloaded in your
PostScript file for Ghostscript to use.
For printer devices, the default output is:
This can be modified as follows.
If Ghostscript fails to find an environment variable, it looks for a
registry value of the same name under the key
or if that fails, under the key
where #.## is the Ghostscript version number. This does not work under
Win32s (that is, Windows 3.1, which doesn’t support named registry
values).
Ghostscript will attempt to load the Ghostscript dynamic link
library GSDLL32.DLL in the following order:
- In the same directory as the Ghostscript executable.
- If the environment variable GS_DLL is defined,
Ghostscript tries to load the Ghostscript dynamic link library (DLL)
with the name given. - Using the standard Windows library search method: the directory
from which the application loaded, the current directory, the Windows
system directory, the Windows directory and the directories listed in
the PATH environment variable.
The Ghostscript setup program will create registry values
for the environment variables GS_LIB
and GS_DLL.
Uninstalling Ghostscript on Windows
To uninstall Ghostscript, use the Control Panel, Add/Remove Programs and
remove «Ghostscript #.##» and «Ghostscript Fonts». (The entries may be
called «Aladdin Ghostscript» or «AFPL Ghostscript», rather than just
«Ghostscript», depending on what version of Ghostscript was installed.)
Возможности [ править | править код ]
Ghostscript может осуществлять конвертирование файлов PostScript в файлы различных графических форматов, выводить на дисплей интерпретированное содержимое и осуществлять печать на принтерах не поддерживающих PostScript; часто используется как «виртуальный принтер» для создания документов в формате PDF или PostScript из программ, не поддерживающих конвертирование в эти форматы.
Может использоваться как процессор растровых изображений (RIP) для растровых компьютерных принтеров — например, как входной фильтр для LPD — или как механизм RIP для программ просмотра PDF или PostScript.
Поскольку Ghostscript является интерпретатором языка, то он может также использоваться в качестве универсальной среды программирования. Ghostscript был перенесён на многие операционные системы, включая Unix, Linux, Mac OS, OpenVMS, Microsoft Windows, MS-DOS, FreeDOS, OS/2 и AmigaOS.
GhostScript — Entwickler: Artifex Software Inc. Aktuelle Version: 8.64 (3. Februar … Deutsch Wikipedia
Ghostscript — Entwickler Artifex Software Inc. Aktuelle Version 9.04 (8. August 2011) … Deutsch Wikipedia
GhostScript — Développeur Artifex Software Inc … Wikipédia en Français
Ghostscript — Desarrollador Artifex Software Ghostscript, Ghostview y … Wikipedia Español
Ghostscript — (escrito por Peter Deutsch, fundador de Aladdin Enterprises), es el programa intérprete por excelencia de documentos en formato PS (y también PDF). Ghostscript permite presentar datos PS y PDF en la pantalla y además traducirlos de manera que… … Enciclopedia Universal
Ghostscript — infobox software name = Ghostscript caption = Ghostscript Logo author = L. Peter Deutsch developer = Artifex Software released = August 11, 1988 [cite web |url=http://ghostscript.com/doc/current/History1.htm#Version1.0 |title=History of… … Wikipedia
Ghostscript — GPL Ghostscript Développeur Artifex Software Inc. Première version … Wikipédia en Français
GhostScript — GNU Public Domain Postscript (Interpreter, siehe http://www.desy.de/cgi bin/man cgigs) … Acronyms
GhostScript — GNU Public Domain Postscript (Interpreter, siehe http://www.desy.de/cgi bin/man cgigs) … Acronyms von A bis Z
GNU Ghostscript — Développeur Projet GNU Première version 2004 Dernière ver … Wikipédia en Français
Document roadmap by theme
What should I read if I’m a new user?
- how to use Ghostscript. This includes both
a quickstart introduction to the commandline version and more extensive
reference material. - detailed information about specific
devices that Ghostscript can use for output - more detailed information about how to use Ghostscript under
Unix with as a filter
for printing - for information about known problems or to report a new one,
please visit bugs.ghostscript.com
but remember that free versions of Ghostscript come with with
NO WARRANTY and NO SUPPORT
GPL and commercial Ghostscript
GPL Ghostscript, Artifex Ghostscript and AFPL Ghostscript are different releases.
additional information about GPL Ghostscript
releases that is not relevant to commercial versions.
If you run into any questions, or if you are going to be using Ghostscript
extensively, you should at least skim, and probably eventually read:
- about the fonts distributed with
Ghostscript, including how to add or replace fonts - a description of the Ghostscript language,
and its differences from the documented PostScript language - about the postscript files distributed with
Ghostscript (other than fonts)
Before building Ghostscript
If you are going to compile Ghostscript from source, rather than just use an executable
you got from somewhere, you may want to read:
how to build Ghostscript and
install it
Интерфейс XnView
После запуска, вы увидите главное окно программы XnView. Внешний вид главного окна XnView можно изменить из меню «Вид», выбрав в контекстном меню настройки пункты «Вид» и «Расположение».
Обозреватель для просмотра фото и других файлов имеет три области: область древа папок, область содержимого выбранной папки, и область предпросмотра (предварительного просмотра). Эти области можно скрывать при помощи маленьких кнопок синего цвета.
Древо папок внешне напоминает Проводник Windows. Древо папок отображается во вкладке «Папки». Рядом расположены вкладки «Избранное» и «Категории».
Во вкладку «Избранное» добавляются файлы с помощью соответствующей кнопки на панели инструментов.
Во вкладке «Категории» можно упорядочить все фотографии, распределив изображения по темам. По умолчанию в программе создано некоторое количество категорий. Вы можете создать новые категории. Для этого, выделите категорию, затем выберите пункт «Новая категория», присвойте имя новой категории. Далее выделите изображение в окне XnView, в меню «Вид» выберите пункт контекстного меню «Присвоить категории…», а затем выберите нужную категорию, примените настройки.
На панели меню находятся кнопки: «Открыть», «Полноэкранный вид», «Поворот против часовой стрелки», «Поворот по часовой стрелке», «Преобразование JPEG без потерь», «Свойства», «Действия с файлами», «Найти», «Печать», «Сканировать», «Преобразование», «Захват», «Слайд-шоу», «Создать Веб-страницу», «Создать Лист Эскизов», «Опции», «О программе».
Под панелью меню расположена панель инструментов с вкладками, функциональными кнопками и полем поиска.
URW Font Information
The set of truetype fonts in the urwfonts directory are necessary for the PCL/XL interpreter to function properly but they ARE NOT FREE SOFTWARE and are NOT distributed under the GNU GPL/AGPL. They can instead be redistributed under the AFPL license which bars commercial use.
If your copy of GhostPDL includes these fonts, you should have received a copy of the the Aladdin Free Pubilc License, usually in a file called COPYING.AFPL. If not, please contact Artifex Software, Inc. 1305 Grant Avenue — Suite 200, Novato, CA 94945 USA, or visit http://www.artifex.com/
PostScript is a registered trademark of Adobe Systems Inc.
PCL is a registered trademark of Hewlett-Packard Company.
Copyright 2000-2021 Artifex Software, Inc. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied, modified
or distributed except as expressly authorized under the terms of that
license. Refer to licensing information at https://www.artifex.com
or contact Artifex Software, Inc., 1305 Grant Avenue — Suite 200,
Novato, CA 94945, U.S.A., +1(415)492-9861, for further information.
Ghostscript version 9.54.0, 30 March 2021
Document roadmap by theme
What should I read if I’m a new user?
- how to use Ghostscript. This includes both
a quickstart introduction to the commandline version and more extensive
reference material. - detailed information about specific
devices that Ghostscript can use for output - more detailed information about how to use Ghostscript under
Unix with as a filter
for printing - for information about known problems or to report a new one,
please visit bugs.ghostscript.com
but remember that free versions of Ghostscript come with with
NO WARRANTY and NO SUPPORT
GPL and commercial Ghostscript
GPL Ghostscript, Artifex Ghostscript and AFPL Ghostscript are different releases.
additional information about GPL Ghostscript
releases that is not relevant to commercial versions.
If you run into any questions, or if you are going to be using Ghostscript
extensively, you should at least skim, and probably eventually read:
- about the fonts distributed with
Ghostscript, including how to add or replace fonts - a description of the Ghostscript language,
and its differences from the documented PostScript language - about the postscript files distributed with
Ghostscript (other than fonts)
Before building Ghostscript
If you are going to compile Ghostscript from source, rather than just use an executable
you got from somewhere, you may want to read:
how to build Ghostscript and
install it
Presence on the World Wide Web
Ghostscript’s home page
Ghostscript has a home page on the World Wide Web with helpful information
such as the FAQ (Frequently Asked Questions):
Adobe PostScript, Encapsulated
PostScript, and PDF reference documentation
Adobe makes a wealth of technical documentation available over the Web,
including the
PostScript Language Reference Manual (Third Edition); the
Encapsulated PostScript (EPS) Format Specification version 3, including
format; the
PDF Reference manuals.
The Acrobat SDK contains
pdfmark and Acrobat Distiller parameters documentation.
Some of these documents
are also available at Adobe’s ftp
site, but not necessarily under the same filenames.
Other material on the WWW
Much other material about Ghostscript is available on the World Wide Web,
both as web pages and as archived Usenet and mailing list discussions. Use
the well-known search engines to find such material.
Бесплатные шрифты
Есть несколько наборов свободный Шрифты, поставляемые для Ghostscript, предназначены для обеспечения метрической совместимости с общими шрифтами, прилагаемыми к стандарту PostScript. К ним относятся:
- 35 базовых внесено URW ++ Design and Development Incorporated, Гамбург, Германия, в 1996 г. GPL и AFPL. Это полный набор шрифтов, аналогичный классическому набору Adobe: Bookman L (Книжник), Учебник века L (Учебник нового века), Канцелярия L (Цапф Канцелярия), Дингбаты (Zapf Dingbats), Готика L (Авангард), Нимбус Моно L (Курьер), Нимбус Роман No9 L (Раз), Nimbus Sans L (Helvetica), Палладио Л (Палатино), Стандартные символы L (Символ) в форматах Type1, TrueType и OpenType.
- Пакет GhostPDL (включая Ghostscript, а также сопутствующие реализации HP PCL и Microsoft XPS) включает дополнительные шрифты в рамках AFPL, запрещающие коммерческое использование. Он включает версии URW ++ Garamond (Гарамонд № 8), Оптима (URW Classico), Arial (A030), Antique Olive, и Университеты (U001), Clarendon, Коронет, Письмо готический, а также URW Mauritius и измененная форма Альбертус известный как A028. В сочетании с базовым набором они составляют немногим больше половины стандартного набора шрифтов PostScript 3.
- Разный набор, включающий Кириллица, Кана, а также шрифты, полученные из бесплатных шрифтов Hershey, с улучшениями Томаса Вольфа (такими как добавление акцентированных символов).
Шрифты Ghostscript были разработаны в формате PostScript Type 1, но были преобразованы в формат TrueType, могут использоваться большинством современного программного обеспечения и часто используются в сообществе разработчиков ПО с открытым исходным кодом. Шрифт Garamond был дополнительно улучшен. 35 основных шрифтов URW были впоследствии включены в GNU FreeFont и TeX Gyre.
Which document contains what?
Here is the list in alphabetic order of Ghostscript documentation,
with explanations of the contents.
- API.htm
- On MS-Windows and OS/2, Ghostscript is compiled as a dynamic
link library (DLL). On Linux, Ghostscript can be compiled as
a shared object. This describes how to use it. For developers.
- C-style.htm
- Guidelines and style for C coding, which you should follow
if, for example, you or add or
change something in Ghostscript. For developers.
- Commprod.htm
- The conditions under which Ghostscript may be distributed in a
commercial context. See also the .
- DLL.htm
- On OS/2, MS Windows-16 and MS Windows-32 platforms, Ghostscript is
compiled as a dynamic link library (DLL). This describes how to use it.
For developers. This DLL interface is obsolete.
Use instead.
- Develop.htm
- Code orientation for developers. Contains a detailed breakdown of
the source files by functional group, and overviews of the major
architectural features and services.
- Deprecated.htm
- Documention for deprecated devices and features. Features described here
will be removed in future versions of Ghostscript.
- Devices.htm
- Detailed information about some specific devices for which Ghostscript
can produce output. Run «» to see which
devices a particular version of Ghostscript is built to use.
- Drivers.htm
- Describes the interface between Ghostscript and device drivers. If
you do this, you should also read and use the . Necessary to develop a new driver. For
developers.
- Fonts.htm
- All
about fonts freely available for Ghostscript, and how to add and use new
fonts. Also describes how to use Ghostscript fonts as X Windows fonts. For
both users and developers.
- History*.htm
-
The history of changes in all Ghostscript releases:
- Install.htm
- How to install Ghostscript. See also .
- Internal.htm
- Description of operators that are for internal/developer use only.
- Language.htm
- The relationship between the Ghostscript interpreter and the
PostScript language as defined by Adobe.
- Lib.htm
- A description of the Ghostscript library, a set of procedures to
implement the graphics and filtering capabilities that are primitive
operations in the PostScript language and in Adobe Portable Document Format
(PDF). For developers.
- Make.htm
- How to build Ghostscript executables from the source code. See also
. It’s not necessary to be a highly
experienced developer to build or install Ghostscript, but some experience
is needed.
- News.htm
- A brief description of the latest release or pre-release of
Ghostscript, and a list of any incompatible changes in it. Changes in older
releases are described in the history files «»,
which are usually installed in the documentation directory. Run
«» to see where that is.
- Ps-style.htm
- The guidelines and style for postscript coding in Ghostscript. Some
of Ghostscript is implemented in the postscript language itself, and
various utilities and examples are distributed with it. You should
follow these guidelines if you’re extending or modifying those files.
For developers.
- Ps2epsi.htm
- Detailed information on how to use Ghostscript through
to convert PostScript to Adobe
Encapsulated PostScript Interchange (EPSI) format.
- VectorDevices.htm
- Detailed information on how to use Ghostscript, GhostPCL and GhostXPS to convert PostScript, PDF, XPS, PCL or PXL input to Adobe
Portable Document Format (PDF), Adobe PostScript Level 2, Adobe Encapsulated PostScript Level 2, Open XML (XPS) or PCL-XL.
- Psfiles.htm
- A description of the PostScript files (other than font files)
distributed with Ghostscript, including initialization routines, utility
programs, and sample printable files.
- thirdparty.htm
-
Contains a table of «third party libraries» (that is, code from outwith the
Ghostscript/GhostPDL project) that we import to our project and supply in our
releases. Including the purpose they serve, the version we QA and ship, the
license under which the code distributed and the URL for the «upstream»
project.
- COPYING
- The GNU Affero General Public License, which states the conditions for using
and redistributing GPL Ghostscript.
- Readme.htm
- This document.
- Release.htm
- A description of how to prepare and test a Ghostscript release. Of
interest only to developers who want to create new Ghostscript versions for
distribution.
- Source.htm
- A guide to the Ghostscript source code, for development and debugging.
- Unix-lpr.htm
- How to set up Ghostscript as a Unix
filter.
- Use.htm
- Detailed instructions on how to use Ghostscript, including such
matters as designating an output device; choosing a default paper size;
how Ghostscript finds files, including font files; how it uses environment
variables; notes on specific platforms, including the X Window System; and
command-line options.
URW Font Information
The set of truetype fonts in the urwfonts directory are necessary for the PCL/XL interpreter to function properly but they ARE NOT FREE SOFTWARE and are NOT distributed under the GNU GPL/AGPL. They can instead be redistributed under the AFPL license which bars commercial use.
If your copy of GhostPDL includes these fonts, you should have received a copy of the the Aladdin Free Pubilc License, usually in a file called COPYING.AFPL. If not, please contact Artifex Software, Inc. 1305 Grant Avenue — Suite 200, Novato, CA 94945 USA, or visit http://www.artifex.com/
PostScript is a registered trademark of Adobe Systems Inc.
PCL is a registered trademark of Hewlett-Packard Company.
Copyright 2000-2021 Artifex Software, Inc. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied, modified
or distributed except as expressly authorized under the terms of that
license. Refer to licensing information at https://www.artifex.com
or contact Artifex Software, Inc., 1305 Grant Avenue — Suite 200,
Novato, CA 94945, U.S.A., +1(415)492-9861, for further information.
Ghostscript version 9.54.0, 30 March 2021
Printers:
+ atx23 Practical Automation ATX-23 label printer + atx24 Practical Automation ATX-24 label printer + atx38 Practical Automation ATX-38 label printer + deskjet H-P DeskJet and DeskJet Plus djet500 H-P DeskJet 500; use -r600 for DJ 600 series + fs600 Kyocera FS-600 (600 dpi) + laserjet H-P LaserJet + ljet2p H-P LaserJet IId/IIp/III* with TIFF compression + ljet3 H-P LaserJet III* with Delta Row compression + ljet3d H-P LaserJet IIID with duplex capability + ljet4 H-P LaserJet 4 (defaults to 600 dpi) + ljet4d H-P LaserJet 4 (defaults to 600 dpi) with duplex + ljetplus H-P LaserJet Plus lj5mono H-P LaserJet 5 & 6 family (PCL XL), bitmap: see below for restrictions & advice lj5gray H-P LaserJet 5 & 6 family, gray-scale bitmap; see below for restrictions & advice * lp2563 H-P 2563B line printer * oce9050 OCE 9050 printe (pxlmono) H-P black-and-white PCL XL printers (LaserJet 5 and 6 family) (pxlcolor) H-P color PCL XL printers (e.g. Color LaserJet 4500)
Installing Ghostscript on OS/2 2.x
The Ghostscript OS/2 implementation is designed for OS/2 2.1 or later. A
few people have used it successfully under OS/2 2.0, but it has had very
little testing. You need these files to run Ghostscript on OS/2:
GSOS2.EXE, GSDLL2.DLL and
GSPMDRV.EXE are compiled using EMX/GCC 0.9d. You must have
the EMX DLLs on your LIBPATH; they are available in a
package emxrt.zip from many places on the Internet, so you
can find the package by using a search engine or an ftp lookup service such
as the one at
The system menu of the Ghostscript Image window includes a «Copy» command
to copy the currently displayed bitmap to the Clipboard.
OS/2 comes with some Adobe Type Manager fonts. If you wish to use these with
Ghostscript, you should replace the FONTMAP file with
FONTMAP.OS2, and add to the environment variable
GS_LIB (see below for more information about
GS_LIB) the name of the directory where the fonts are
located, usually C:\PSFONTS. Before you do this, please
read carefully the license that accompanies the ATM fonts; we take no
responsibility for any possible violations of such licenses.
Since GSOS2.EXE is not a PM application, it cannot
determine the depth of the PM display. You must provide this information
using the -dBitsPerPixel option. Valid values are 1, 4, 8
(the default), and 24.
A command file gspm.cmd containing the following line may
be useful:
While drawing, the os2pm driver updates the display every 5
seconds. On slow computers this is undesirable, and a different interval
can be specified in milliseconds with the -dUpdateInterval
option, with a default of -dUpdateInterval=5000; to disable
update, use -dUpdateInterval=0.
Standard VGA is very slow because it uses double buffering to avoid bugs
and because of 1-plane to 4-plane conversion; it’s better to use a
256-color display driver. Many display drivers have bugs which cause 1
bit-per-pixel bitmaps to be displayed incorrectly.
GSOS2.EXE and GSPMDRV.EXE will stay in
memory for the number of minutes specified in the environment variable
GS_LOAD.
If you run GS386 in the OS/2 2.0 or 2.1 DOS box, you must
select the «ENABLED» setting for the DPMI_DOS_API option of the DOS box.
GS386 will not run with the «AUTO» setting.
For printer devices, output goes to the default queue. To print to a
specified queue, use -sOutputFile=\\spool\NullLPT1, where
NullLPT1 is the queue’s physical name.
Copyright 1996, 2000 Aladdin Enterprises. All rights
reserved.
This file is part of AFPL Ghostscript. See the
Aladdin Free Public License (the «License») for
full details of the terms of using, copying, modifying, and redistributing
AFPL Ghostscript.
Ghostscript version 7.03, 20 October 2001
GhostPDL
Historically, we’ve used GhostPDL as an umbrella term to encompass our entire line of products. We’ve now brought all these disparate products together into a single package, called, appropriately enough, GhostPDL.
When running on a printer (or server) GhostPDL now automatically detects the type of data being fed to it and processes it accordingly. The individual interpreters all plug into a top-level module that handles both automatic language detection and Printer Job Language (PJL) based configuration.
The exact set of interpreters present in an installation can be tuned by the integrator for their specific product/use cases.
In addition to our existing PDL modules (PS, PDF, PCL, PXL, and XPS) we have now added new modules to handle a range of common image formats. With these installed, GhostPDL will handle JPEGs (both JFIF and EXIF), PWGs, TIFFs, PNGs, JBIG2s, and JPEG2000s.
GhostPDL is available both under the GNU Affero GPL license
and for commercial licensing
from Artifex.
The source code for GhostPDL can be found on
here.
Installing Ghostscript on DOS
You need the files GS386.EXE and DOS4GW.EXE
to run Ghostscript. You should install all the files except the fonts in
C:\GS, and the fonts in C:\GS\FONTS.
If you have Adobe Type Manager
(ATM) fonts installed on your system, and you wish to use them with
Ghostscript, you may wish to replace the FONTMAP file with
FONTMAP.ATM, and to add to the environment variable
GS_LIB the name of the directory where the fonts are located
(see below for more information about GS_LIB). Before you
do this, please read carefully the license that accompanies the ATM fonts;
we take no responsibility for any possible violations of such licenses.
Similarly, if you have Adobe Type Basics, you may wish to replace
FONTMAP with FONTMAP.ATB. Finally, if you
have neither ATM nor ATB but you have Adobe Acrobat installed, you can use
the Acrobat fonts in place of the ones provided with Ghostscript by adding
the Acrobat fonts directory to GS_FONTPATH and removing
these fonts from FONTMAP:
Adding your own fonts
Ghostscript can use any Type 0, 1, 3, 4, or 42 font acceptable to
other PostScript language interpreters or to ATM, including MultiMaster
fonts. Ghostscript can also use TrueType font files.
To add fonts of your own, you must edit Fontmap to include at the end an
entry for your new font; the format for entries is documented
in Fontmap itself. Since later entries in Fontmap override earlier
entries, a font you add at the end supersedes any corresponding fonts supplied
with Ghostscript and defined earlier in the file. To ensure correct output,
it is vital that entries for the «base 35» fonts remain intact
in the Fontmap file.
In the PC world, Type 1 fonts are customarily given names ending in
or . Ghostscript can use these
directly: you just need to make the entry in Fontmap. If you want to use
with Ghostscript a commercial Type 1 font (such as fonts obtained in
conjunction with Adobe Type Manager), please read carefully the license that
accompanies the font to satisfy yourself that you may do so legally; we take
no responsibility for any possible violations of such licenses. The same
applies to TrueType fonts.
Converting BDF fonts (- deprecated!)
Ghostscript provides a way to construct a (low-quality) Type 1 font from a
bitmap font in the BDF format popular in the Unix world. The shell script
(Unix) or the command file
(DOS) converts a BDF file to a
scalable outline using . Run the
shell command
The arguments have these meanings:
For instance
Then make an entry in Fontmap for the
file ( in the example) as
.