Description

The expg2ps tool converts EXPRESS-G diagrams to PostScript page descriptions. The output may be sent to a file or piped directly to a printer or another program.

This tool is intended primarily for the UNIX platform, but is also available on Windows. Windows users can also print directly from the EXPRESS-G editor.

Command Line

expg2ps [options] <expg-file>

The EXPRESS-G to PostScript converter accepts the following options:

-c / -color
Generate a color PostScript file. This is optional as some older printers may be unable to process color PostScript commands.
-f / -file <output-file>
Write PostScript data to a file. By default the tool writes to standard output.
-pages <start>[-<end>]
Select one or more pages to print. Page numbers can be found using the EXPRESS-G editor. By default the tool converts the entire diagram.
-v
Give more information about the conversion process. It is useful for tracking the progress through large schemas.

Overview

The expg2ps tool converts an EXPRESS-G file to a stream of PostScript, which is normally piped to standard output. The generated PostScript layout is identical to the layout that can be seen in expgedit, except that it is broken into multiple pages. One other important difference is that boxes will always appear on top of lines. This is not true in expgedit for performance reasons.

By default, the PostScript is piped to standard output. This can be overridden by simply using the -file option described above.

    % expg2ps diagram.exg > outfile.ps
    % expg2ps -file outfile diagram.exg

    % expg2ps diagram.exg | lpr