The fax command sends text files, which are converted to Postscipt using a local program (perhaps enscript).
The faxps command send a raw Postscipt file, which is converted to Group 3 fax format using the Ghostscript program.
If no filename is specified, fax and faxps reads the text of your document from the standard input. The fax command will accept more than one file name. The faxps command takes at most a single Postscript file.
The phone number is given as a Hayes modem style dial string. Valid dial characters are:
0-9 Numeric Digits * # A-D Auxiliary Digits T Tone Dialing P Pulse Dialing , Pause for (S8) seconds, default is 2 seconds / Pause 1/8 second in dialing sequence W Wait for second Dial ToneIn addition, prefixing the phone number with '@' will suppress the number from appearing in the faxq. This can help protect account and credit card numbers.
To fax the text file foo.text to 2 recipients, with the phone numbers 212-555-1212 and 314-555-1212, and receive email notification when both faxes have been sent, issue the command:
prompt> fax -p 2125551212 -p 3145551212 -m foo.text
To fax the Postscript file foo.ps to 123-4567, with a coversheet which has "To: Foo", "From: Bar", "Fax reply: 777-7777" issue the command:
prompt> faxps -p 1234567 -c -r "Foo" -s "Bar" -S "777-7777" foo.ps
To send the standard input text to 123-4567 issue the command:
prompt> fax -p 123-4567