Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug -> ???
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01133402
Message ID:
01133863
Views:
11
Thanks David!

I will save this solution in my favorites... You will see it in my column, next UTMag issue.

Thanks a lot!

Rodolfo

>Rodolfo,
>
>It is not a bug.
>
>{ is an escape character to the ??? command. So to send a { to the printer you have to use the escape sequence:
>
>
>??? Chr(27)+"{{}"+Chr(65)
>
>* send a tab by name to the printer:
>??? "{tab}see the tab character ahead of the text."
>
>
>>Hi,
>>
>>I have to send an instruction to the printer and I always got "Syntax Error". It looks strange, maybe a BUG. Take a look:
>>
>>
>>   ??? Chr(27)+"{"+Chr(65)
>>
>>
>>The problem is "{".
>>
>>
>>   ??? Chr(27)+Chr(65) && Works fine!
>>   ??? Chr(27)+"0" && Works fine!
>>   ??? "Etc..."  && Works fine!
>>
>>
>>This instruction Chr(27)+"{"+Chr(65) is to tell OKIDATA printer emulates Epson Commands.
>>
>>Any idea?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Previous
Reply
Map
View

Click here to load this message in the networking platform