Search found 161 matches

by edk
Sat Oct 14, 2017 7:33 am
Forum: HMG Wishlist
Topic: REVISION OF GRID/BROWSE
Replies: 41
Views: 7681

Re: REVISION OF GRID/BROWSE

Try to use Timer and memory(). Parameters of memory(): https://github.com/harbour/core/blob/ma ... bmemory.ch
Also you can look at https://harbour.github.io/doc/harbour.h ... collectall
by edk
Thu Oct 12, 2017 8:45 pm
Forum: HMG General Help
Topic: Screen Share
Replies: 2
Views: 110

Re: Screen Share

I personally use Chrome Remote Desktop. For now it is free :)
It is over NAT, and you can unattended to capture a remote computer.

There is also LibVNCServer / LibVNCClient: https://libvnc.github.io/
But I can not handle it with Harbour.
by edk
Thu Oct 12, 2017 11:55 am
Forum: HMG General Help
Topic: HB_SENDMAIL from-parameter
Replies: 4
Views: 153

Re: HB_SENDMAIL from-parameter

Serge, maybe try to set: cFrom := " Serge <myname@myhost.be>" where: Serge is a friendly account name; <myname@myhost.be> to the e-mail address to reply. Or cFrom := "Serge" cReplyTo :="myname@myhost.be" Where: cReplyTo is the nineteenth parameter of hb_sendmail() hb_SendMail( ; cServer, ; Val( cPor...
by edk
Wed Oct 11, 2017 4:41 pm
Forum: PDF Generation
Topic: pdf grid
Replies: 16
Views: 482

Re: pdf grid

Brawo Ty :D
by edk
Wed Oct 11, 2017 12:53 pm
Forum: HMG Wishlist
Topic: REVISION OF GRID/BROWSE
Replies: 41
Views: 7681

Re: REVISION OF GRID/BROWSE

Gabor.
Try to use this patch:
hmg.3.4.4-patch.7z
(2.84 KiB) Downloaded 24 times
Follow the instructions: http://www.hmgforum.com/viewtopic.php?p=50218#p50218
by edk
Fri Oct 06, 2017 3:59 pm
Forum: PDF Generation
Topic: pdf grid
Replies: 16
Views: 482

Re: pdf grid

It should be in Ansi. I think Jair was about the word "Mínimo:" as UTF8 in prg, which show as "MÃ-nimo" in PDF Ansi. In the example I showed both words. If you save prg in UTF8, then in PDF you will see MÃ-nimo instead of Mínimo (second word) Maybe this will be helpful for PDF in UTF8 https://github...
by edk
Fri Oct 06, 2017 2:21 pm
Forum: PDF Generation
Topic: pdf grid
Replies: 16
Views: 482

Re: pdf grid

I don't see the problem with accents: #include "hmg.ch" Function Main() Local i SELECT HPDFDOC "sample.pdf" ORIENTATION HPDF_ORIENT_LANDSCAPE PAPERSIZE HPDF_PAPER_A4 SET HPDFDOC ENCODING TO "WinAnsiEncoding" START HPDFDOC START HPDFPAGE print_grid( 400, 150, 160, 200, 5, 5, 20 , 20 , 10 , 10 ) HPDF_...
by edk
Thu Oct 05, 2017 7:59 pm
Forum: PDF Generation
Topic: pdf grid
Replies: 16
Views: 482

Re: pdf grid

You need to do: HPDF_GetFont gets the handle of a corresponding font object by specified name and encoding . Local cEncoding := _HMG_SYSDATA[ 150 ] [ 10 ] //Value of "SET HPDFDOC ENCODING TO". "SET HPDFDOC ENCODING TO" set _HMG_HPDF_SetEncoding font := HPDF_GetFont (pdf, "Helvetica", cEncoding) Good...
by edk
Tue Oct 03, 2017 8:59 pm
Forum: PDF Generation
Topic: pdf grid
Replies: 16
Views: 482

Re: pdf grid

Haru Pdf is based on pixels for default resolution 72dpi. Also note the coordinates that are different from HMG HPDF. http://libharu.sourceforge.net/graphics.html So 210mm is: 210/25.4 * 72 = 595,275591 px and 297mm is: 297/25.4 * 72 = 841,889764 px Look at grid on page 1. At sample on page 2, value...
by edk
Tue Oct 03, 2017 5:24 pm
Forum: PDF Generation
Topic: pdf grid
Replies: 16
Views: 482

Re: pdf grid

Here you are, anything else :?: #include "hmg.ch" Function Main() Local i, lSuccess SELECT HPDFDOC "sample.pdf" TO lSuccess ORIENTATION HPDF_ORIENT_LANDSCAPE PAPERSIZE HPDF_PAPER_A4 SET HPDFDOC ENCODING TO "WinAnsiEncoding" START HPDFDOC START HPDFPAGE print_grid( 0, 0, HPDF_Page_GetHeight (_HMG_SYS...