1 | .TH PSFAX 1 "23 June 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/psfax.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 | .ds TS T\s-2RANS\s+2S\s-2CRIPT\s+2 |
---|
7 | .SH NAME |
---|
8 | psfax \- send faxes to PostScript fax printers |
---|
9 | .SH SYNOPSIS |
---|
10 | .B psfax |
---|
11 | [ |
---|
12 | .B -lct |
---|
13 | ] [ |
---|
14 | .BI -k key |
---|
15 | ] [ |
---|
16 | .BI -f dbfile |
---|
17 | ] [ |
---|
18 | .BI -d faxnumber |
---|
19 | ] [ |
---|
20 | .BI -S opt=value |
---|
21 | ] [ |
---|
22 | .BI -n recipientname |
---|
23 | ] [ |
---|
24 | .BI -p out |
---|
25 | ] |
---|
26 | .br |
---|
27 | [ |
---|
28 | .BI -P printer |
---|
29 | ] [ |
---|
30 | .I files |
---|
31 | ] |
---|
32 | .SH DESCRIPTION |
---|
33 | .I psfax |
---|
34 | reads in \*(PS language documents and inserts the appropriate \*(PS |
---|
35 | language to |
---|
36 | allow those |
---|
37 | files to be sent as faxes by a \*(PS fax printer. Details about the fax |
---|
38 | such as recipient, phone number, sender, etc, may be specified on the |
---|
39 | command line or by looking in a phone book. |
---|
40 | .sp |
---|
41 | For example: |
---|
42 | .RS |
---|
43 | psfax -Paleph -dT9,5551234 -n"John Smith" memo.ps |
---|
44 | .RE |
---|
45 | will cause memo.ps to be imaged, converted into fax format, and faxed to |
---|
46 | 555-1234, with John Smith's name on the cover sheet as the recipient. |
---|
47 | .RS |
---|
48 | psfax -Paleph -kjsmith -t picture.ps |
---|
49 | .RE |
---|
50 | will look up the entry for jsmith in the phone book and instruct the |
---|
51 | printer to send picture.ps as a \*(PS language document, rather than |
---|
52 | imaging and sending it |
---|
53 | as a fax, to the \*(PS fax printer aleph. |
---|
54 | .sp |
---|
55 | .I Psfax |
---|
56 | supports an address book mechanism. The format of the file consists |
---|
57 | of a key on a line, followed by a set of lines of the form "option=value". |
---|
58 | The entry for a key is terminated by a single "." on a line. Multiple values |
---|
59 | for the key are allowed, separated by "\||\|". You can specify a key |
---|
60 | "always" |
---|
61 | for information, such as your name, you wish to have included in every fax. |
---|
62 | Comments are indicated by lines beginning with '%'. |
---|
63 | Entries of the form "option:value" indicate that, instead of assigning the |
---|
64 | string "value" to the option, "value" indicates a file name, and the |
---|
65 | contents of the file should be assigned to |
---|
66 | the option. This is most often used for specifying \*(PS language |
---|
67 | procedures for items such as coversheets. |
---|
68 | .sp |
---|
69 | You can also set up an entry that is a list of other entries. Lines that |
---|
70 | begin with "/list=", followed by a list of keys in the database, allow you |
---|
71 | to send the same fax to a list of people. You can specify "option=value" |
---|
72 | or "option:value" |
---|
73 | pairs in the list entry, and those pairs will hold for all |
---|
74 | the faxes and override any matching entry in the individual entry for a |
---|
75 | given key in the list. |
---|
76 | .PP |
---|
77 | A sample address book file looks like this: |
---|
78 | .EX |
---|
79 | .nf |
---|
80 | % Sample address book |
---|
81 | always |
---|
82 | SenderName=Joe Smith |
---|
83 | SenderOrg=High Tech Software, Inc. |
---|
84 | .I . |
---|
85 | Steve Jones\||\|steve\||\|Steve |
---|
86 | RecipientName=Steve Jones |
---|
87 | RecipientOrg=Really Fast Chips |
---|
88 | DialCallee=T95552337 |
---|
89 | CoverSheet:specialcover.ps |
---|
90 | .I . |
---|
91 | Anne Miller\||\|anne |
---|
92 | RecipientName=Anne Miller |
---|
93 | RecipientOrg=Brand New Hardware Co. |
---|
94 | DialCallee = T918005553849 |
---|
95 | .I . |
---|
96 | vendors |
---|
97 | /list=anne, steve |
---|
98 | CoverSheet:ordercover.ps |
---|
99 | .I . |
---|
100 | .EE |
---|
101 | .fi |
---|
102 | .sp |
---|
103 | The environment variable PSFAXDB may be used to specify the location of the |
---|
104 | address book file, or it may be specified from the command line. The |
---|
105 | default location for the file is in $HOME/.faxdb. |
---|
106 | .sp |
---|
107 | The possible options for |
---|
108 | .I psfax |
---|
109 | are: |
---|
110 | .TP |
---|
111 | .BI -k key |
---|
112 | specifies the key to look up in the address book. |
---|
113 | .TP |
---|
114 | .BI -f dbfile |
---|
115 | specifies the location of the address book file. Default is $HOME/.faxdb. |
---|
116 | .TP |
---|
117 | .BI -d faxnum |
---|
118 | specifies the fax number of the recipient. This must be in the form a fax |
---|
119 | modem can handle. This option is useful when sending a fax to someone not |
---|
120 | in your address book, or when sending to someone in your address book but |
---|
121 | at a different fax number. The fax number must be specified somewhere, |
---|
122 | either with this switch or in the database. |
---|
123 | .TP |
---|
124 | .B -t |
---|
125 | if specified, sends the fax as a \*(PS language document, rather than as |
---|
126 | rasterized fax. |
---|
127 | .TP |
---|
128 | .B -c |
---|
129 | don't use the address book. |
---|
130 | .TP |
---|
131 | .BI -n name |
---|
132 | specifies the RecipientName to be |
---|
133 | .I name |
---|
134 | from the command line. |
---|
135 | .TP |
---|
136 | .BI -P printer |
---|
137 | specifies the printer for spooling. |
---|
138 | .TP |
---|
139 | .BI -p outfile |
---|
140 | specifies the file for saving output. |
---|
141 | .TP |
---|
142 | .BI -S option=value |
---|
143 | .TP |
---|
144 | .BI -S option:value |
---|
145 | sets various options to either |
---|
146 | .I value |
---|
147 | (if specified with "="), or the |
---|
148 | contents of the file |
---|
149 | .I value |
---|
150 | (if specified with ":"). The set of options, and their types, that are |
---|
151 | supported are: |
---|
152 | .PP |
---|
153 | .IP DialCallee (string) |
---|
154 | phone number of fax machine to call. |
---|
155 | .IP RecipientName (string) |
---|
156 | .IP RecipientPhone (string) |
---|
157 | non-fax phone. |
---|
158 | .IP RecipientOrg (string) |
---|
159 | .IP RecipientMailStop (string) |
---|
160 | .IP RecipientID (string) |
---|
161 | .IP SenderName (string) |
---|
162 | .IP SenderPhone (string) |
---|
163 | .IP SenderOrg (string) |
---|
164 | .IP SenderMailStop (string) |
---|
165 | .IP SenderID (string) |
---|
166 | .IP CallerID (string) |
---|
167 | identification string as allowed by CCITT protocol. |
---|
168 | .IP CalleePhone (string) |
---|
169 | human-readable version of DialCallee. |
---|
170 | .IP CallerPhone (string) |
---|
171 | human-readable version of calling fax number. |
---|
172 | .IP FaxType (integer) |
---|
173 | 0 for low resolution, 1 for high resolution. |
---|
174 | .IP ErrorCorrect (boolean) |
---|
175 | controls whether error correction in the |
---|
176 | transmission should occur; default is true. |
---|
177 | .IP TrimWhite (boolean) |
---|
178 | controls whether white space at the top and bottom is |
---|
179 | removed before sending; default is false. |
---|
180 | .IP PageCaption (procedure) |
---|
181 | a \*(PS language procedure to generate a line of |
---|
182 | information (such as often appears at the top of faxes) on each page of the |
---|
183 | fax. There is a default procedure to do |
---|
184 | this. |
---|
185 | .IP MaxRetries (integer) |
---|
186 | indicate the number of additional tries beyond the |
---|
187 | first that should be made before giving up. |
---|
188 | .IP RetryInterval (integer) |
---|
189 | number of minutes to wait between retries. |
---|
190 | .IP MailingTime (array of integers) |
---|
191 | for delayed transmission. The array |
---|
192 | contains year, month, day, hour, minute, second. |
---|
193 | .IP CoverSheet (procedure) |
---|
194 | a \*(PS language procedure to generate cover sheets. There |
---|
195 | is a default procedure to do this. |
---|
196 | .IP Confirmation (procedure) |
---|
197 | a \*(PS language procedure to print a confirmation sheet |
---|
198 | locally. There is a default procedure to do this. |
---|
199 | .IP nPages (integer) |
---|
200 | supplies an estimate of the number of pages exclusive of |
---|
201 | automatically generated cover sheets. |
---|
202 | .IP CoverSheetOnly (boolean) |
---|
203 | indicates that a job consisting solely of a |
---|
204 | coversheet is okay. The default is false. |
---|
205 | .IP RevertToRaster (boolean) |
---|
206 | controls what happens if the receiving machine |
---|
207 | refuses to accept a \*(PS language job. The default is true. |
---|
208 | .IP PostScriptPassword (string) |
---|
209 | the password to use in gaining permission to |
---|
210 | transmit the fax as a \*(PS language document. |
---|
211 | .SH ENVIRONMENT |
---|
212 | .IP PSFAXDB |
---|
213 | location of the address book file |
---|
214 | .SH "SEE ALSO" |
---|
215 | transcript(1) |
---|
216 | .SH AUTHOR |
---|
217 | Adobe Systems Incorporated |
---|
218 | .SH NOTES |
---|
219 | \*(PS is a registered trademark of Adobe Systems Incorporated. |
---|