Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

m2ps(1) [osf1 man page]

m2ps(1) 						      General Commands Manual							   m2ps(1)

NAME
m2ps - Converts text in Mule internal code to PostScript format SYNOPSIS
m2ps [options] <infile> outfile OPTIONS
Uses the specified file as a header for PostScript output. The default header file is /usr/i18n/mule/lib/mule/$VERSION/etc/m2ps.ps. Spec- ifies the resolution of the output device. The default value is 300. Specifies FontScale in points. The default value is 10. Specifies LinePitch in points. The default value is 14. Specifies the number of lines on a page. The default value is 56. Specifies TopMargin in points. The default value is 800. Specifies LeftMargin in points. The default value is 30. Indicates that your PostScript printer has limited memory. Indicates that your PostScript printer has a large memory. This is the default. Indicates A4 paper size. This is the default. Indicates US-LETTER paper size. Shows the version number of m2ps software. Uses the specified font server. Refer to the xfs(1X) referent page for information about font servers. Uses the specified path to find the bdf.tbl file that maps leading codes to their asso- ciated fonts. The default path is /usr/i18n/mule/lib/mule/$VERSION/etc/bdf.tbl. OPERANDS
Specifies the file containing text in mule *internal* code. Specifies the file containing the output PostScript program. DESCRIPTION
The m2ps command converts text encoded in Mule internal code (called *internal*) to a PostScript file that can be printed. To handle text not coded in *internal* code, you first have to convert the code to *internal*. You can use the coco command to perform this code conver- sion. Alternatively, you can run the any2ps program to do both jobs (convert the code to *internal* and also generate the PostScript file). Compaq's implementation of the m2ps command is derived from software supplied by the Free Software Foundation. However, the original code, written by Ken'ichi Handa of the Electrotechnical Laboratory in Japan, uses BDF files that are available for public domain fonts. BDF files are not available for fonts supplied with the Tru64 UNIX product. Therefore, the Compaq implementation of m2ps uses the X font server, along with a table (bdf.tbl), to obtain printing information. Each line of the bdf.tbl file maps a leading code value to a font name. A line contains 2 columns, separated by a colon (:), for the lead- ing code value and font name, respectively. You can modify the file if you want m2ps to use different fonts for one or more of the leading codes. FILES
PostScript header file Sample PostScript file created by m2ps. The original file is in mule's documentation directory. Table that maps leading codes to font names. SEE ALSO
Commands: any2ps(1), coco(1), mule(1), xfs(1X) m2ps(1)

Check Out this Related Man Page

ucs2any(1)						      General Commands Manual							ucs2any(1)

NAME
ucs2any - generate BDF fonts containing subsets of ISO 10646-1 codepoints SYNOPSIS
ucs2any [ +d | -d ] source-name { mapping-file registry-encoding } ... DESCRIPTION
ucs2any allows one to generate from an ISO 10646-1 encoded BDF font other BDF fonts in any possible encoding. This way, one can derive from a single ISO 10646-1 master font a whole set of 8-bit fonts in all ISO 8859 and various other encodings. OPTIONS
+d puts DEC VT100 graphics characters in the C0 range (default for upright, character-cell fonts). -d omits DEC VT100 graphics characters from the C0 range (default for all font types except upright, character-cell fonts). OPERANDS
source-name is the name of an ISO 10646-1 encoded BDF file. mapping-file is the name of a character set table like those at <ftp://ftp.unicode.org/Public/MAPPINGS/>. These files can also typically be found installed in the /usr/X11R6/lib/X11/fonts/util/ directory. registry-encoding are the CHARSET_REGISTRY and CHARSET_ENCODING field values for the font name (XLFD) of the target font, separated by a hyphen. Any number of mapping-file and registry-encoding operand pairs may be specified. EXAMPLE
The command ucs2any 6x13.bdf 8859-1.TXT iso8859-1 8859-2.TXT iso8859-2 will generate the files 6x13-iso8859-1.bdf and 6x13-iso8859-2.bdf. FUTURE DIRECTIONS
Hopefully a future release will have a facility similar to ucs2any built into the server, and reencode ISO 10646-1 on the fly, because storing the same fonts in many different encodings is clearly a waste of storage capacity. SEE ALSO
bdftruncate(1) AUTHOR
ucs2any was written by Markus Kuhn. Branden Robinson wrote this manual page, originally for the Debian Project. X Version 11 font-util 1.0.1 ucs2any(1)
Man Page