Search found 124 matches

by edk
Wed Aug 23, 2017 11:44 am
Forum: General
Topic: HPDFPRINT UNICODE Background color
Replies: 2
Views: 71

Re: HPDFPRINT UNICODE Background color

Hi. In fact, the UNICODE text in HPDF is a graphic. See function _HMG_HPDF_MULTILINE_PRINT_UNICODE() in the source "h_HMG_HPDF_UNICODE.PRG" The background color of the image is set to WHITE rigidly. You can try to do your own function based on this source to add an additional parameter as the backgr...
by edk
Tue Aug 22, 2017 7:47 pm
Forum: General Discussions
Topic: Happy Birthday to Zoltan !
Replies: 12
Views: 169

Re: Happy Birthday to Zoltan !

by edk
Mon Aug 21, 2017 9:30 pm
Forum: HMG Unicode version
Topic: Barcodes in PDF without saving to file.
Replies: 14
Views: 522

Re: Barcodes in PDF without saving to file.

Hi Νίκος. Hi Edward, Angel, It is possible to write a little complete example in PDF with code128 and text "12345678" ? regards, Νίκος Here is an sample (made in a rush) ;) . I hope it will be helpful. #include "hmg.ch" Function Main() SELECT HPDFDOC "sample.pdf" PAPERLENGTH 300 PAPERWIDTH 300 LOG S...
by edk
Sun Aug 13, 2017 3:01 pm
Forum: HMG Unicode version
Topic: Barcodes in PDF without saving to file.
Replies: 14
Views: 522

Re: Barcodes in PDF without saving to file.

Hello Nikos, I'm on a fortnightly vacation, happily without a PC. When I get back to work and clean up the mess, I'll prepare an example.
Edward
by edk
Sun Aug 13, 2017 2:50 pm
Forum: General Discussions
Topic: Happy birthday Marek
Replies: 24
Views: 328

Re: Happy birthday Marek

Sto lat, Marku.
by edk
Sat Aug 05, 2017 6:20 am
Forum: HMG Unicode version
Topic: Barcodes in PDF without saving to file.
Replies: 14
Views: 522

Re: Barcodes in PDF without saving to file.

This is an extract from rqpdf utility by Mario Wanstandic... FUNCTION QPDF_Draw_Zebra( nLin, nCol, nWidth, nHeight, cCode, nZebraType, nZebraFlag ) hb_Default( @nZebraType, HB_ZEBRA_TYPE_CODE128 ) ///////////////////////////////////////////////////////////////////////////// // Create the barcode ha...
by edk
Fri Aug 04, 2017 7:14 pm
Forum: HMG Unicode version
Topic: Barcodes in PDF without saving to file.
Replies: 14
Views: 522

Re: Barcodes in PDF without saving to file.

Dear Eduardo, thank you for your post.

I know how to create QRcode using png file.
I'm looking for solutions how to do it without creating png file ;)

Edward.
by edk
Fri Aug 04, 2017 12:26 pm
Forum: HMG Unicode version
Topic: Barcodes in PDF without saving to file.
Replies: 14
Views: 522

Barcodes in PDF without saving to file.

Hello. I need to make a PDF file that will have plenty of EAN and QR codes. I can do this in a classic way by writing the generated code from HMG_Zebra to a .png file and inserting it into a HPDFDOC by loading this file. But this causes a lot of writes, reads and deletes on the HDD. I tried using HP...
by edk
Wed Jul 26, 2017 10:34 am
Forum: HMG General Help
Topic: SFTP upload
Replies: 8
Views: 254

Re: SFTP upload

Hello, Yes, it works with CURL. I've been trying for more than a year. fm:="test" If ! Empty( curl := curl_easy_init() ) hb_default( @cUL, "sftp://demo:demo@ftp-server.demo.solarwinds.com/upload/TEST.TXT" ) curl_easy_setopt( curl, HB_CURLOPT_URL, cUL ) curl_easy_setopt( curl, HB_CURLOPT_UPLOAD) cur...
by edk
Tue Jul 25, 2017 9:57 pm
Forum: HMG General Help
Topic: SFTP upload
Replies: 8
Views: 254

Re: SFTP upload

I think this is possible using hbcUrl lib.
https://harbour.github.io/contribs
https://curl.haxx.se/libcurl/