| Olivier PAGE on Mon, 19 Mar 2001 12:00:44 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: apsfilter/acroread4 problem/fix ? only for freebsd ? |
> Maybe the acroread4 in your PATH is a script which does some work before
> actually calling the executable -- it's important that all command line
> parameters are preserved correctly.
acroread4 is a script but:
remoudou# acroread4 -toPostScript -level2 -fast -size a4 -pairs zzz.pdf
xxxxxxxxx -toPostScript -level2 -fast -size a4 -pairs zzz.pdf
xxxxxxxxxxx
(the line between xxxxxxx is the result of
echo xxxxxxxxx ${1+"$@"} xxxxxxxxxxx
exec "$ACRO_EXEC_CMD" ${1+"$@"}
)
output is :
acroread4: usage is -toPostScript -pairs in1.pdf
out2.ps
so it takes args but ask for the out2.ps file ( the missing /dev/stdout
)
another test:
sh -x /usr/local/bin/acroread4 -toPostScript -level2 -fast -size a4
-pairs zzz.pdf /dev/stdout
...
+ ACRO_EXEC_CMD=/usr/local/Acrobat4/Reader/intellinux/bin/acroread
+ [ -toPostScript = -DEBUG ]
+ [ -f /usr/local/Acrobat4/Reader/intellinux/bin/acroread ]
+ exec /usr/local/Acrobat4/Reader/intellinux/bin/acroread -toPostScript
-level2 -fast -size a4 -pairs zzz.pdf
/dev/stdout
So .... don't know ....
Olivier
--
Olivier PAGE Rebooteux Systeme (D) /
Enseignant
Ecole Sup. de Meca. Marseille http://esm2.imt-mrs.fr
Tel/Fax : (33) 4.91.05.44.26/45.98 email :
Olivier.Page@esm2.imt-mrs.fr
Addr:ESM2 Technopole Chateau Gombert 13451 Marseille Cedex 13