Next Previous Contents

5. Using pt2ps

5.1 Command line

The syntax is:

pt2ps {options} {ptfile} {psfile}
where the {options} are zero or more of the switch listed below, {ptfile} is the name of the pitchtrack file to render and {psfile} is the name of the output file. Of course, you can use /dev/stdout as {psfile} to dump the Postscript file to the standard output and /dev/stdout as {psfile} to read the pitchtrack from standard input.

5.2 Command line options

Rendering options

-o [octave]

Set the origin of the pitch (vertical) axis to the C[octave]. The default is central C.

-O [octave]

Usually pt2ps displays two octaves starting from the central up or whatever you select with "-o". With this switch you can specify an integer number of octaves to be displayed.

-T [text]

Set the Postscript output file title to [text]. If this switch is no used, the document is titled "Pitch track"

-l [s]

Set the page length to [s] seconds. Each [s] seconds pt2ps starts a new page in the Postscript document.

-L [s]

Set the label spacing to [s] seconds.

-n [s]

Set the vertical line spacing to [s] seconds.

Informations options and other

-v

Active verbose mode. A report of programs parameters is shown before starting the file processing.

-V

Print pt2ps's version number.

-h

Print a brief help message and exit successfully.

-z

This switch has no effects at all.


Next Previous Contents