HPOS 3.5 - Generating the font entries file and update the mffpcl.pro file

2 HP Output Server 3.5
Generating the font entries file and update the mffpcl.pro file
Solution
The font entries file is generated.
NOTE: (a) If the -fontentries attribute is misspelled, then the cpm_copy command
displays the following error message:
cpm_copy -fontentry o.xml -i 399534.1 -q
This program is not designed to use outside Output Server
Environment.
(b) If the specified path for the input file is incorrect, then the cpm_copy command
displays the following error message:
cpm_copy -fontentries o.xml -i 1.pcl -q
Failed to generate the font entries file.
(c) If there is any error in generating the output XML file, then the cpm_copy command
displays the following error message:
Failed to generate the font entries file.
2. Update the mffpcl.pro file
After successfully generating the font entries XML file, update the mffpcl.pro file. This file is located in the
$DAZEL_HOME/etc directory.
NOTE: Once this information is updated, the font referenced in the mffpcl.pro file should be
installed using the setupfont.pl script.
For example, perl setupunicode.pl -a helr45.ttf
Example
<font family="Helvetica" serifstyle="SANSSERIF" spacing="PROPORTIONAL"
typeface="24580">
<face devname="Helvetica" style="UPRIGHT" weight="MEDIUM" width="NORMAL"/>
</font>
<font family="Helvetica" serifstyle="SANSSERIF" spacing="PROPORTIONAL"
typeface="24580">
<face devname="Helvetica" style="UPRIGHT" weight="BOLD" width="NORMAL"/>
</font>
This XML file contains font information between the XML tags <font family … > and </font>. One pair of
these tags makes one font entry in the mffpcl.pro file. One generated output XML file can contain many of these
pairs based on the number of fonts used in the input PCL document. All these pairs need to be added to the
mffpcl.pro file.
NOTE: Before adding the font entries to mffpcl.pro file, you need to make a change in the
generated output. Inside the <font family …> … </font> tags, locate the <face
> tag. Add two entries, fontfile=“font_file_name” and
fontfiletype=”TrueType”, in this tag.
Ensure that you specify the font names without any spaces.