×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

what is the command to print a character!

what is the command to print a character!

what is the command to print a character!

(OP)
I need to make a 5 point star for a document in PCL but the wingding character doesnt have a key on the keyboard so I need to use a decimal code to print it, its Hex code is AB and its deci code is 171. I tried using ESC*c171E but it didnt seem to do anything. What do I need to do to get it to print out on the document.

Thanks

RE: what is the command to print a character!

This is not a PCL issue as such, as you simply send the
desired character to the printer to get it to print.
It is the responsibility of you application to deliver the
correct character to the printer.

Your "application" in this case is probably just a text
editor. Many editors provide a mechanism to insert 8 bit
characters into the text. Check the help file. Maybe something like Alt-171 will do it.
Whatever mechanism
you use to enter the <esc> character is probably will
do it for you. <esc> is char 27 and now you want char 171.

You will have to make sure that you have the proper symbol
set selected for this to work.

Jim Asman

RE: what is the command to print a character!

(OP)
Yes thanks you were correct. I use Octal numbers in my program to access the escape sequence <033>, just had to convert the decimal value of 171 into octal which is 253 and it worked! Never thought of that, but its so simple I should of known...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close