Article ID: 97697 - Last Review: October 13, 2003 - Revision: 2.0 Generic/Text Only: Can't Use Null Character in Escape Sequence
This article was previously published under Q97697 SYMPTOMS
When you enter printer commands in the Modify dialog box for the
Generic/Text Only printer driver (TTY.DRV), the null character (ASCII
0), entered by pressing CTRL+SHIFT+@ (At sign), is incorrectly sent to
the printer as ASCII character 255. However, when the null character
is entered in the Character dialog box to substitute it for another
character, it is sent correctly.
CAUSE
The null character is required by many printers in their escape
sequence commands. The null character cannot be entered in a document
in most Windows-based applications.
WORKAROUND
As a workaround, substitute the null character for an unused character in
the Characters dialog box and use that character in an embedded escape
sequence in the application.
For example, to send "ESC X (0)" (in ASCII, 27 120 0) from Microsoft Windows Write and replace character 255, do the following:
| Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top