Convert .phs output for PostScript
phs-to-ps [-D debug_fname] [-d] [-E] [-F] [-l1] [-od] [-p start[,end]] [-pr] [-U filename] [-V] filename
Neutrino
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.
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
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. This utility sends any error messages to slogger; use sloginfo to display them.
phs-to-ps file.phs >/dev/par
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