1 | .TH PSDRAFT 1 "18 August 1992" "Adobe Systems" |
---|
2 | \" Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. |
---|
3 | \" ATTN GOVERNMENT END USERS: See notice of rights in file XPSLIBDIRX/Notice |
---|
4 | \" RCSID: $Header: /afs/dev.mit.edu/source/repository/third/transcript/man/psdraft.1p,v 1.2 1996-10-14 05:09:46 ghudson Exp $ |
---|
5 | .ds PS P\s-2OST\s+2S\s-2CRIPT\s+2 |
---|
6 | .SH NAME |
---|
7 | psdraft \- add "draft" notices on PostScript language documents |
---|
8 | .SH SYNOPSIS |
---|
9 | .B psdraft |
---|
10 | [ |
---|
11 | .BI -s string |
---|
12 | ] [ |
---|
13 | .BI -x xcoord |
---|
14 | ] [ |
---|
15 | .BI -y ycoord |
---|
16 | ] [ |
---|
17 | .BI -f font |
---|
18 | ] [ |
---|
19 | .BI -r angle |
---|
20 | ] [ |
---|
21 | .BI -g graylevel |
---|
22 | ] [ |
---|
23 | .BI -o |
---|
24 | ] [ |
---|
25 | .BI -p outfile |
---|
26 | ] [ |
---|
27 | .BI -P printer |
---|
28 | ] [ |
---|
29 | .I files |
---|
30 | ] |
---|
31 | .SH DESCRIPTION |
---|
32 | .I psdraft |
---|
33 | reads in conforming \*(PS language files and inserts \*(PS language code to |
---|
34 | print a |
---|
35 | string |
---|
36 | such as "DRAFT" in the margins, or anywhere on the page. |
---|
37 | .sp |
---|
38 | For example: |
---|
39 | .RS |
---|
40 | psdraft text.ps |
---|
41 | .RE |
---|
42 | produces a \*(PS file that, in addition to the image already described in |
---|
43 | text.ps, prints the string "DRAFT" rotated 90 degrees in the right margin. |
---|
44 | .RS |
---|
45 | psdraft -s"Adobe Confidential" -r45 -x252 -y324 text.ps |
---|
46 | .RE |
---|
47 | produces a \*(PS file that includes the string "Adobe Confidential" in the |
---|
48 | middle of the page, rotated 45 degrees. |
---|
49 | .sp |
---|
50 | The possible options are: |
---|
51 | .TP |
---|
52 | .BI -s string |
---|
53 | puts |
---|
54 | .I string |
---|
55 | on the paper. The default is "DRAFT". |
---|
56 | .TP |
---|
57 | .BI -r angle |
---|
58 | rotates the string |
---|
59 | .I angle |
---|
60 | degrees. The default is 90. |
---|
61 | .TP |
---|
62 | .BI -x xcoord |
---|
63 | puts the string at the |
---|
64 | .I xcoord |
---|
65 | x-coordinate on the page. The default is 575. |
---|
66 | .TP |
---|
67 | .BI -y ycoord |
---|
68 | puts the string at the |
---|
69 | .I ycoord |
---|
70 | y-coordinate on the page. The default is 300. |
---|
71 | .TP |
---|
72 | .BI -g graylevel |
---|
73 | specifies the gray level for printing the string. The default is 0 (black). |
---|
74 | .TP |
---|
75 | .BI -f font |
---|
76 | sets the font to be used for printing the string. The default is |
---|
77 | Times-Roman30. |
---|
78 | .sp |
---|
79 | Font specifications have two parts: |
---|
80 | a font name as known to the \*(PS printer (e.g., Times-Roman, |
---|
81 | Times-BoldItalic, |
---|
82 | Helvetica, Courier), and a point size (1 point=1/72 inch; 8 point |
---|
83 | is a good small point size). So Courier-Bold8 is 8 point Courier Bold, |
---|
84 | Helvetica12 is 12 point Helvetica. |
---|
85 | .sp |
---|
86 | .TP |
---|
87 | .B -o |
---|
88 | specify that the outline of the font should be used. Default is not to use |
---|
89 | outline. |
---|
90 | .TP |
---|
91 | .BI -p out |
---|
92 | causes the \*(PS file to be written to the named file rather than |
---|
93 | being spooled for printing. As a special case, |
---|
94 | .B -p- |
---|
95 | will send the \*(PS language document to the standard output (which is the |
---|
96 | default behavior). |
---|
97 | .TP |
---|
98 | .BI -P printer |
---|
99 | specifies that |
---|
100 | .I psdraft |
---|
101 | should get information about the dimensions of the |
---|
102 | paper from the \*(PS Printer Description file for |
---|
103 | .I printer. |
---|
104 | This information is necessary to do rotation. |
---|
105 | .SH ENVIRONMENT |
---|
106 | .IP PPDDIR |
---|
107 | path for finding \*(PS Printer Description files. |
---|
108 | .IP PSLIBDIR |
---|
109 | path name of a directory to use instead of XPSLIBDIRX |
---|
110 | for then |
---|
111 | .I psdraft |
---|
112 | prologue |
---|
113 | .SH FILES |
---|
114 | .TP 2.2i |
---|
115 | XPSLIBDIRX/psdraft.pro |
---|
116 | prologue for |
---|
117 | .I psdraft |
---|
118 | .br |
---|
119 | .SH "SEE ALSO" |
---|
120 | transcript(1) |
---|
121 | .SH AUTHOR |
---|
122 | Adobe Systems Incorporated |
---|
123 | .SH NOTES |
---|
124 | \*(PS is a trademark of Adobe Systems Incorporated. |
---|
125 | .br |
---|
126 | Times and Helvetica are registered trademarks of Linotype. |
---|