>I am trying to send data directly out to a variety of different printers such as POS receipt printers, label printers, etc using Raw printing through the VFP ??? command. Recently a customer discovered that if any of the text being sent out includes the opening curly brace { then I get a syntax error. Try this command:
>??? "{"
>
>It doesn't work. Any way to work around this?
>
>Thanks!
From:
http://fox.wikis.com/wc.dll?Wiki~??? :
Therefore, if you want to send CHR(123) to your printer, then you have to wrap it in another "{" and "}" pair. The easiest way is to do as follows:
cToPrint = " { ControlCode Some Text" + CHR(15) + "more Text { more ControlCodes"
??? STRTRAN(cToPrint, "{", "{{}")
Frank Camp