×
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

PCL and swedish letters

PCL and swedish letters

PCL and swedish letters

(OP)
Hi!

Im kinda stuck, and happy i found this pcl forum. My problem is the swedish letters. I have bytes encoded to utf8 and sends them to a pcl printer. It all works fine except when it comes to the swedish characters 'åäö'. I think i have figureds out that the pcl printer accepts the bytes as cp347 standard, and I've tried to change the font to swedish on the printer by sending Ec(0S and/or Ec(3S before the actual byte stream but it just doesnt work... where am i going wrong?

- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!

RE: PCL and swedish letters

Using utf8 implies that common Western European characters are encoded in 8 bits, using row 0 of the Basic Multilingual Plane; this is equivalent to ISO 8859/1, although you could use the Windows ANSI 'superset' of this, which provides certain characters within the 'undefined control codes' range (0x80-0x9f) of ISO 8859/1.

In terms of HP symbol sets:

0N (digit 0 letter N) = ISO 8859/1
19U = Windows ANSI

Within ISO8859/1, the characters you mention are encoded as follows:

0xe5 lower-case a ring
0xe4 lower-case a diaeresis
0xf6 lower-case o diaeresis

RE: PCL and swedish letters

(OP)
Problem solved. Right thing to do was to send the 19U, and although I happend to stumple upon it before your replay you still deserve a star.. thx

- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!

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