1postprint(1)                     User Commands                    postprint(1)
2
3
4

NAME

6       postprint - PostScript translator for text files
7

SYNOPSIS

9       postprint [-c num] [-f name] [-l num] [-m num] [-n num]
10            [-o list] [-p mode] [-r num] [-s num] [-t  num]
11            [-x num] [-y num] [file]...
12
13
14       /usr/lib/lp/postscript/postprint
15
16

DESCRIPTION

18       The  postprint  filter translates text files into PostScript and writes
19       the results on the standard output. If no files are specified, or if  
20       is one of the input files, the standard input is read.
21

OPTIONS

23       -c num     Print  num copies of each page. By default, only one copy is
24                  printed.
25
26
27       -f name    Print files using font name.  Any  PostScript  font  can  be
28                  used,  although  the best results will be obtained only with
29                  constant width fonts. The default font is Courier.
30
31
32       -l num     Set the length of a page to num lines. By  default,  num  is
33                  66.  Setting  num to  0 is allowed, and will cause postprint
34                  to guess a value, based on the point size that's being used.
35
36
37       -m num     Magnify each logical page  by  the  factor  num.  Pages  are
38                  scaled uniformly about the origin, which is located near the
39                  upper left corner of each page. The default magnification is
40                  1.0.
41
42
43       -n num     Print  num  logical  pages on each piece of paper, where num
44                  can be any positive integer. By default, num is set to  1.
45
46
47       -o list    Print pages whose numbers are given in  the  comma-separated
48                  list. The list contains single numbers N and ranges N1N2.
49                  A missing N1 means the lowest numbered page,  a  missing  N2
50                  means  the highest. The page range is an expression of logi‐
51                  cal pages rather  than physical sheets of paper.  For  exam‐
52                  ple,  if you are printing two logical pages to a  sheet, and
53                  you specified a range of  4, then two sheets of paper  would
54                  print,  containing  four   page  layouts. If you specified a
55                  page range of  3-4, when requesting two logical pages  to  a
56                  sheet; then only  page 3 and page 4 layouts would print, and
57                  they would  appear on one physical sheet of paper.
58
59
60       -p mode    Print files in either portrait or landscape mode.  Only  the
61                  first  character of mode is significant. The default mode is
62                  portrait.
63
64
65       -r num     Selects  carriage  return  behavior.  Carriage  returns  are
66                  ignored  if  num is  0, cause a return to column 1 if num is
67                  1, and generate a newline if num is  2. The default  num  is
68                  0.
69
70
71       -s num     Print files using point size num. When printing in landscape
72                  mode num is scaled by a factor that depends on  the  imaging
73                  area  of  the  device. The default size for portrait mode is
74                  10. Note that increasing point size increases virtual  image
75                  size,  so  you  either need to load larger paper, or use the
76                  −l0 option to scale the number of lines per page.
77
78
79       -t num     Assume tabs are set every num  columns,  starting  with  the
80                  first column. By default, tabs are set every  8 columns.
81
82
83       -x num     Translate  the  origin num inches along the positive x axis.
84                  The default coordinate system has the origin fixed near  the
85                  upper  left corner of the page, with positive x to the right
86                  and positive y down the page. Positive num moves  everything
87                  to the right. The default offset is  0.25 inches.
88
89
90       -y num     Translate  the  origin num inches along the positive y axis.
91                  Positive num moves text up the page. The default  offset  is
92                  −0.25 inches.
93
94
95
96       A  new logical page is started  after 66 lines have been printed on the
97       current page,  or whenever an ASCII form feed character  is  read.  The
98       number  of  lines per page can be changed using the -l option. Unprint‐
99       able ASCII characters are ignored, and lines  that  are  too  long  are
100       silently truncated by the printer.
101

EXAMPLES

103       Example 1 Examples of postprint.
104
105
106       To print file1  and  file2  in landscape mode, issue the following com‐
107       mand:
108
109
110         example% postprint -pland file1 file2
111
112
113
114
115       To print three logical pages on each physical page in portrait mode:
116
117
118         example% postprint -n3 file
119
120
121

EXIT STATUS

123       The following exit values are returned:
124
125       0           Successful completion.
126
127
128       non-zero    An error occurred.
129
130

FILES

132       /usr/lib/lp/postscript/forms.ps
133
134
135
136
137       /usr/lib/lp/postscript/ps.requests
138
139
140
141

ATTRIBUTES

143       See attributes(5) for descriptions of the following attributes:
144
145
146
147
148       ┌─────────────────────────────┬─────────────────────────────┐
149       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
150       ├─────────────────────────────┼─────────────────────────────┤
151       │Availability                 │SUNWpsf                      │
152       └─────────────────────────────┴─────────────────────────────┘
153

SEE ALSO

155       download(1), dpost(1), postdaisy(1), postdmd(1), postio(1),  postmd(1),
156       postreverse(1), posttek(1), attributes(5)
157
158
159
160SunOS 5.11                        9 Sep 1996                      postprint(1)
Impressum