📄 gvclang.txt
字号:
2Registration
?Registration
If you wish to support the development of GSview or wish
to disable the GSview nag screen, please consider registering
GSview. There is no requirement for you to register GSview.
GSview is made available with the Aladdin Free Public Licence,
contained in the file `LICENCE`.
This allows free use, but restricts commercial distribution.
The registration fee is currently AUD$40.
GSview can be registered online at
http://www.ghostgum.com.au/
or by faxing or mailing the
registration form which can be found in the file `regorder.txt`
in the GSview directory.
Ghostgum Software prefers that you use the online registration.
2Document Structuring Conventions
?Document Structuring Conventions
?DSC
?Encapsulated PostScript
?EPSF
?EPS
Adobe has defined a set of extended comment conventions that provide
additional information about the page structure and resource
requirements of a PostScript file.
If a file contains these Document Structuring Convention (DSC) comments,
GSview can display pages in random order using `Goto Page` and display pages
in reverse order using `Previous Page`. Selected pages can be extracted to
another file or printed.
If a file does not contain DSC comments, GSview can only
display the pages in the original order.
DSC conforming files start with the comment line:
%!PS-Adobe-3.0
where the number 3.0 may change and is the DSC version number.
Some programs write PostScript files with a control-D as the first
character of the file, followed by the comment line mentioned above.
GSview will correctly report that these files are not DSC conforming,
but will still display them with page selection features available.
Complain to the author of the program that produced the PostScript file.
To make the file DSC conforming, edit it to remove the control-D character.
DSC conforming files contain lines such as:
%%Pages: 24
%%Page: 1 1
These lines tell GSview how many pages a document contains and
where they start. GSview uses this information to select
individual pages.
Encapsulated PostScript Files (EPSF) are single page documents
that contain a subset of the `DSC` comments and PostScript commands.
EPS files start with the comment line:
%!PS-Adobe-3.0 EPSF-3.0
EPS files are commonly used for inclusion in other documents and
for this reason require the bounding box comment:
%%BoundingBox: llx lly urx ury
where llx, lly, urx and ury are integers giving the x and y co-ordinates
of the lower left and upper right corners of a bounding box which encloses
all marks made on the page.
Some EPS files contain a preview of the PostScript document.
This preview can be a Windows Metafile, a TIFF file, or an Interchange
preview (EPSI format).
For the Windows Metafile or TIFF file preview, the EPS file under DOS
contains a binary header which specifies the location and lengths of
the preview and PostScript language sections of the EPS file.
For the Interchange format, the preview is contained in DSC comments
starting with
%%BeginPreview: width height depth lines
An EPS file with a preview can be created from an EPS file without a
preview using `Add EPS Preview`.
GSview may give warnings when documents contain incorrect DSC
comments. This can be changed with `Options` | `DSC Warnings`.
2Portable Document Format
?Portable Document Format
?PDF
?pdf2ps
?ps2pdf
GSview can display and print PDF files, although there are a number
of limitations with the current method.
When displaying, GSview ignores the page size on the Media menu,
and instead uses the /MediaBox from the PDF file.
If `Options` | `EPS Clip` is enabled, GSview will use the /CropBox
from the PDF file.
GSview needs to `Open` a PDF file to count the pages. If you
`Select` the file, GSview will not be able to `Text Extract`,
`Find`, `Goto Page` or do any other operation that needs to know
how many pages are in the document.
pdfmark link support is crude.
To convert a PostScript file to a PDF file, use `File` | `Convert`,
then select the `pdfwrite` device.
To convert a PDF file to a PostScript file, use `File` | `Convert`,
then select the `pswrite` device.
`File` | `Extract` does not work for PDF files.
Extracting PDF pages extracts PostScript rather than PDF.
To batch convert multiple files, look at
X
ps2pdf.
WP
ps2pdf.bat and pdf2ps.bat
in the Ghostscript directory.
You will need to use
P
gvpm.exe
W
gswin32c.exe
WP
instead of gs.exe. You may also need to set the Ghostscript
include path using `-I` or the environment variable `GS_LIB`.
E
2Opening a Document
?File
?Open
?Select File
?Save As
?Close
The `Open` command on the `File` menu opens a file and displays
the first page.
If the file contains `DSC` comments, pages can be selected using
`Next Page`, `Previous Page` and `Goto Page`.
If the file does not contain `DSC` comments, `Previous Page` and `Goto Page`
will not work. Another file should not be selected until a last page of
the file has been displayed.
When a file is open, GSview will display the document filename,
the current page (if available) and while the cursor is over
the image, the location of the cursor in co-ordinates specified
by `Options` | `Units`. The co-ordinate can be PostScript points
(1/72"), millimetres or inches.
The cursor location is useful for calculating bounding boxes.
The `Select File` command is similar to `Open` but it does not display
the document.
This command is useful for opening a document prior to printing it.
The `Save As` command saves a copy of the current document.
This is useful if GSview is being used as a PostScript viewer by
another application and you wish to save the currently displayed file.
The `Close` command closes the currently open document.
This should be used before the current file is changed by another
program.
If you do not do this and GSview detects that the file length or date
have changed, it will close Ghostscript and rescan the document.
See also `Print`.
2Page Selection
?Page Selection
?Next Page
?Previous Page
?Redisplay
?Goto Page
?View
?Fit Window
?Full Screen
`View` | `Next Page` or the `+` button moves to the next page of a
document.
This works even if the document does not contain `DSC` comments.
`View` | `Previous Page` or the `-` button moves to the previous page.
`View` | `Redisplay` or the `F5` key redisplays the current page.
`View` | `Goto Page` or the `pointing hand` button shows a dialog box
which allows selection of the next page number to display.
The `Select Page` dialog box shows page labels since these are likely
to be more useful than a sequential page number.
`View` | `Next Page and Home` or the space bar moves to the top of the
next page of a document.
`View` | `Previous Page and Home` or the BackSpace key moves to the
top of the previous page.
The `Previous Page`, `Redisplay` and `Goto Page` commands work only if the
document contains `DSC` comments.
`View` | `Fit Window` or the `F6` key changes the display resolution
to fit the entire page within the current window. Repeated use
causes either the width or height of the page to fit the current
window.
`View` | `Full Screen` or the `F4` key displays the page full screen
(without title bar, scroll bars etc.).
To return to normal display, press the Escape key.
2Document Information
?Info
A brief information area at the top of the window is used by
GSview to display the document filename, the current page number
and label (if available) and while the cursor is over the image, the
location of the cursor (relative to the lower left corner of
the paper) in co-ordinates specified by `Options` | `Units`.
The cursor location is useful for calculating bounding boxes.
The `Info` command on the `File `menu shows a dialog box with the
following information about the `DSC` comments in the current document.
`File `is the full pathname to the document.
`Type` is` DSC`,` EPS`, `No DSC comments` or `Ignoring DSC Comments`.
`EPS` is an Encapsulated PostScript File - a single page document
that contains a subset of the `DSC` comments and PostScript commands.
`EPS `files are commonly used for inclusion in other documents.
`Ignoring DSC Comments` is displayed if `Options` | `Ignore DSC`
is selected.
These may be prefixed by `Ctrl-D followed by` or `PJL followed by`.
Both of these indicate that the document does not comply with
the DSC because there is some garbage at the beginning of the
document. To fix the former, see `Common Problems`.
To fix the latter, do not use a HP LaserJet driver when creating
PostScript documents for distribution to others.
`Title` is a text title that can be used when printing banner
pages and for routing or recognising documents.
`Date` is the time the document was created.
`BoundingBox` specifies a box that encloses all the marks painted
on the page. The four integer values are the co-ordinates of the
lower left and upper right corners of the bounding box in default
user co-ordinates (1/72 inch).
`Orientation `is the default page orientation and is either
`Portrait `or` Landscape`. See the `Orientation` menu.
`Page Order` is either `Ascending`, `Descending` or `Special`.
If `Page Order` is `Descending`, GSview automatically reverses
the pages when displaying or printing so they appear in
ascending order. When extracting or printing, GSview can
be instructed to print pages in descending (reverse) order.
`Special` means that pages should not be reordered.
`Default Media` gives the media name followed by the width and
height of that media in default user co-ordinates (1/72 inch).
`Pages` is the total number of pages in the document.
`Page` gives the page label and page number.
`Bitmap `is the size of the display bitmap in pixels which may be
useful if you are copying the displayed image to the clipboard.
W
2Printing
?Print
The `Print` command on the `File `menu allows printing of the document
using Ghostscript. There are three methods used by GSview for
printing: `Windows GDI printer`, `Ghostscript device`
or `PostScript printer`.
`Windows GDI printer` uses Ghostscript to create bitmaps for
each page, and prints these using the standard Windows printer
driver. This is the slowest print method, but should work with
most printers.
`Ghostscript device` uses the Ghostscript printer drivers.
This is faster, but you need Ghostscript to have a driver for
your printer and you need to know what it is called.
For example, the HP LaserJet 4 uses ljet4.
See the Ghostscript documentation for more details.
`PostScript printer` doesn't use Ghostscript for printing
PostScript files. Instead the file is sent directly to
the printer.
There is a significant amount of interaction between settings
on the print dialog. For example, selecting `Ghostscript device`
disables the `Properties `button because this isn't relevant.
More details are in the following topics.
See also `Conversions` and `Convert`.
3Select Pages
?Select Pages
When printing, a range of pages can be selected.
Within this range, you can select all pages, odd pages or even pages.
If you select odd pages in the range 10 to 20, the first to
be printed will be 11.
The `Select Pages` button may be disabled if it is not supported by
the print method.
The `Reverse` check box causes the pages to be printed in
descending order. This is enabled only if the document
contains `DSC` comments.
If you wish to print selected pages from a `DSC` document that
has special page ordering (i.e. the pages can not be reordered),
select `Windows GDI printer` and `Ignore DSC`.
3Windows GDI printer
?Windows GDI printer
This uses Ghostscript to create a bitmap for each page, and
these are printed using the standard Windows printer driver.
This should work on all printers that support raster graphics.
By default, a monochrome bitmap is used for maximum speed.
If you want colour, you will need to enable this using
the `Settings `button.
To control how GSview handles requests by the PostScript or
PDF documents to change the page size, see the
`Page Size Matching` topic.
`Options `is usually empty, but may contain Ghostscript command
line options. Use with care!
This print method allows selected pages to be printed, even if
a PostScript document does not contain `DSC` comments. It does
this by rendering all pages, but only sending the requested ones
to the printer. This may be very slow.
3Ghostscript device
?Ghostscript device
?uniprint
The `Select Ghostscript Device` dialog box allows selection of
the Ghostscript printer device and resolution.
The default list of available devices and resolutions is stored
in the [Devices] section of gsview32.ini and is taken from the
standard distribution version of Ghostscript 6.0.
You can use other devices or resolutions.
To control how GSview handles requests by the PostScript or
PDF documents to change the page size, see the
`Page Size Matching` topic.
Some Ghostscript options may be added using either the` Options`
field or the `Properties` button.
The `uniprint` button selects the uniprint device and displays a list
of available configuration files (*.upp) for the uniprint device.
If you select one of these configuration files, the configuration file
name will be placed in the `Options `field of the Printer Setup.
See the Ghostscript file `Devices.htm` for details of how to configure
the uniprint device.
3PostScript printer
?PostScript printer
If `PostScript Printer` is selected, the selected pages will be
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -