After some new try, it functions OK.-
First i uninstall HMG 3.14 and re-reinstall it.-
Then i use ANSI IDE, and recompile my program, and suddenly all spanish characters appears.
I use SET HPDFDOC ENCODING TO "CP1252" before START HPDFDOC, and it works.-
I try also on HMGPDFDOC (look on ... HFCL\SAMPLES\... and this was the result.-
I hope everybody may use for the future HMGPDFDOC as print output.-
With regards. Eduardo

Of course, Harupdf works perfectly with ANSI code.-
As i tell you, i test full HMGPDFDOC, because i choose it to produce print output instead of other procedures.- HMGPDFDOC let's free design or compose complex forms, and as any PDF you can avoid end users modify the document.-
I produce legal text that end users can't modify if they want, and in some cases you can avoid printing that document (an special feature of HARUPDF library).-
Rati make an excellent job.- This is one of the reasons i name him has "The Master".-
Another member of the forum, Brunello Pullix, make a complex routine to produce for output print, RTF files, but as it's a document end users can modify, i suggest you HMGPDFDOC.-
With regards. Eduardo.-