Unbalanced parantheses.  Put another ) behind (char(27) like this (char(27))

Joe
==============================
At 12:58 PM 07/09/2001 -0400, you wrote:

>Hi all,
>
>I have RBW reports to print on pre printed forms on a matrix printer.
>I intend to use PAGEMODE and send escape commands to the printer.
>
>It should works (according to the number of messages exchanged on this list
>server during the past weeks ...), but it don't because ESCAPE char. 1B Hex
>= 27 Dec. is changed to point (.) 2E Hex = 46 Dec.
>
>So, my commands don't execute and are printed as plain char.
>
>Here is the code :
>
>CLS
>SET var vgras TEXT = ((CHAR(27) + '(s3B') + 'ACBDefgh')
>SET var vnormal TEXT = ((CHAR(27) + '(s0B') + 'ABCDefgh')
>-- out ESCOUT
>out printer
>WRITE .vgras
>WRITE .vnormal
>out screen
>
>If OUTPUT to a file (ESCOUT), I did check that (CHAR(27)) gives a correct
>Escape.
>
>But ... If OUTPUT printer (default windows printer = Generic Text set to
>print Hexa mode), what arrive into the printer is a point (.)
>
>Same problem with :
>
>OUT PRINTER
>TYPE Escout
>
>The idea that comes to my mind is that something was wrong in my RBASE.CFG
>files ... But everything looks OK.
>
>I know that some of you have succeed in sending escape commands to printers
>... What is the secret ?
>
>Any idea ?
>
>TIA,
>
>J.M. GRATIAS, Logimatique, France


Reply via email to