Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...The forum looks great! You guys have done a fantastic job on arranging things there...Your site is very precise and fun to visit..."

Geography

Where in the world do Tek-Tips members come from?

PCL and swedish lettersHelpful Member! 

SMURF75 (Programmer)
3 Jun 05 2:01
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!

Helpful Member!  DansDadUK (Programmer)
3 Jun 05 4:20
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
SMURF75 (Programmer)
3 Jun 05 6:40
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!

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!

Back To Forum

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