Page 1 of 1
problem with create pdf, help
Posted: Fri Dec 13, 2013 11:14 am
by dragancesu
I'm trying to create a report in pdf format and fail, it's probably a small mistake that I can't see
If someone has the time to look and point me to the error being grateful
In attacment is the program and data
thank you
Re: problem with create pdf, help
Posted: Fri Dec 13, 2013 12:07 pm
by serge_girard
Dragan,
Try this first:
in your program:
#include "hmg_hpdf.ch"
in configuration:
inc=yes
head=native
libs=libhpdf
Greetings, Serge
Re: problem with create pdf, help
Posted: Fri Dec 13, 2013 10:56 pm
by dragancesu
I've tried the new version 3.2, an example of the \hmg\hfcl\Samples\hmghpfdoc , library libhpdf inserted into the system
Simple programs of works, but this will not
Re: problem with create pdf, help
Posted: Sat Dec 14, 2013 2:54 am
by andyglezl
Hello dragancesu
All you have 'FONT' Courier 'SIZE 12 ", change it to" FONT' Courier 'SIZE 14 ".
or Take off "FONT 'Courier'"
-------------------------------------------------------------------------------
Hola dragancesu
Todo lo que tengas "FONT 'Courier' SIZE 12", cambialo por "FONT 'Courier' SIZE 14".
o quitale "FONT 'Courier' "
-------------------------------------------------------------------------------
@..HPDFPRINT
This command is used to render a single line of text data in the specified font, size, color and
alignment at the specified row and column. The text rendered is left aligned unless otherwise
specified. Only following Base14 fonts are built-in. Courier, Courier-Bold, Courier-Oblique,
Courier-BoldOblique, Helvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique,
Times-Roman, Times-Bold, Times-Italic, Times-BoldItalic, Symbol, ZapfDingbats. The text will be
rendered in the current character encoding.
Helvetica is the default font if no fontname is specified. Default fontsize is 12.
True Type Fonts can also be used if the absolute address of the True Type Font file is mentioned.
Otherwise the TTF shall be required at the runtime in the same directory as of the executable file.
Re: problem with create pdf, help
Posted: Sat Dec 14, 2013 7:06 am
by dragancesu
Thank you very much