other versions
- wheezy 3.7.1-11
mimep(1) | General Commands Manual | mimep(1) |
NAME¶
mimep - to print a Multimedia Internet MEssageSYNOPSIS¶
mimep [source_file] [-o target_file] [-f] [-fp] [-printer printername] [-a4] [-us] [-typesize size] [-noburstpage] [-nopagenum] [-addhdrs headertype...] [-rmhdrs headertype...] [-allheaders] [-boundary filename | default | none]DESCRIPTION¶
The mimep program allows users to print multimedia messages composed with any UA respecting the MIME standard. It can print most of the bodyparts composing this kind of mail (gif, jpeg images, text/plain, text/enriched, postscript files ...). To achieve its goal, mimep builds a LaTeX document from the MIME message. Afterwards, it converts it into a "dvi" file, then into Postscript, outputting either to a file or to a printer.- apt-get install texlive-latex-base texlive-base-bin cupsys-client
RESOURCES¶
- Resource:
- allHeaders
- Values:
- True, False (default value: False)
- Description
- If set to true, then all mail or news headers are printed
out. (rfc 822 headers)
- Resource:
- addHeaders
- Values:
- Headers to add (string)
- Description
- A comma separated list of the extra headers that
mimep should print out. (example: mimep*addHeaders: From:, To:)
- Resource:
- removeHeaders
- Values:
- Headers to remove (string)
- Description
- A comma separated list of the standard headers that
mimep should not print out.
- Resource:
- paperSize
- Values:
- None, A4 or US (A4)
- Description
- Describes the size of the paper the output will be printed
on.
- Resource:
- printHeaderPage
- Values:
- True, False (False)
- Description
- If set to true then a burst banner page will be printed at
the beginning of the mimep output.
- Resource:
- printerName
- Values:
- Text string (NULL)
- Description
- The name of the printer to send output to. If no name is
supplied, then mimep will use the default printer.
- Resource:
- boundary
- Values:
- none, default or the location of the Postscript boundary file (Text string). (none by default...)
- Description
- mimep can put a boundary between the bodyparts of a
mail if you specify one... (example: mimep*boundary:
/images/myboundary.eps)
- Resource:
- paginate
- Values:
- True, False (True)
- Description
- If set to true, then mimep will print the page numbers.
- Resource:
- typeSize
- Values:
- 10, 11 or 12 (10)
- Description
- Size of the characters to print.
OPTIONS¶
- mep by default
- Mimep by default will interpret the "source_file"
or the standard input, and print the Postscript resulting from its
interpretation.
- [source_file]
- If no source_file is specified, mimep will use the standard
input, else mimep will interpret the mail named "source_file".
- -o target_file
- Creates a document (from the mail) in LaTeX, named
"target_file", the same document in dvi and postscript formats.
- -f
- Write the Postscript file resulting from the interpretation
of the message to the standard output.
- -fp
- Print the document even if the -o option is specified. (not
applicable with -f).
- -printer printername
- Send output to the named printer. Otherwise send output to
the printer named in the PRINTER or LPDEST environment variables.
- -a4
- Use A4 paper size (8.5 x 11.4 inches).
- -us
- Use US paper size (8.5 x 11 inches).
- -typesize size
- To specify the size of the characters to print.
- -noburstpage
- Disable the printing of the burst banner page.
- -nopagenum
- Disable the printing of the page numbers.
- -addhdrs headertype1 headertype2...
- Enable the printing of the headers following the option.
- -rmhdrs headertype1 headertype2...
- Disable the printing of the headers following the option.
- -allheaders
- Print all headers.
- -boundary filename | default | none
- If set to "none", disable the printing of a
boundary between the bodyparts else, if set to "default" makes
mimep print a horizontal line between two bodyparts; else prints the
Postscript (EPS) file named "filename" between these parts.
FILES¶
- $HOME/.mpdefaults
- X resource initialisation file.
- $HOME/.mailcap
- metamail configuration file.
- BINDIR/mimep
- executable.
- BINDIR/metamail
- a program mimep uses.
- BINDIR/latex
- a program mimep uses.
- BINDIR/dvips
- a program mimep uses.
- BINDIR/mp
- a program mimep can use.
- BINDIR/lpr
- a program mimep uses.
- BINDIR/iseps
- a program of the mimep distribution.
- BINDIR/ertf2latex
- a program of the mimep distribution.
- BINDIR/text2latex
- a program of the mimep distribution.
- BINDIR/cutlines
- a program of the mimep distribution.
- BINDIR/mimepurl
- a program of the mimep distribution.
- BINDIR/printmim
- a shell script of the mimep distribution.
ENVIRONMENT VARIABLES¶
mimep uses the following environment variables:- MEPTMPDIR
- If set, this variable overrides both the TMPDIR environment
variable and "/tmp" as the name of the directory in which mimep
will create temporary files.
- TMPDIR
- If set, this variable overrides "/tmp" as the
name of the directory in which mimep will create temporary files.
- PRINTER or LPDEST
- If no printername is defined, either in the
$HOME/.mpdefaults file or with the -printer option, mimep will use the
name set in the LPDEST or the PRINTER variable.
ENVIRONMENT VARIABLES CREATED BY MIMEP¶
mimep creates some environment variables to interact with other programs of its distribution and with the shell script metamail called to treat the bodyparts of a message. Because these variables might be useful to implement some extensions to mimep, here they are:- MEPOUT
- This variable is set to the name of the output file of
mimep. (for the LaTeX document it creates)
- MEPBOUND
- This variable can be set to "none",
"default", or to the path of an EPS file used by mimep to draw a
boundary between bodyparts. If set to default, mimep will just draw a
horizontal line with a height defined in the MIMEPRULEH variable.
- MEPRULEH
- Height of the horizontal line, if used to draw a boundary.
- MEPMAXCH
- Used by the program cutlines which needs to know the
maximum size of a line in characters.
- MEPPRINTER
- If set, the printername in this variable overrides the
default name of the printer given by the LPDEST or the PRINTER environment
variables. It can be used in the shell script and in other programs to
make them use the same printer as mimep.
SEE ALSO¶
latex(1) metamail(1) dvips(1) mp(1) lpr(1)BUGS¶
Please, report bugs to Serge Aumont.Serge.Aumont@univ-rennes1.fr
COPYRIGHT¶
Copyright (c) 1995 C.R.I. of Rennes 1. (University of Rennes 1 - France)AUTHORS¶
Mikael Cam, student at the Vannes Institute of Technologywith a lot of pieces of advice from Serge Aumont,
Eric Picheral & Rich Burridge.
Release 1 |