Page 1 of 1

Insert Null Characters

Posted: Thu Aug 01, 2002 1:11 pm
by Peter Conrey
I am trying to create a printer codes file (to send commands to a printer before printing). Some of the commands require a null character. Is there any way to insert a null character into a textpad file?

Re: Insert Null Characters

Posted: Sun Oct 12, 2003 12:19 pm
by sam tal
I am having the same request.
Peter recieved no reply.
Can anyone answer? Can TextPad personnel reply?

In the control charcaters set, the Null (00H) is missing.


Peter Conrey wrote:I am trying to create a printer codes file (to send commands to a printer before printing). Some of the commands require a null character. Is there any way to insert a null character into a textpad file?

Posted: Sun Oct 12, 2003 4:15 pm
by talleyrand
I could be wrong, but I believe it is not possible to insert the null character 0x00 into a TP document.

Posted: Sun Oct 12, 2003 4:27 pm
by Bob Hansen
Can it be copied to clipboard from another source (a database string, hex viewer, etc?) and pasted into TP document?

If yes, then maybe it can be added to a clip library for future use? Might need a leader/trailer to provide temporaryvisibility.

Posted: Sun Oct 12, 2003 7:03 pm
by MudGuard
I don't think it works with textpad.

When you open a file with null bytes in it, you get a message that they will get stripped if you continue...

Posted: Mon Oct 13, 2003 5:17 am
by sam tal
Here I reply my own question:

I found out that null can be copied using the clipboard from another application.
(I used the free download Hex Editor from HHD Software, http://www.hhdsoftware.com)

It is quite strange that Helios could not add this simple (probably forgotten) character into the list of control characters, despite the numerous requests.