• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about printers, Click here to check it out!
HP Recommended
HP LaserJet P2050 Series PCL6

Our legacy system is printing document using PCL Commands, previously, the document only contanins text and barcode (thru the help of BARDimm), but we now need to print the Registered Mark along with the company name..., what font should i use that has this symbol? Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Assuming your legacy system is using PCL5. you first need to issue a symbol set code that has a mapping to the registered symbol.  The  Windows Latin 5 symbol Set has the R symbol mapped to chr(174) or (0xAE) stated in

Hex. First issue the code for the symbol set...

 

<esc>(5T

 

and then the character itself

 

0xAE

 

Now that character cannot be entered directly on the keyboard, so you will have to find some way  to embed the character into your print stream.

 

Before the character itself is printed, you will have to pick a font. Most, if not all, of the printer fonts probably support this symbol set. For testing I used the arial font and it printed just fine. The code for 12pt arial would be...

 

<esc>(s1p12v0s0b16602T

 

Specify the font, symbol set and finally the character. When you have printed the character you will want to revert back to the font in use and the previous symbol set OR you could print the symbol as a secondary font. If you don't know how to do this, ask away.

 

I have now idea how you would do this with PCL6. @dansdaduk can give you the good (or bad) news on that.

 

 

View solution in original post

3 REPLIES 3
HP Recommended

Assuming your legacy system is using PCL5. you first need to issue a symbol set code that has a mapping to the registered symbol.  The  Windows Latin 5 symbol Set has the R symbol mapped to chr(174) or (0xAE) stated in

Hex. First issue the code for the symbol set...

 

<esc>(5T

 

and then the character itself

 

0xAE

 

Now that character cannot be entered directly on the keyboard, so you will have to find some way  to embed the character into your print stream.

 

Before the character itself is printed, you will have to pick a font. Most, if not all, of the printer fonts probably support this symbol set. For testing I used the arial font and it printed just fine. The code for 12pt arial would be...

 

<esc>(s1p12v0s0b16602T

 

Specify the font, symbol set and finally the character. When you have printed the character you will want to revert back to the font in use and the previous symbol set OR you could print the symbol as a secondary font. If you don't know how to do this, ask away.

 

I have now idea how you would do this with PCL6. @dansdaduk can give you the good (or bad) news on that.

 

 

HP Recommended

The ® 'Registration Mark' character is assigned at Unicode code-point U+00AE.

 

As @Jim_Asman points out, this is mapped to (hexadecimal) code-point AE (decimal 174) in the single-byte symbol set 5T 'Window Latin-5 (CP1254)'.

 

It is also mapped to the same single-byte code-point in other common symbol sets, such as 0N 'ISO-8859-1 Latin-1' and 19U 'Windows Latin 1 (CP1252)'.

 

As far as PCL 6 (PCL XL) is concerned, the process is similar (select an appropriate symbol set supported by the chosen typeface font, and write data using the relevant code-point value), but (since PCL XL is a highly-structure language) you can't just 'inject' ad-hoc 'sequences' into the print stream - you have to have much more control over the generated 'commands'.

HP Recommended

Got it! Thank you very much! 🙂

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.