QNX Developer Support

Home
Developer Resources
Developer Support
PDF Documents
[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

phs-to-ps

Convert .phs output for PostScript

Syntax:

phs-to-ps [-D debug_fname] [-d] [-E] [-F]
          [-L] [-l1] [-od] [-p start[,end]] [-pr]
          [-U filename] [-V]
          filename

Options:

-D debug_fname
Send debug information to the specified file.
-d
Delete the input file after processing.
-E
Create an encapsulated PostScript file.
-F
Specify a fontmap (font substitution table) file. If not set, the utility uses the default Photon fontmap file /usr/photon/font_repository/fontmap.
-L
Enable landscape mode.
-l1
("el one") Postscript Level 1 (default: PostScript Level 2 which supports color).
-od
Append Ctrl-D to the end of the job.
-p start[,end]
Specify the starting (and optionally ending) page number to print. If start is greater than end, the pages are printed in reverse order.
-pr
Print the entire file in reverse order.
-U filename
Delete this file when the print job is completed.
-V
Be verbose (-VV: be more verbose).
filename
Name of a Photon draw-stream (*.phs) file.

Description:

This utility converts Photon draw-stream (.phs) output into PostScript. The configuration file for PostScript printers, /etc/printers/ps.cfg, specifies phs-to-ps as a filter for spooler to use.

The output is sent to stdout. Typically this is redirected to a printer device, as shown in the example.

Examples:

phs-to-ps file.phs >/dev/par

See also:

phs-to-bjc, phs-to-bmp, phs-to-escp2, phs-to-ijs, phs-to-pcl, spooler

"Printing with spooler" in the Printing chapter of the Neutrino User's Guide


[Previous] [Contents] [Index] [Next]