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

Issues and Discussions related to Harbour

Moderator: Rathinagiri

User avatar
IMATECH
Posts: 188
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 »

//*----------------------------------------------------------------------------*
//
// 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: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

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: 188
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 »

//*----------------------------------------------------------------------------*
//
// 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: 188
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 »

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:

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

Post by santy »

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: 2607
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

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

Post by danielmaximiliano »

Ola Ronaldo:

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
IMATECH
Posts: 188
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 »

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

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

Post by Hazael »

Hello M., Ronaldo,

Thanks for sharing. Very nice
Harbour | GTWVT | MingW | Visual Studio Code
User avatar
IMATECH
Posts: 188
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 »

Thanks Qatan :D


Best regards...
M., Ronaldo

By: IMATECH

Imation Tecnologia
Post Reply