⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gvclang.txt

📁 GSview 4.6 PostScript previewer。Ghostscript在MS-Windows, OS/2 and Unix下的图形化接口
💻 TXT
📖 第 1 页 / 共 5 页
字号:
 sent direct to the printer queue, without using Ghostscript.
 This is similar to `File `| `Print File`, except that you can specify
 which pages to print.

 When a PostScript printer is connected via a serial port, it sometimes
 requires a Ctrl+D character to be sent after the PostScript file,
 and depending on how well behaved other programs are, sometimes before.
 This is part of the serial communications protocol used by these
 printers - it is not part of PostScript.
 The `Settings `dialog allows you can choose to
 send Ctrl+D before and/or after the PostScript file.

 Some PostScript printers understand multiple languages, and
 require a prolog to enable the PostScript mode.
 For example, HP LaserJet printers (with the PostScript option)
 require the following prolog
  ^[%-12345X@PJL JOB
  @PJL ENTER LANGUAGE = POSTSCRIPT
 and the following epilog
  ^[%-12345X@PJL EOJ
  ^[%12345X
 The prolog and epilog files allow you to send a file to the
 printer before and after the PostScript file.

 Another use of the prolog might be to invoke duplex printing
  << /Duplex true /Tumble false >> setpagedevice

 If the document is `PDF`, Ghostscript will be used to convert
 the document to PostScript which will then be sent to the printer.
3Print File
?Print File
 `File | Print File` sends a file to a local port, bypassing the
 Windows printer drivers.
 This is useful for sending a document to a PostScript printer,
 or for sending an output file produced by Ghostscript to a printer.
PX
2Printing
?Print
?Print To File
?Print File
?uniprint
 The `Print` command on the `File `menu allows printing of the document
 using Ghostscript.
 The `Print` command is also used for creating bitmap files and
 `PDF` files.
 A `Printer Setup` dialog box allows selection of
 the Ghostscript printer driver and resolution, the page range
 and the
P
 `Spooler` output.
X
 program for queuing print jobs.
E

 All pages, individual pages or any combination may be printed.
 The `All`, `Odd` and `Even` buttons provide quick selection of pages.
 If a single contiguous block of pages is marked, the `Odd` and `Even`
 buttons will select odd or even pages within this range.
 The `Reverse` check box causes the pages to be printed in
 descending order.

P
 The `os2prn` printer driver uses the OS/2 printer drivers
 and should work with any printer with raster capabilities.
 Printer resolution cannot be selected from within GSview; use
 the Printer Object instead.  The printer default settings
 must match those expected by Ghostscript; printer page orientation
 must be Portrait, printer page size must match the Ghostscript page
 size.  Setting the property -dBitsPerPixel=1 should speed up
 printing a little.

 With all other printer drivers, Ghostscript sends the output direct
 to the printer queue.
 If you have trouble printing you may have to `Print To File`
 and then `Print File` or use the OS/2 command `COPY /B FILENAME PRN`.
PX

 If `PostScript Printer` is checked, the selected pages will be
 sent direct to the printer queue, without using Ghostscript.
 This is similar to `File | Print File`, except that you can specify
 which pages to print.  The `Advanced` button allows prolog and
 epilog files to be placed around the PostScript being sent to
 a PostScript printer.

 The list of available devices and resolutions is stored in the
 [Devices] section of
P
 gvpm.ini.
X
 ~/.gsview.ini
PX

 The default list of devices and resolutions is taken from the
 standard distribution version of Ghostscript 6.0 and may not
 be complete.

 To print a document without displaying it, open the document
 using `Select File`.

 If you want to produce a bitmap, some useful drivers are
 `bmpmono`, `bmp16`, `bmp16m` and `bmp256`.

 `File | Print File` sends a file to a local port
P
 , bypassing the Presentation Manager printer drivers.
X
 .
PX
 This is useful for sending a document to a PostScript printer,
 or for sending an output file produced by Ghostscript to a printer.

 To control how GSview handles requests by the PostScript or
 PDF documents to change the page size, see the
 `Page Size Matching` topic.

 The `Options `field contains a Ghostscript command line option
 for the selected device.

 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.

 The `Printer Setup` dialog box prompts you for the name of a printer
 queue to which output should be sent.
 This queue will be saved and will be the default selection next time.

 Some information of printer compatibility is available from
  http://www.cs.wisc.edu/~ghost/doc/printer.htm
3PostScript Printer
?PostScript Printer
?Advanced
 When a PostScript printer is connected via a serial port, it sometimes
 requires a Ctrl+D character to be sent after the PostScript file,
 and depending on how well behaved other programs are, sometimes before.
 This is part of the serial communications protocol used by these
 printers - it is not part of PostScript.
 When using the `PostScript Printer `option, you can choose to
 send Ctrl+D before and/or after the PostScript file.

 Some PostScript printers understand multiple languages, and
 require a prolog to enable the PostScript mode.
 For example, HP LaserJet printers (with the PostScript option)
 require the following prolog
  ^[%-12345X@PJL JOB
  @PJL ENTER LANGUAGE = POSTSCRIPT
 and the following epilog
  ^[%-12345X@PJL EOJ
  ^[%12345X
 The prolog and epilog files allow you to send a file to the
 printer before and after the PostScript file.
E
3Properties
?Properties
 The `Properties` button allows some Ghostcript devices to configure
 extra properties and a page offset to be specified.

 A page offset can be specified for each device.
 The page offset is useful for correcting a mismatch between the page
 origin of a Ghostscript printer device and a particular printer.
 Increasing the X value will translate the image towards the right.
 Increasing the Y value will usually translate the image downwards.

 `Properties` are typically used to set BitsPerPixel for a colour
 printer, or other types of colour or density correction,
 or PDF distiller parameters.

 `Properties` are specific to a particular device.  Changing
 the value of the `BitsPerPixel` property on one device does not
 change it for any other device.

 When you press the `OK` button in the `Properties` dialog
 box, the current settings are written to the
W
 gsview32.ini
P
 gvpm.ini
X
 ~/.gsview.ini
E

 file.

 Some `Properties` are predefined in GSview, but these may not
 match those available in Ghostscript.  The `Edit `and `New`
 buttons allow you to modify available `Properties` for that device.
 See the `Edit Properties` topic for more details.
4Edit Properties
?Edit Properties
 Not every device supports the use of optional `Properties`.  To find
 out which devices support `Properties` and which `Properties` are
 recognised by each device, read the Ghostscript
 file Devices.htm or look at the Ghostscript source code.

 There are two ways to add or edit `Properties`.

 The first method uses the `Edit `or `New` button on the `Properties`
 dialog box.

 Each property must be either a number or a string.  Number properties
 are equivalent to the Ghostscript `-d` command line option.  String
 properties are equivalent to the Ghostscript `-s` command line option.
 Each property consists of a `Name` and `Value`.  These are used as
 `-dNAME=VALUE` or `-sNAME=VALUE`.
 The `Value` is chosen from the comma separated list of `Values`
 entered into the `Edit Properties` dialog box.  Spaces must not
 be embedded in the `Name` or `Values`.

 To delete a property, select it on the `Properties` dialog box,
 then press` Edit`, then press the `Delete` button on the `Edit Properties`
 dialog box.

 The second method is to manually edit the GSview INI file.

 For each device, you must add two sections to the
W
 gsview32.ini
P
 gvpm.ini
X
 ~/.gsview.ini
E
 file.
 The following example shows how to add property information
 for the cdjcolor driver.
 First add a section which gives the current values.
 This section, after the first character is removed, gives the options
 that will appear in the `Property` list box.
 The first character is `s` for string or `d` for number.
  [cdjcolor]
  dBitsPerPixel=24
  dDepletion=1
  dShingling=2
  dBlackCorrect=4

 Next add a section which gives the values to display in the
 `Value` list box.
  [cdjcolor values]
  dBitsPerPixel=1,3,8,16,24
  dDepletion=1,2,3
  dShingling=0,1,2
  dBlackCorrect=0,1,2,3,4,5,6,7,8,9
 GSview will also add the value `[Not defined]` to the listbox.

 When GSview prints a file, it will give Ghostscript the contents
 of the [cdjcolor] section of
W
 gsview32.ini
P
 gvpm.ini
X
 ~/.gsview.ini
E
 as follows:
  -dBitsPerPixel=24 -dDepletion=1 -dShingling=2 -dBlackCorrect=4
 If the value of a property is `[Not defined]`, that property will
 not be sent to Ghostscript.
3Page Size Matching
?Page Size Matching
?Fixed Media
?Fixed Page Size
?Variable Page Size
?Shrinkg to fit Page Size
 If `Fixed Page Size` is selected (the default), GSview will use the
 page size on the Media menu and will ignore attempts by PostScript
 or PDF documents to change the page size.
 This is useful for PDF files that contain a mix of portrait and
 landscape pages.

 If `Shrink to fit Page Size` is selected, any page size selected
 by the document that is larger than the selected media will
 be shrunk to fit the page size on the Media menu.
 This is useful if you want to print an A4 sized page on
 letter paper (although a better idea is to buy A4 paper).

 If `Variable Page Size` GSview will set the default page
 size from the Media menu, but allow the page size to be changed.
2Conversions
?Conversions
 There are several ways to convert PostScript and PDF files.

 `File `| `Convert` uses Ghostscript to convert PostScript or
 PDF to bitmaps, PostScript or PDF.

 `File `| `Extract` allows a range of pages to be copied from
 a PostScript document.

 `File `| `PS to EPS` allows the bounding box to be updated and
 allows the header to be changed from PS to EPS.
 Read the documentation thoroughly before using this.

 `Edit `| `Add EPS Preview` adds a bitmap preview to an EPS
 file.

 `Edit `| `Extract EPS` extracts the PostScript or Preview
 from a DOS EPS file.

 `Edit `| `Convert to vector format` uses pstoedit to convert
 PostScript or PDF to an editable vector format.

 `Edit `| `Text Extract` uses pstotext to extract text from
 a PostScript or PDF document.
WP

 `Edit `| `Copy` copies the display bitmap to the clipboard.
 `Edit `| `Paste To` copies a clipboard DIB bitmap to a file.
 `Edit `| `Convert Bitmap` converts a clipboard DIB bitmap
 to a clipboard device dependent bitmap.
E
3File conversions and tricks
?File Conversions
?Tricks
 Some common file conversions that can be performed
 using GSview and Ghostscript are:

 Convert PostScript to PDF.
 File | `Convert`, select pdfwrite, 300dpi,
 With Ghostscript 5.50, fonts with non-standard encodings
 will be included as bitmaps.  If you choose 72dpi, fonts
 will look rough.  Ghostscript 6.0 will embed fonts.

 Convert PDF to PostScript.
 File | `Convert`, select pswrite, 300dpi.

 Convert Level 2 PostScript to Level 1 PostScript.
 File | `Convert`, select psmono, 300dpi,
 Instead of 300dpi, you should use the resolution of your
 printer.

 Convert to a bitmap.
 File | `Convert`, select bmp16m, 72dpi.

WP
 Convert to an editable vector format (pstoedit).
 Edit | `Convert to vector format` OR convert to PDF
 using the method above.

E
 Extract text (pstotext).
 Edit | `Text Extract`

 Add a preview to an EPS file.
 Edit | `Add EPS Preview`.   See `Add EPS Preview` for
 more details.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -