anzio Printing overlays

Kenneth Brody kenbrody at spamcop.net
Thu Feb 26 06:48:30 PST 2009


Bob Rasmussen wrote:
> The question at hand: how to send commands to Anzio from filePro. The 
> messy problem: backslashes. Here are some notes:
[...]

> 2) The behavior of "echo" and "printf" will vary based on the OS and the 
> shell, and possibly dependent on configuration settings. We are now 
> recommending a different approach to sending commands, which appears to be 
> universal:
>    /usr/bin/printf "\034%s\035" 'your command here'
[...]

> 6) I don't know filePro's syntax for issuing all of this. Can somebody 
> help?

The best way to do this in filePro would be to use the SHOW RAW command,
as in:

     SHOW RAW chr("28") & "your command here" & chr("29")

That way, you eliminate the shell and external programs entirely, and
don't have to worry about quotes and backslashes.  (And eliminate the
ever-present question "to get a backslash to echo, do I need to pass
2, 4, or 8 to SYSTEM?")

-- 
kjb (no .sig yet in Thunderbird)


More information about the Filepro-list mailing list