source: trunk/third/transcript/man/psfax.1p @ 9217

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