xref: /plan9/sys/src/cmd/postscript/postdmd/postdmd.1 (revision 7dd7cddf99dd7472612f1413b4da293630e6b1bc)
POSTDMD 1
NAME
postdmd - PostScript translator for DMD bitmap files
SYNOPSIS
\*(mBpostdmd\f1 .OP "" options [] .OP "" files []
DESCRIPTION
postdmd translates DMD bitmap files , as produced by dmdps , or files written in the Ninth Edition bitfile (9.5) format into PostScript and writes the results on the standard output. If no files are specified, or if .OP - is one of the input files , the standard input is read. The following options are understood:

0.75i .OP -b num Pack the bitmap in the output file using num byte patterns. A value of 0 turns off all packing of the output file. By default num is 6.

.OP -c num Print num copies of each page. By default only one copy is printed.

.OP -f Flip the sense of the bits in files before printing the bitmaps.

.OP -m num Magnify each logical page by the factor num . Pages are scaled uniformly about the origin, which by default is located at the center of each page. The default magnification is 1.0.

.OP -n num Print num logical pages on each piece of paper, where num can be any positive integer. By default num is set to 1.

.OP -o list Print pages whose numbers are given in the comma-separated list . The list contains single numbers N and ranges N1-\|N2 . A missing N1 means the lowest numbered page, a missing N2 means the highest.

.OP -p mode Print files in either \*(mBportrait or \*(mBlandscape mode . Only the first character of mode is significant. The default mode is \*(mBportrait.

.OP -u Disables much of the unpacking for Eighth Edition bitmap files. Usually results in smaller output files that take longer to print. Not a recommended option.

.OP -x num Translate the origin num inches along the positive x axis. The default coordinate system has the origin fixed at the center of the page, with positive x to the right and positive y up the page. Positive num moves everything right. The default offset is 0 inches.

.OP -y num Translate the origin num inches along the positive y axis. Positive num moves everything up the page. The default offset is 0.

.OP -L file Use file as the PostScript prologue.

The default is .MR \*(dQ/postdmd.ps .

Three options allow insertion of arbitrary PostScript at controlled points in the translation process:

0.75i .OP -C file Copy file to the output file; file must contain legitimate PostScript.

.OP -P string Include string in the output file; string must be legitimate PostScript.

.OP -R action Requests special action (e.g., .MR manualfeed ) on a per page or global basis. The action string can be given as request, M request : page\f1\|, or M request : page : file\f1\|. If page is omitted or given as 0, the request applies to all pages. If file is omitted, the request lookup is done in .MR \*(dQ/ps.requests .

Only one bitmap is printed on each logical page, and each of the input files must contain complete descriptions of at least one bitmap. Decreasing the pattern size using the .OP -b option may help throughput on printers with fast processors (e.g., \s-1PS\s+1-810), while increasing the pattern size will often be the right move on older models (.e.g, \s-1PS\s+1-800).

DIAGNOSTICS
A 0 exit status is returned if files were successfully processed.

FILES
.MW \*(dQ/postdmd.ps

.MW \*(dQ/forms.ps

.MW \*(dQ/ps.requests

SEE ALSO
dpost (1), postdaisy (1), postio (1), postmd (1), postprint (1), postreverse (1), posttek (1)