<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Well, I have tried several combinations to produce this symbol, here is
the latest;<br>
$1b ( 0 N #167<br>
<br>
I really need to print this symbol. My printer will print the symbol
if I use it in a word document or e-mail.<br>
I am remote to the Linux server, so I cannot test directly on a system
printer. But, that should be an issue as most of our printing is
remote.<br>
<br>
I am not well versed on creating print codes, so perhaps someon e could
point out what I am missing in the above attempt.<br>
<br>
Thanks,<br>
<br>
Richard D. Williams<br>
<br>
Brian K. White wrote:<br>
<blockquote type="cite" cite="mid01ce01c2b1e8$98585510$a800000a@venti">
<pre wrap="">Richard D. Williams wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Perhaps I should be more clear. I need this to print on a form.
After trying: h=chr("167"), this yielded: º
Any other ideas would be appreciated.
Richard D. Williams
Bob Stockler wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Sat, May 29, 2004 at 01:38:15PM -0500, Richard D. Williams wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Does anyone know the code to produce this symbol, §?
</pre>
</blockquote>
<pre wrap="">On an SCO ScoTerm Window it's chr("167").
[trebor] ~: mawk 'BEGIN{ i=167 ; printf "%3d - %c\n",i,i}'
167 - §
Bob
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
In that case, just issue a printer code to switch to a latin font just for
that character.
For hplaser try adding this code to your print code table, say you make it
code 130:
130 : $1b (0N : Latin-1 character set
Similar to the ones 24, 25, & 26 that are already there.
Then in your output format put a print code 130 somewhere before the data
that might contain the symbol, and a code 24 after it if you need to switch
back to IBM for the line/box drawing characters.
The symbol may exist in one of the already existing alternate character sets
in code 25 or 26 but I don't know off hand it does or what ascii value it
might be. I just happen to have a chart for latin-1 so in latin-1 I know
which character it is, and I just happen to know the pcl code to request
latin-1 character set.
A quick way to test if this will work as expected on your printer to see if
your printer actually has the necessary built-in font to honor the request
is like I did with an echo comand at a unix prompt:
echo "\033(0N\0247\014\c" |lp -o raw -d hplaser
\0247 is the octal equivalent of decimal 167
Brian K. White -- <a class="moz-txt-link-abbreviated" href="mailto:brian@aljex.com">brian@aljex.com</a> -- <a class="moz-txt-link-freetext" href="http://www.aljex.com/bkw/">http://www.aljex.com/bkw/</a>
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
</body>
</html>