MR-Print: Harbour Print System (array, txt, prn, dbf => pdf)

Issues and Discussions related to Harbour

Moderator: Rathinagiri

User avatar
IMATECH
Posts: 167
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Re: MR_Print: Harbour Print System (array, txt, prn, dbf =>

Post by IMATECH » Sun Oct 28, 2012 10:14 pm

//*----------------------------------------------------------------------------*
//
// M., Ronaldo: Harbour Print System
//
// Class: MR_Print
//
// Uses: hbHPdf, hbZebra, hbCT and hbMisc
//
//*----------------------------------------------------------------------------*
2012/10/28: Updated

Now we can draw rectangles:

Added Method: Draw_Box( x, y, w, h, nPenSize, aColor, nType )

aColor := { r, g, b }

nType values
1 - Only Frame
2 - Fill rectangle with aColor
3 - Frame + Fill rectangle with aColor
.
.
.
Best regards...
M., Ronaldo

By: IMATECH

Imation Tecnologia

User avatar
Rathinagiri
Posts: 5181
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 141 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Mon Oct 29, 2012 2:34 am

Thanks a lot Ronaldo.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
IMATECH
Posts: 167
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Post by IMATECH » Wed Nov 21, 2012 8:15 pm

//*----------------------------------------------------------------------------*
//
// M., Ronaldo: Harbour Print System
//
// Class: MR_Print
//
// Uses: hbHPdf, hbZebra, hbCT and hbMisc
//
//*----------------------------------------------------------------------------*
2012/11/21: Updated
Now we can print formated text, aligned at: Left, Right, Center and Justified ( see the sample or demo file )
*** Links on the 1st post :)


Added:
Method Draw_Text_Formated( nLeft, nTop, nMaxRight, nMaxBottom, cTxt, oFont, nFontSize, nAlign, nColor )

nAlign ( Alingnment )
1 - Left
2 - Right
3 - Center
4 - Justify

nColor ( Text Color )
0 - Black
1 - Red
2 - Green
3 - Blue
.
.
.
Best regards...
M., Ronaldo

By: IMATECH

Imation Tecnologia


User avatar
IMATECH
Posts: 167
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Post by IMATECH » Thu Nov 22, 2012 2:49 pm

Thanks to Rathinagiri and Mol :P


Best regards...
M., Ronaldo

By: IMATECH

Imation Tecnologia

User avatar
santy
Posts: 60
Joined: Tue Sep 25, 2012 11:19 am
Location: Ukraine, Lviv
Contact:

Post by santy » Thu Nov 22, 2012 3:26 pm

Many thanks,
Very good work :)
Best regards,
Oleksandr Antypenko
xHarbour 1.2.3 , Harbour 3.x + Mingw 4.x (HMG, minigui)
https://bitbucket.org/aantypenko
https://github.com/aantypenko

User avatar
danielmaximiliano
Posts: 2051
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 89 times
Been thanked: 12 times
Contact:

Post by danielmaximiliano » Thu Nov 22, 2012 4:01 pm

Ola Ronaldo:

Obrigado por compartilhar seus desenvolvimentos
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
IMATECH
Posts: 167
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Post by IMATECH » Thu Nov 22, 2012 9:43 pm

Thanks Daniel and Santy :D


Best regards...
M., Ronaldo

By: IMATECH

Imation Tecnologia

User avatar
Hazael
Posts: 109
Joined: Thu Jun 24, 2010 11:37 am
Location: France

Post by Hazael » Mon Jun 10, 2013 8:44 am

Hello M., Ronaldo,

Thanks for sharing. Very nice
Harbour | GTWVT | MingW | Visual Studio Code

User avatar
IMATECH
Posts: 167
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Post by IMATECH » Mon Jun 10, 2013 4:58 pm

Thanks Qatan :D


Best regards...
M., Ronaldo

By: IMATECH

Imation Tecnologia

Post Reply