Hello from Spain.
I try sometimes to create PDF files with complete set of spanish characters. Im using HMG 3.44 32 bits.
SET CODEPAGE TO SPANISH
SET HPDFDOC ENCODING TO "CP1252"
START HPDFDOC
START HPDFPAGE
@ 200,100 HPDFPRINT HB_OEMTOANSI( aTexto[1] ) FONT "Courier New" SIZE 14 CENTER
@ 205,100 HPDFPRINT HB_OEMTOANSI( aTexto[2] ) FONT "Times-Roman" SIZE 14 CENTER
@ 210,100 HPDFPRINT HB_OEMTOANSI( aTexto[3] ) FONT "Times-Roman" SIZE 14 CENTER
@ 215,100 HPDFPRINT HB_OEMTOANSI( aTexto[4] ) FONT "Times-Roman" SIZE 14 CENTER
@ 220,100 HPDFPRINT HB_OEMTOANSI( aTexto[5] ) FONT "Times-Roman" SIZE 14 CENTER
@ 260,20 HPDFPRINT HB_OEMTOANSI(aTexto[6] ) FONT "Times-Roman" SIZE 10
@ 265,25 HPDFPRINT HB_OEMTOANSI( aTexto[7]) FONT "Times-Roman" SIZE 10
@ 275,90 HPDFPRINT HB_OEMTOANSI(aTexto[8]) FONT "Courier New" SIZE 10 BOLD
@ 280,90 HPDFPRINT HB_OEMTOANSI(aTexto[9]) FONT "Courier New" SIZE 10 BOLD
@ 285,90 HPDFPRINT HB_OEMTOANSI(aTexto[10]) FONT "Courier New" SIZE 10 BOLD
*------------------------------------------------------------------------------------*
END HPDFPAGE
END HPDFDOC
*----
I would apreciate some help to create PDF spanish compliant.
Thanks.
Printing spanish ñ and ó á é í ó dont work in HARU HMGPRINT
Moderator: Rathinagiri
- mustafa
- Posts: 1162
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: Printing spanish ñ and ó á é í ó dont work in HARU HMGPRINT
Hola amigo juanato
Procura colocar en el prg
#include "hmg.ch"
Function Main()
SET CODEPAGE TO UNICODE
etc... etc..
y salvas el Prg como Guardar como... UTF-8
Haber si funciona
Saludos
Mustafa
Procura colocar en el prg
#include "hmg.ch"
Function Main()
SET CODEPAGE TO UNICODE
etc... etc..
y salvas el Prg como Guardar como... UTF-8
Haber si funciona
Saludos
Mustafa