filePro and symbols

George flowersoft at compuserve.com
Sat Jun 14 19:25:38 PDT 2008


Thanks, Jim.
However, as I explained to Bob, I need to be able to let the user place
these characters wherever they choose on the field.
I added new print codes to the table as you suggested and the smileys and
hearts print fine but I need to be able to either show them on the screen or
replace a pre-defined group of characters such as :-) with the smiley when
the form is printed.
I don't think there is a way to insert a print code into a field, is there?
When I try to use the chr("1,2 or 3")I get the filePro box function
characters.

-----Original Message-----
From: filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com
[mailto:filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com]
On Behalf Of Jim Asman
Sent: Friday, June 13, 2008 11:45 AM
To: filepro-list at lists.celestial.com
Subject: Re: filePro and symbols

 
--------------- Original Message ---------------
At 01:40A Fri Jun 13 2008, George Simon wrote:

> Is there any way of printing smiley faces, hearts and other symbols from
> filePro?
> 

Typically, you need to change symbol sets, print your character,
and then return back to, presumably, PC-8(10U) symbols. If your output
format is very structured, maybe you can put the whole thing into
a printcode on the format.

Look in the HP "PCL 5 Comparison Guide" for a listing of the character
mappings for each of the supported symbol sets on the HP printers.
Wingdings(579L) and Symbol(19M) offer a lot.

If the heart and smiley face are the most important, those are available
in the PC-8 set, among others, in chr(1)-chr(26).

There is a problem with filepro if you need to use the box drawing
characters. Internally, filepro stores the box characters as chr(0)-chr(10)
depending on the character, and then when printing it consults the
printcode table for the character mapping for that specific printer.

If you look in your printcode table, beginning at code 44 on all the 
HP tables I wrote, you find the pointers to the PC-8 box characters.
So what you can do is to create a new "not box capable" table and
have these pointers point back to themselves. ...

44 $0a
45 $00
46 $01
47 $02
48 $03
49 $04
50 $05
51 $06
52 $07
53 $08
54 $09

If you change the graphic codes to what is shown above you 
should get the appropriate symbol.


Jim 
--
jlasman at telus.net                      Spectra Colour Services Ltd.
Jim Asman                              10221 144a Street            
Phone: (604)584-0977                   Surrey, BC  V3R 3P7   CANADA

 Cell: (604)619-0977                   www.spectracolorservices.com

_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list