Happy Three Kings!

Happy Three Kings!

Postby Carlos Mora » Fri Jan 06, 2017 12:19 pm

Hi! Not sure the Three Kings Festivitity meaning has in other cultures, but in Hispanic American culture is a day where "good boys" receive gifts from relatives, remembering the Three Kings adoration to the newborn Jesus.

I'm pretty sure you have been "good boys", so, as a gift, let me say you thanks for all the help I've received over this years and share with all of you something that I think can be useful. I'm opening a project in Bitbucket for THaruPrinter, in some way a 90% replacement for FiveWin's Tprinter class that, using the HaruPdf library as engine, let you to generate pure code pdfs without using nothing more than your program. It doesn't requires anything but including the libraries into your project, it can be used in console programs too.
The readme is written in spanish, I'll try to translate it to english ASAP.

You will find 100% of the code in the BitBucket's project: https://bitbucket.org/carlos_mora/pdfprinter .

Soon I'll add some samples so it will help to use in your programs.

All corrections, sugestions and advices are welcome. Hope your code can benefit from it and improve your work.

Kind regards
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
 
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: Happy Three Kings!

Postby Carlos Mora » Fri Jan 06, 2017 1:06 pm

Uploaded sample code and generated pdf: viewtopic.php?f=6&t=33439&p=197146#p197148
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
 
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: Happy Three Kings!

Postby Enrico Maria Giordano » Fri Jan 06, 2017 2:31 pm

Carlos Mora wrote:Hi! Not sure the Three Kings Festivitity meaning has in other cultures, but in Hispanic American culture is a day where "good boys" receive gifts from relatives, remembering the Three Kings adoration to the newborn Jesus.


Here in Italia we called it "Epifania". The character of "Befana" (a sort of good witch), riding her besom, brings the gifts to the good boys. :-)

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Happy Three Kings!

Postby TimStone » Fri Jan 06, 2017 4:16 pm

Thanks for sharing this story. I love hearing about local traditions. My only question ... are there no "good girls"?

At this time of year we celebrate many special holidays. I hope everyone in this forum is blessed with a wonderful time of celebration. The good will of everyone here is wonderful, and I appreciate it.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Happy Three Kings!

Postby Enrico Maria Giordano » Fri Jan 06, 2017 5:14 pm

TimStone wrote:Thanks for sharing this story. I love hearing about local traditions. My only question ... are there no "good girls"?


Of course!

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Happy Three Kings!

Postby Carlos Mora » Fri Jan 06, 2017 7:05 pm

TimStone wrote:Thanks for sharing this story. I love hearing about local traditions. My only question ... are there no "good girls"?

Haha, it's just my _bad_ english, my apologizes. I don't know how to say "good boys and girls" properly... May be "good kids"? I don't know, it doesnt' sounds usual to my inexpert ear, at least not as usual as "good boys" or "good girls". We the spanish speakers usually make this mistakes because in most cases the male plural is applied when refered to both genders, with the exception of those cases where the nouns are significantly different depending in the gender, like in "damas y caballeros" (ladies and gentlemens). In the case of "kids", translated as "niños" o "chicos", are both correct form of the both gender comprehensive plural.
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
 
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: Happy Three Kings!

Postby Enrico Maria Giordano » Fri Jan 06, 2017 7:09 pm

In italian too. We use "ragazzi" (boys) for "boys" or "boys and girls", while "ragazze" is for "girls".

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Happy Three Kings!

Postby Carlos Mora » Fri Jan 06, 2017 7:34 pm

A complete sample, console mode so you can try what can be done and how to do it:

- Fast generation
- Standalone solution, no need of even a sigle DLL or virtual printer required
- Optional protection with password, owner and user mode.
- Highly optimized PDF.
- GUI independent code

https://drive.google.com/open?id=0B3uWe ... k9pZEdNR0k

The zip contains a complete project for XEdit, and all the required files to build it.

Carlos
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
 
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 104 guests