unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



m2ps(1)								      m2ps(1)



NAME

  m2ps - Converts text in Mule internal	code to	PostScript format

SYNOPSIS

  m2ps [options] <&lt;infile>&gt; outfile

OPTIONS

  -ps file
      Uses the specified file as a header for PostScript output.  The default
      header file is /usr/i18n/mule/lib/mule/$VERSION/etc/m2ps.ps.

  -dpi num
      Specifies	the resolution of the output device.  The default value	is
      300.

  -fs num
      Specifies	FontScale in points. The default value is 10.

  -lp num
      Specifies	LinePitch in points.  The default value	is 14.

  -ml num
      Specifies	the number of lines on a page.	The default value is 56.

  -tm num
      Specifies	TopMargin in points.  The default value	is 800.

  -lm num
      Specifies	LeftMargin in points.  The default value is 30.

  -sm Indicates	that your PostScript printer has limited memory.

  -bm Indicates	that your PostScript printer has a large memory.  This is the
      default.

  -a4 Indicates	A4 paper size.	This is	the default.

  -us Indicates	US-LETTER paper	size.

  -ver
      Shows the	version	number of m2ps software.

  -server font_server
      Uses the specified font server. Refer to the xfs(1X) referent page for
      information about	font servers.

  -bdf path
      Uses the specified path to find the bdf.tbl file that maps leading
      codes to their associated	fonts. The default path	is
      /usr/i18n/mule/lib/mule/$VERSION/etc/bdf.tbl.







OPERANDS

  infile
      Specifies	the file containing text in mule *internal* code.

  outfile
      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 conversion.	 Alterna-
  tively, 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 sup-
  plied	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 avail-
  able 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 leading 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

  /usr/i18n/mule/lib/mule/$VERSION/etc/m2ps.ps
      PostScript header	file

  /usr/i18n/mule/lib/mule/$VERSION/etc/demo.ps
      Sample PostScript	file created by	m2ps.  The original file is in mule's
      documentation directory.

  /usr/i18n/mule/lib/mule/$VERSION/etc/bdf.tbl
      Table that maps leading codes to font names.

SEE ALSO

  Commands: any2ps(1), coco(1),	mule(1), xfs(1X)