Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/p/phs-to-ps.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/p/phs-to-ps.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/p/phs-to-ps.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/p/phs-to-ps.html on line 8

phs-to-ps

Convert .phs output for PostScript

Syntax:

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

Runs on:

Neutrino

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 /etc/printers/fontmap.

This file contains one or more “entries”, or font definitions, each on its own line (separated by the newline character \n). Each entry has the form:

alias = fontname

Or:

fontname : regular_font_name, bold_font_name, italics_font_name, bold_italics_font_name

An alias is a way to substitute all instances of the aliased font with another font. The font name should correspond to a font that's already loaded on the printer.


Note: There are hard-coded aliases used in the default file /etc/printers/fontmap which you shouldn't use in your own fontmap file. All aliases should point to a defined font name.

It is important to have a default font defined. If a font name is not found in the fontmap file, the default font is used instead. For example, if you'd like to map all fonts to the printer's default font, you just need one line in your fontmap file:

default=default
-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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/p/phs-to-ps.html on line 180

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/p/phs-to-ps.html on line 180