gswlx plugin for Total Commander

Switch to Russian

Version 0.2-beta6 for 32-bit Total Commander. Use it at your own responsibility. Tested with Total Commander 7.01 and Ghostscript versions 7.06, 8.00 and 8.53 (requires 7.04 and above) under w2k rus (requires WinNT 3.5 or Win95 or later).

This software is donationware. Free for non-commercial using. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY and NO SUPPORT. Comments and money may be sent to author.



About plugin

gswlx is intended to view in Lister and quick view panel of Total Commander files that can be processed by Ghostscript, an interpreter for the PostScript page description language:

Also it can generate and show sample for Type 1 PostScript fonts (extension PFB).

For all file types plugin can generate thumbnails.

Files in archive

File_Id.dizshort description of package
pluginst.infINF file for automatically install plugin in TC 6.50 and above
gswlx.wlxplugin module
gswlx.htmdescription on English (you are reading now)
gswlx_ru.htmdescription on Russian
gswlx_ru.lngsample translation to Russian
gswlx_chs.lngtranslation to Simplified Chinese
gswlx_ger.lngtranslation to German

How to install plugin

  1. If Ghostscript is not installed, you need to install it.
  2. Unpack files from archive together into some directory.
  3. If you want to store plugin settings together with plugin itself create file gswlx.ini in same place, edit it with text editor to create section [gswlx] and create parameter ini_in_plugdir=1. For example:
    [gswlx]
    ini_in_plugdir=1
  4. In Total Commander menu choose Configuration/Options...
  5. In dialog box Configuration choose Plugins and in group Lister plugins (.WLX) click button Configure.
  6. In dialog box Lister plugins click Add.
  7. Find unpacked gswlx.wlx and press Open.
  8. In dialog box Lister plugins check the order of plugins loading and close it by pressing button OK.
  9. Press OK to close Configuration dialog box.
  10. Use dialog gswlx settings to set options (defaults given in parenthesis):

About Ghostscript

For bitmap creation plugin uses Ghostscript that can be loaded at:

At the same place you can download GSview, a graphical interface for Ghostscript under MS-Windows, OS/2 and GNU/Linux.

AFPL Ghostscript for Win32 is available as a self extracting archive which installs itself. For details of how to manually install Ghostscript, please read the Ghostscript documentation files Install.htm and Use.htm.

In short, to install Ghostscript you need:

  1. Unpack Ghostscript files with subdirs into separate dir, e.g. c:\gs.
  2. Set environment variable GS_LIB=c:\gs\lib;c:\gs\fonts.
  3. If you are using PostScript fonts, you can add dir where it located into GS_LIB. For example, GS_LIB=c:\gs\lib;c:\gs\fonts;c:\psfonts.

NB 1: gswlx do not need any environment variable to be set. All settings done in gswlx settings dialog box.

NB 2. There is Additional Ghostscript options edit field in dialog box gswlx settings. You can add anything you want. For more information see Use.htm in doc directory of Ghostscript.

NB 3. Ghostscript may be compiled with some of library files and fonts to be compiled into the executable. So all you need will be one big DLL. You can download such a variant of GS 8.53 from http://olnd.narod.ru/gsdll32.cab (2.1 Mb).

Plugin settings

Dialog box “gswlx settings

About Ghostscript paths see above.

Rest fiaelds:

Menu commands

Using plugin

Keyboard

Mouse

Bitmap saving

Created bitmap can be saved in following formats:

For grayscale and color (RGB) images LZW can be used with or without differencing predictor. A predictor is a mathematical operator that is applied to the image data before an encoding scheme is applied. Differencing predictor predicts that each color component of a sample will be the same as the corresponding color component of the sample immediately to the left. In case of grayscale and color images (not all, not always) it can give noticeable decreasing of file size. For some images result may be reversed.

Saved PoastScript file can be sent directly into PostScript printer. It is useful in case of big or complex PS file, when processing in printer or transmission into it occupes a long time.

Bitmap can be added to an EPS file as a preview (menu command Add EPS preview). This preview can be used by a page composition software (like PageMaker) for displaying on a screen or for printing on non PostScript printer.

Translation

gswlx translations:

To translate messages into another language open language file with command Language file/Choose... from shortcut menu.

If you want to translate to another language copy gswlx_ru.lng and change Russian lines into your language.

Known issues

  1. In B/W mode at some resolutions Ghostscript (ver. 8.30 and above) sets invalid parameters for 'display' device. In this situation slightly change resolution.
  2. Ghostscript and gswlx can not display all Adobe Illustrator files because:
  3. As written in History*.htm of Ghostscript documentation, it supports PDF 1.5 starting with version 8.30 and PDF 1.6 from version 8.50.
  4. gswlx can not display random page in PostScript file and when user goes to not 1st page gswlx shows all pages before.

New versions

See http://www.totalcmd.net/plugring/gswlx.html

Author

Oleg Bondar aka Hobo (hobo-mts at mail pnt ru). Change 'at' to at and 'pnt' to point character.

Subject of message must contain word 'gswlx'.

History

0.2 beta6 (2007/07/06)

0.2 beta5 (2007/07/02)

0.2 beta4 (2006/06/20)

0.2 beta3 (2006/06/05)

0.2 beta2 (2006/05/19)

0.2 beta (2006/05/17)

0.1 beta (2006/02/08)