Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Send escape sequence to RF terminal from SAPConsole

Sofidel
Explorer
0 Kudos

I all, i'm developing same SAPConsole dynpros. I need to send an escape sequence from a dynpro to the RF terminal.

How can i do that?

Thanks

Roberto

4 REPLIES 4

Former Member
0 Kudos

Roberto,

Can you explain a bit more? Why exactly do you want to send escape sequence?

Rgds

Bhavani

0 Kudos

Hi Bhavani,

i need to send an escape sequence for disabling the laser of the reader. Sending escape sequences i can set this and other reader attributes, like background and foreground colors.

Regards

Roberto

Sofidel
Explorer
0 Kudos

Ehi guys, anyone can help me?

I'm developing same SAPConsole dynpros. I need to send an escape sequence from a dynpro to the RF terminal.

Regards

Roberto

Former Member
0 Kudos

Hello,

I have the same problem.

I would like to send the ESC sequence ESC * 0, ESC } and ESC +< from first screen RF in SAP to RF terminal in order to switch it in greek font.

On first screen, I created 3 I/O fields V_TXT1, V_TXT2 and V_TXT3 attached to global variable define in main program and filled with hexa 1B 2A 30, 1B 7D and 1B 2B 3C.

The code to fill fields is

DATA : l_chr TYPE char1,

l_str TYPE char4,

l_hex TYPE x VALUE '1B',

v_chr1 TYPE char4,

v_chr2 TYPE char3,

v_chr3 TYPE char4.

FIELD-SYMBOLS : <f2> TYPE ANY.

ASSIGN l_hex TO <f2> CASTING TYPE c.

l_chr = <f2>.

CLEAR l_str.

CONCATENATE '[' l_chr '*0' INTO l_str.

WRITE : l_str TO v_chr1.

...

The I/O fields on screen are with options output only, fixed font and as label on left

But, by TCP packet analyse, SAPConsole send 23 (#) instead 1B (Esc char), it transform in text the escape code 1B, displayed by # on screen...

Nobody have an idea to send the rigth hexa sequence ?