| Hylafax Mailing List Archives | 
* Andreas G?nther <andreas.guenther@xxxxxxxxxxxxx> [040730 03:43]:
> Hello Lee,
> 
> if I run the same order manual as root
> 
> ps2fax -o docq/doc22.ps;30 -r 98 -w 1728 -l 280 -m 30 -1 docq/doc22.ps.22
> 
> it seems the process hung up. If I abort it (ctrl+C) there comes the answer:
> "bash: 30: command not found"
The ";30" is correct, and part of the file name.  But your shell process
is taking it to mean a new command.  you should be able to get around it
by doing something like:
   ... -o doc/doc22.ps\;30 ...
   ... -o 'doc/doc22.ps;30' ...
Hylafax does want the ;30 in the file name.
> And if I run it manual like 
> 
> ps2fax -o docq/doc22.ps -r 98 -w 1728 -l 280 -m 30 -1 docq/doc22.ps.22
> 
> the new file will produced correctly.
That is good.
> But before I run it manual, I have to make the directory "etc" 
> in /var/spool/fax/bin and I have to copy setup.cache inside it. And in ps2fax 
> I change in line 59
> ". /etc/setup.cache" to ". etc/setup.cache"
> 
> Otherwise I get an error like:
> "./ps2fax: line 59: /etc/setup.cache: Datei oder Verzeichnis nicht gefunden"
> 
> or 
> "FATAL ERROR: /var/spool/fax/bin/etc/setup.cache is missing!
Well - this is defienatly not HylaFAX as distributed by HylaFAX.org!  I
think you'll have to ask SuSE what is wrong with this, or somehow figure
out whay they are doing differently.
In a normally configured HylaFAX, there should be:
/var/spool/hylafax/bin/ps2fax
/var/spool/hylafax/etc/setup.cache
You should be able to go to /var/spool/hylafax and run the command
	/bin/sh -c "bin/ps2fax -o 'docq/doc22.ps;30' -r 98 -w 1728 -l 280 -m 30 -1 docq/doc22.ps.22"
This is the exact command the normal HylaFAX would run.
      
a.
-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 438-4638 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/
Attachment:
pgp00011.pgp
Description: PGP signature
|  | 
 |