1753479 Members
5260 Online
108794 Solutions
New Discussion юеВ

character ascii 127

 
CHEVOLEAU_1
Occasional Contributor

character ascii 127

Hello,

I try to print the character ascii 127 (DEL)
but the results are :
- blank character
or
- the previous character has been deleted

How i can print this character ?

Thanks for your help.
3 REPLIES 3
Jamie Hughes
Honored Contributor

Re: character ascii 127

Hello,

What language are you programming in and for what OS?

If you're using BASIC, the ASCII value 127 cannot be printed (see Microsoft article Q35651).

Another article that might help you is Q75857. Both of those articles can be found in the Microsoft or HP technical knowledge base.

Best regards,
Jamie Hughes
John_Hancock
Trusted Contributor

Re: character ascii 127

The DEL character (as are the first 32 characters) is a terminal control character and as such is a non-printing character. The behaviour of this character depends on the "terminal". In other words it may display or otherwise depending on wether it is a word processor (and which variety) dos box, terminal or telnet session, gui display (depending on the dll) printer (which variety - different printers have different results).

The critical question is why do you want it to print?
John Hancock
CHEVOLEAU_1
Occasional Contributor

Re: character ascii 127

Hello again,

My OS is unix. I print bar codes under a printer Lexmark with the language PCL. So that my bar codes is readable, it is necessary that I calculate and print a control's key. It worked very well until day my control's key corresponded to the character ascii 127.

Thanks for your help.