Sorry for the delay. Problems with PC.
MEGA
Great

! Thanks so much for BOLD and ITALIC! I test tomorrow. For UNDERLINE we think together a solution.
Code: Select all
#include "hfcl.ch"
// #Include "hmg_hpdf.ch" (Not need any more at your PRGS)
I've always used hmg_hpdf so I've programs with many lines with SELECT PRINTER, PRINTDOC, PRINT, PRINTPAGE.
It's possible to change hfcl_hmg_hpdf.ch or create new #command to recreate those controls?
example
Code: Select all
#xcommand SELECT PRINTER <cPDFFile> ;
[ <lOrientation : ORIENTATION> <nOrientation> ] ;
[ <lPaperSize : PAPERSIZE> <nPaperSize> ] ;
[ <lPaperLength : PAPERLENGTH> <nPaperLength> ] ;
[ <lPaperWidth : PAPERWIDTH> <nPaperWidth> ] ;
[ <Log : LOG> ] ;
=> ;
_HMG_HPDF_INIT ( <cPDFFile>, if ( <.lOrientation.> , <nOrientation> , 1 ) , if ( <.lPaperSize.> , <nPaperSize> , 1 ) , if ( <.lPaperLength.> , <nPaperLength> , -999 ) , if ( <.lPaperWidth.> , <nPaperWidth> , -999 ) , <.Log.> )
With hfcl (or hfcl_hmg_hpdf.ch) i can print Euro Sign in a text?
Code: Select all
var1:=test->note // "I would like print € (euro) sign in PDF"
@ 20,20 PRINT var1
I test with "old" hmg_hpdf.ch with
SET PRINTDOC ENCODING TO "WinAnsiEncoding"
or
SET PRINTDOC ENCODING TO "FontSpecific"
but nothing.
HMGFORUM: a great forum with great and professional international members!
Thank you for existing!
Edit: I look HB_UTF8TOSTR

I use the great HMG3.2(stable). Have i nice international HMG to everyone!