Page 2 of 3

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

Posted: Sun Oct 28, 2012 10:14 pm
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...

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

Posted: Mon Oct 29, 2012 2:34 am
by Rathinagiri
Thanks a lot Ronaldo.

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

Posted: Wed Nov 21, 2012 8:15 pm
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...

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

Posted: Thu Nov 22, 2012 8:05 am
by mol
very nice work!
Thx for sharing!

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

Posted: Thu Nov 22, 2012 2:49 pm
by IMATECH
Thanks to Rathinagiri and Mol :P


Best regards...

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

Posted: Thu Nov 22, 2012 3:26 pm
by santy
Many thanks,
Very good work :)

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

Posted: Thu Nov 22, 2012 4:01 pm
by danielmaximiliano
Ola Ronaldo:

Obrigado por compartilhar seus desenvolvimentos

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

Posted: Thu Nov 22, 2012 9:43 pm
by IMATECH
Thanks Daniel and Santy :D


Best regards...

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

Posted: Mon Jun 10, 2013 8:44 am
by Hazael
Hello M., Ronaldo,

Thanks for sharing. Very nice

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

Posted: Mon Jun 10, 2013 4:58 pm
by IMATECH
Thanks Qatan :D


Best regards...