lines

Post Reply
jds
Posts: 106
Joined: Sat Dec 05, 2009 12:44 pm

lines

Post by jds »

How can I print horizontal and vertical lines in the tickness I want?
Please a simple solution if it exists, I am a non professional...
Thanks
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: lines

Post by Silvio.Falconi »

small sample

Code: Select all


function ViewInvoice( oBrw )

   local oPrn,oPen

PRINT oPrn NAME "INVOICE" PREVIEW 
DEFINE PEN oPen WIDTH 11
 PAGE
  oPrn:CmBox( 23.40, 2.20, 27.20, 20.15, oPen )
         oPrn:CmLine( 24.00, 2.20, 24.00, 20.15, oPen )
 ENDPAGE
 ENDPRINT
 oPen:End()
return nil
to better construct an invoice I suggest you to use a graph paper with measures in millimeters ad this

Image



I suggest to you to create it on winword

Image


and then draw on it

Image
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
jds
Posts: 106
Joined: Sat Dec 05, 2009 12:44 pm

Re: lines

Post by jds »

Thanks to Silvio !
Post Reply