special symbol

Jay R. Ashworth jra at baylink.com
Sun May 30 09:30:39 PDT 2004


On Sun, May 30, 2004 at 10:33:02AM -0500, Richard D. Williams wrote:
> The symbol is a "section sign".  In HTML it is produced by § or §.

A*ha*.

(It's something we detectives say...)

> Iit is agreed chr("167") is correct.

Alas, no, it's not; this is the fundamental problem in this
conversation.

>                                       I am trying to print this symbol 
> on a Kyocera printer using HP4 emulation.

So, what you need to know is: what character do I send to that printer,
in that emulation, in the font I'm printing in, with the default
character set mapping for that font and emulation, to get that glyph on
paper.

*Not one part* of that last sentence is optional.

> When I look at the filepro Character Table the underscored o is,     Dec 
> =167  Hex=  A7. 
> If I set h=chr("167") and then print var h on a form, I get the 
> underscored o.
> If 167 is indeed the correct decimal code for the section sign, why do I 
> get this underscored o?

Because you didn't understand what we said about character set
mappings.  All of us said it, in different ways, and IIRC, all of us
were accurate.

> Is there something here I am missing?

Yes.  ;-)

> I don't think mapchan comes into play when printing.

On this point, you're correct.

>                                                            I would like to 
> create a print code to produce this symbol.

See above.  Specifically, you need to print out 'man ascii' on that
printer, and see whether you get the character you want, and which one
it is.

> FYI, Red Hat 8.0, FP 5.0.10 ( I know I need to update the fp)

You need to update the Linux, too; RH8's an orphan.  Though, these
days, so is 9.  I'd recommend either SuSE9.0 or Mandrake 10, though the
latter is newer.

I have an as yet unanswered (in this forum) question as to what the
next target Linux distro for fpTech is going to be...

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 647 1274

        "They had engineers in my day, too."  -- Perry Vance Nelson


More information about the Filepro-list mailing list