special symbol

Richard D. Williams richard at appgrp.net
Tue Jun 1 07:20:52 PDT 2004


Well, I have tried several combinations to produce this symbol, here is 
the latest;
$1b ( 0 N #167

I really need to print this symbol.  My printer will print the symbol if 
I use it in a word document or e-mail.
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.

I am not well versed on creating print codes, so perhaps someon e could 
point out what I am missing in the above attempt.

Thanks,

Richard D. Williams

Brian K. White wrote:

>Richard D. Williams wrote:
>  
>
>>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:
>>
>>    
>>
>>>On Sat, May 29, 2004 at 01:38:15PM -0500, Richard D. Williams wrote:
>>>      
>>>
>>>>Does anyone know the code to produce this symbol,  §?
>>>>        
>>>>
>>>On an SCO ScoTerm Window it's chr("167").
>>>
>>> [trebor] ~: mawk 'BEGIN{ i=167 ; printf "%3d - %c\n",i,i}'
>>> 167 - §
>>>
>>>Bob
>>>      
>>>
>
>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  --  brian at aljex.com  --  http://www.aljex.com/bkw/
>+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
>filePro BBx  Linux SCO  Prosper/FACTS AutoCAD  #callahans Satriani
>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20040601/ef63e0f3/attachment.html


More information about the Filepro-list mailing list