xref: /plan9/sys/src/cmd/postscript/postdaisy/postdaisy.1 (revision 7dd7cddf99dd7472612f1413b4da293630e6b1bc)
POSTDAISY 1 "DWB 3.2"
NAME
postdaisy - PostScript translator for Diablo 630 files
SYNOPSIS
\*(mBpostdaisy\f1 .OP "" options [] .OP "" files []
DESCRIPTION
postdaisy translates Diablo 630 daisy-wheel files 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 -c num Print num copies of each page. By default only one copy is printed.

.OP -f name Print files using font name . Any PostScript font can be used, although the best results will only be obtained with constant width fonts. The default font is Courier.

.OP -h num Set the initial horizontal motion index to num . Determines the character advance and the default point size, unless the .OP -s option is used. The default is 12.

.OP -m num Magnify each logical page by the factor num . Pages are scaled uniformly about the origin, which is located near the upper left corner 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 -r num Selects carriage return and line feed behavior. If num is 1 a line feed generates a carriage return. If num is 2 a carriage return generates a line feed. Setting num to 3 enables both modes.

.OP -s num Use point size num instead of the default value set by the initial horizontal motion index.

.OP -v num Set the initial vertical motion index to num . The default is 8.

.OP -x num Translate the origin num inches along the positive x axis. The default coordinate system has the origin fixed near the upper left corner of the page, with positive x to the right and positive y down the page. Positive num moves everything right. The default offset is 0.25 inches.

.OP -y num Translate the origin num inches along the positive y axis. Positive num moves text down the page. The default offset is 0.25 inches.

.OP -E name Set the character encoding for text fonts to name . Requesting name means include file .MI \*(dQ/ name .enc \f1. A nonexistent encoding file is silently ignored. The default selects file .MR \*(dQ/Default.enc .

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

The default is .MR \*(dQ/postdaisy.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 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 .

DIAGNOSTICS
A 0 exit status is returned if files were successfully processed.
FILES
.MW \*(dQ/postdaisy.ps

.MW \*(dQ/forms.ps

.MW \*(dQ/ps.requests

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