Previous Thread
Next Thread
Print Thread
Using PCL to print a Unicode Bullet character #1590 24 Feb 16 07:55 PM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
Does anyone know the proper PCL5 command sequence for printing a Unicode character, such as U+2022 (a bullet character)?

My latest attempt uses:

ESC + "(18N" + ! Unicode Symbol Set
ESC + "(s1p15v0s0b16901T" + ! Times New Roman font
ESC + "&t83P" + ! Text Parsing Method: UTF-8
"&hE280A2"+ ! hex'E280A2' = U+2022
ESC + "&t0P" ! Text Parsing Method: Single characters

- Am I specifying the right symbol set?
- Does it matter which font I use? If so, which font supports Unicode bullets?
- Can the text parsing method be turned on and off in the middle of a document? Or must it be set once at the beginning of the doc?

I would appreciate any help. Thank you.

Re: Using PCL to print a Unicode Bullet character #1591 24 Feb 16 08:53 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
I was going to suggest that you see what a typical Windows PCL driver does by creating a printer using a PCL driver connected to the FILE: device, then print a GDI file containing a bullet, e.g.

Code
//SETOPTION,EMBEDDED-ENTITY-REFERENCES
bullet: •
That does print a bullet character (both in the APEX preview and on paper), but when I tried outputting it to the FILE: device, I ended up with a file 24 blocks long, and I couldn't find the bullet in it.

Re: Using PCL to print a Unicode Bullet character #1592 25 Feb 16 09:47 AM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
Thanks for trying. I'm going to fall back on plan B, using a PCL macro created from a Word doc and filling in the blanks.

Re: Using PCL to print a Unicode Bullet character #1593 25 Feb 16 10:38 AM
Joined: Jun 2001
Posts: 410
V
Valli Information Systems Offline
Member
Offline
Member
V
Joined: Jun 2001
Posts: 410
i've found that using the windows 3.1 symbol set "(19U" then followed by ascii extended character, decimal 149 for bullet i believe, to work

Re: Using PCL to print a Unicode Bullet character #1594 25 Feb 16 11:07 AM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
Thank you, whatever your name is from Valli Information Systems. Your solution is far simpler than mine and yours works perfectly!!!


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3