Insert Null Characters

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Peter Conrey

Insert Null Characters

Post 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?
sam tal
Posts: 2
Joined: Sun Oct 12, 2003 12:13 pm

Re: Insert Null Characters

Post 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?
Sam Tal
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

I could be wrong, but I believe it is not possible to insert the null character 0x00 into a TP document.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post 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.
Last edited by Bob Hansen on Mon Oct 13, 2003 1:23 pm, edited 1 time in total.
Hope this was helpful.............good luck,
Bob
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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...
sam tal
Posts: 2
Joined: Sun Oct 12, 2003 12:13 pm

Post 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.
Sam Tal
Post Reply