FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to Draw Box, Rectange and print BMP ?
Posts: 115
Joined: Mon Oct 17, 2005 04:42 AM

How to Draw Box, Rectange and print BMP ?

Posted: Wed Mar 08, 2006 03:15 PM

Hello,

I have to draw round boxes / rectangle and print BMP on an invoice. How can I do the same ? I used to achieve the same using Win32Prn() in xHarbour.

I could not find the solution in samples\Reports.

Can somebody guide me ?

TIA
Milan.

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

How to Draw Box, Rectange and print BMP ?

Posted: Wed Mar 08, 2006 04:29 PM

Milan,

Have you looked at the FW sample reports in \samples\reports\?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: How to Draw Box, Rectange and print BMP ?

Posted: Wed Mar 08, 2006 04:35 PM

For boxes:

TPrinter:Box() and TPrinter:RoundBox() methods.

For BMP:

TPrinter:SayBitmap() method.

EMG

Continue the discussion