Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!olivea!uunet!rosie!aozer From: aozer@next.com (Ali Ozer) Newsgroups: comp.sys.next Subject: Re: Fax machines for the NeXT Message-ID: <1002@rosie.NeXT.COM> Date: 20 Jun 91 06:00:48 GMT References: <535@heaven.woodside.ca.us> <536@heaven.woodside.ca.us> Sender: news@NeXT.COM Distribution: na Organization: Next Computer, Inc. Lines: 23 Nntp-Posting-Host: twinpeaks.next.com In article <536@heaven.woodside.ca.us> Glenn Reid writes: >Glenn Reid writes: >>Michael D. Callaghan writes >>> What I would like to know is this: Is there a way to FAX a document from >>> the Command Line? >> Sure, if it's a PostScript file. You can use "lpr" to ship it to the >> "printer", something like "lpr -Pfax_machine file.ps" >I think I spoke too soon. I don't think this works. Sorry about that. It doesn't; but to make it work all you need is the following in the header: %%NXFaxNumber: 415 555-1234 %%NXFaxTo: Building 67 %%NXFaxNotify: NO %%NXFaxHires: YES Someone can probably write some script to insert these lines (with the appropriate values inserted) into a regular .ps file before shipping it off to lpr as Glenn suggests. However, I should note that this is not a documented feature and can very well go away or be changed in a future release. Ali, Ali_Ozer@NeXT.com