What if your program just uses the type command with out the &¯o substitution?
type reservation.txt auto wrap to printer
>Hi everybody,
>
>This simple code give problems because after printing the good file this function print a lot of garbage
>
>TMP="type reservation.txt auto wrap to printer"
>set headings off && ne pas imprimer de headers
>&TMP
>
>
>Have somebody and idea to solve this problem. I run VFP6.0 with the last Service Pack.